application: channels bounded context

CQRS use cases (create/update/delete/get/list/list_by_owner),
ownership checks, auto-snapshot on config change.
Channel setters added to domain model.
This commit is contained in:
2026-07-12 01:57:38 +02:00
parent 2976600d12
commit 6fd47f2d93
18 changed files with 909 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
use uuid::Uuid;
/// Fetch a single channel by ID.
pub struct GetChannelQuery {
pub channel_id: Uuid,
}
/// List all channels.
pub struct ListChannelsQuery;
/// List channels belonging to a specific owner.
pub struct ListByOwnerQuery {
pub owner_id: Uuid,
}