collapse 20 pass-through use cases; handlers call ports directly
delete get/list/list_by_owner channels, get_settings/activity_log admin, get_item/get_sync_status/list_collections/list_seasons/list_shows/list_genres library, get/list/delete providers, get/list/patch_label config_snapshots, get_active/list_history/delete_after schedule — all single-delegation. remove ChannelQueryDeps, LibraryQueryDeps, deleted query/command structs. add direct port fields to AppState. update MCP crate accordingly.
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
pub mod commands;
|
||||
pub mod delete_after;
|
||||
pub mod deps;
|
||||
pub mod generate;
|
||||
pub mod get_active;
|
||||
pub mod get_current_broadcast;
|
||||
pub mod get_epg;
|
||||
pub mod get_stream_url;
|
||||
pub mod list_history;
|
||||
pub mod queries;
|
||||
|
||||
pub use commands::{DeleteSchedulesAfterCommand, GenerateScheduleCommand};
|
||||
pub use commands::GenerateScheduleCommand;
|
||||
pub use deps::ScheduleDeps;
|
||||
pub use queries::{
|
||||
GetActiveScheduleQuery, GetCurrentBroadcastQuery, GetEpgQuery, GetStreamUrlQuery,
|
||||
ListHistoryQuery,
|
||||
};
|
||||
pub use queries::{GetCurrentBroadcastQuery, GetEpgQuery, GetStreamUrlQuery};
|
||||
|
||||
Reference in New Issue
Block a user