//! Domain events for UploadSession entity
//!
//! Generated by metaphor-schema. Do not edit manually.
use backbone_messaging::CrudEvent;
use crate::domain::entity::UploadSession;
/// Domain events for UploadSession — type alias over the generic CrudEvent.
///
/// To add entity-specific events, replace this alias with a wrapper
/// enum containing a `Crud(CrudEvent<UploadSession>)` variant.
pub type UploadSessionEvent = CrudEvent<UploadSession>;
// <<< CUSTOM
// END CUSTOM
use backbone_messaging::{CrudEventPublisher, NoOpCrudEventPublisher};
use std::sync::Arc;
/// Publisher alias for UploadSession events.
pub type UploadSessionEventPublisher = Arc<dyn CrudEventPublisher<UploadSession> + Send + Sync>;
/// No-op publisher — discards events silently (useful in tests).
pub type NoopUploadSessionEventPublisher = NoOpCrudEventPublisher<UploadSession>;