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)
//! Booth 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::Booth;

pub type BoothTriggerEvent      = TriggerEvent;
pub type BoothTriggerContext    = TriggerContext<Booth>;
pub type BoothTriggerContextMut = TriggerContextMut<Booth>;
pub type BoothActionExecutor    = ActionExecutor;
pub type BoothTriggerRegistry   = TriggerRegistry<Booth>;
pub type BoothTriggerHandlerObj =
    dyn TriggerHandler<TriggerContext<Booth>, TriggerEvent>;

// State machine trigger handlers

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