backbone-mail 0.2.32

Odoo mail core port — message/notification/followers/activity/alias/sms queue (schema: messaging)
//! Domain events for MailFollowers entity
//!
//! Generated by metaphor-schema. Do not edit manually.

use backbone_messaging::CrudEvent;
use crate::domain::entity::MailFollowers;

/// Domain events for MailFollowers — type alias over the generic CrudEvent.
///
/// To add entity-specific events, replace this alias with a wrapper
/// enum containing a `Crud(CrudEvent<MailFollowers>)` variant.
pub type MailFollowersEvent = CrudEvent<MailFollowers>;

// <<< CUSTOM
// END CUSTOM

use backbone_messaging::{CrudEventPublisher, NoOpCrudEventPublisher};
use std::sync::Arc;

/// Publisher alias for MailFollowers events.
pub type MailFollowersEventPublisher = Arc<dyn CrudEventPublisher<MailFollowers> + Send + Sync>;

/// No-op publisher — discards events silently (useful in tests).
pub type NoopMailFollowersEventPublisher = NoOpCrudEventPublisher<MailFollowers>;