backbone-events 0.3.30

Events core + the sale/booth/crm/sms/desk overlay — registrations under one authoritative seat counter, the sale seam (order-minted registrations, forward-only paid heal, SO-cancel mirror cascade), booth bookings with the DB exclusivity wall, closed-vocabulary lead rules through a host sink port, the dual-channel (mail/sms) self-arming scheduler, and the exact-match desk verb (Odoo event port, core + overlay)
//! Registration trigger handlers
//!
//! Auto-generated by backbone-cli. Do not edit manually.

use std::sync::Arc;
use async_trait::async_trait;
use backbone_core::trigger::{
    ActionExecutor, TriggerContext, TriggerContextMut, TriggerEvent, TriggerHandler, TriggerRegistry,
};

use crate::domain::entity::Registration;

pub type RegistrationTriggerEvent      = TriggerEvent;
pub type RegistrationTriggerContext    = TriggerContext<Registration>;
pub type RegistrationTriggerContextMut = TriggerContextMut<Registration>;
pub type RegistrationActionExecutor    = ActionExecutor;
pub type RegistrationTriggerRegistry   = TriggerRegistry<Registration>;
pub type RegistrationTriggerHandlerObj =
    dyn TriggerHandler<TriggerContext<Registration>, TriggerEvent>;

// State machine trigger handlers

/// Create a default registry pre-populated with all handlers for Registration.
pub fn registration_trigger_registry() -> RegistrationTriggerRegistry {
    TriggerRegistry::build(|r| {
    })
}