application: config_snapshots, admin, providers, iptv
This commit is contained in:
12
crates/application/src/config_snapshots/queries.rs
Normal file
12
crates/application/src/config_snapshots/queries.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
/// List all config snapshots for a channel (newest first).
|
||||
pub struct ListSnapshotsQuery {
|
||||
pub channel_id: Uuid,
|
||||
}
|
||||
|
||||
/// Get a specific config snapshot.
|
||||
pub struct GetSnapshotQuery {
|
||||
pub channel_id: Uuid,
|
||||
pub snapshot_id: Uuid,
|
||||
}
|
||||
Reference in New Issue
Block a user