Files
k-tv/crates/application/src/auth/mod.rs
Gabriel Kaszewski 33b440d297 fix(presentation): extract 12 handler violations to use cases
- TokenService port + JwtTokenService adapter; login/refresh return LoginResult
- delete get_token (dup of login); create_tokens helper removed
- type UpdateChannelRequest schedule_config/recycle_policy (no serde_json::Value)
- update_settings returns updated Vec; handler calls one use case
- config use case in application::config; handler maps DTO only
- SyncStatusEntry moved to api-types w/ From<LibrarySyncLogEntry>
- trigger_sync: Conflict error, drop sync_trigger.send from handler
- UpsertProviderCommand.config accepts Value; serialization in use case
- get_current_broadcast returns BroadcastWithChannel; one call
- get_stream_url resolves broadcast internally; handler single call
2026-07-12 05:28:49 +02:00

12 lines
222 B
Rust

pub mod commands;
pub mod deps;
pub mod login;
pub mod queries;
pub mod refresh;
pub mod register;
pub mod results;
pub use commands::{LoginCommand, RegisterCommand};
pub use deps::AuthDeps;
pub use results::LoginResult;