use std::sync::Arc;
use async_trait::async_trait;
use backbone_core::trigger::{
ActionExecutor, TriggerContext, TriggerContextMut, TriggerEvent, TriggerHandler, TriggerRegistry,
};
use crate::domain::entity::MailNotification;
pub type MailNotificationTriggerEvent = TriggerEvent;
pub type MailNotificationTriggerContext = TriggerContext<MailNotification>;
pub type MailNotificationTriggerContextMut = TriggerContextMut<MailNotification>;
pub type MailNotificationActionExecutor = ActionExecutor;
pub type MailNotificationTriggerRegistry = TriggerRegistry<MailNotification>;
pub type MailNotificationTriggerHandlerObj =
dyn TriggerHandler<TriggerContext<MailNotification>, TriggerEvent>;
pub fn mail_notification_trigger_registry() -> MailNotificationTriggerRegistry {
TriggerRegistry::build(|r| {
})
}