Files
k-tv/crates/presentation/src/mappers/mod.rs
Gabriel Kaszewski 56d742a74c presentation: HTTP server crate w/ handlers, routes, background tasks
Axum binary that wires all clean-arch crates together:
- AppState holds pre-built Deps structs (auth, channels, schedule, library, etc.)
- JWT extractors (CurrentUser, AdminUser, OptionalCurrentUser)
- Handlers delegate to application use cases, map to api-types DTOs
- Routes: auth, channels, schedule, library, admin, providers, config, iptv
- Background: auto-scheduler, broadcast poller, webhook consumer, library sync
- Factory builds everything from Config + DbPool
- SimpleProviderRegistry impl of IProviderRegistry trait
- NoopMediaProvider fallback
2026-07-12 03:23:20 +02:00

7 lines
296 B
XML

//! Domain → DTO mappings.
//!
//! Most conversions are already handled by `From` impls in the `api-types` crate.
//! This module is reserved for any presentation-layer-specific mappings that
//! don't belong in `api-types` (e.g., combining multiple domain objects into a
//! single response).