application: config_snapshots, admin, providers, iptv

This commit is contained in:
2026-07-12 02:14:07 +02:00
parent ebf0614fdf
commit 466d34b5d0
37 changed files with 895 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
use uuid::Uuid;
/// Save a snapshot of the channel's current config.
pub struct SaveSnapshotCommand {
pub channel_id: Uuid,
pub label: Option<String>,
}
/// Update the label on an existing snapshot.
pub struct PatchLabelCommand {
pub channel_id: Uuid,
pub snapshot_id: Uuid,
pub label: Option<String>,
}
/// Restore a channel's config from a snapshot.
pub struct RestoreSnapshotCommand {
pub channel_id: Uuid,
pub snapshot_id: Uuid,
}