31 lines
738 B
Rust
31 lines
738 B
Rust
use std::sync::Arc;
|
|
|
|
use domain::ports::{EventPublisher, WrapUpRepository, WrapUpStatsQuery};
|
|
|
|
pub struct HandleWrapUpRequestedDeps {
|
|
pub wrapup_repo: Arc<dyn WrapUpRepository>,
|
|
pub event_publisher: Arc<dyn EventPublisher>,
|
|
pub wrapup_stats: Arc<dyn WrapUpStatsQuery>,
|
|
}
|
|
|
|
pub struct GetReadyReportDeps {
|
|
pub wrapup_repo: Arc<dyn WrapUpRepository>,
|
|
}
|
|
|
|
pub struct DeleteWrapUpDeps {
|
|
pub wrapup_repo: Arc<dyn WrapUpRepository>,
|
|
}
|
|
|
|
pub struct GenerateWrapUpDeps {
|
|
pub wrapup_repo: Arc<dyn WrapUpRepository>,
|
|
pub event_publisher: Arc<dyn EventPublisher>,
|
|
}
|
|
|
|
pub struct GetWrapUpDeps {
|
|
pub wrapup_repo: Arc<dyn WrapUpRepository>,
|
|
}
|
|
|
|
pub struct ListWrapUpsDeps {
|
|
pub wrapup_repo: Arc<dyn WrapUpRepository>,
|
|
}
|