refactor(application): strip comments, DRY ownership check + parse_content_type

This commit is contained in:
2026-07-12 04:10:58 +02:00
parent 98a54245b1
commit 9dcd169689
62 changed files with 56 additions and 203 deletions

View File

@@ -1,14 +1,11 @@
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,
}