application: schedule bounded context

This commit is contained in:
2026-07-12 02:02:23 +02:00
parent 6fd47f2d93
commit ef86a967cd
21 changed files with 608 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
use uuid::Uuid;
/// Generate a new schedule for a channel.
pub struct GenerateScheduleCommand {
pub channel_id: Uuid,
}
/// Delete all schedules with generation > target_generation for a channel.
pub struct DeleteSchedulesAfterCommand {
pub channel_id: Uuid,
pub target_generation: u32,
}