mod.rs 40 lignes · 1293 octets
//! Data Transfer Objects (DTOs)

/// DTOs for admin endpoints (users, roles, settings).
pub mod admin_dto;
/// DTOs for authentication endpoints (login, refresh, me).
pub mod auth_dto;
/// DTOs for breadcrumb navigation rendering.
pub mod breadcrumb_dto;
/// DTO for dashboard cards injected by companion crates.
pub mod dashboard_card;

/// DTOs for email delivery status and password-reset flows.
pub mod email_dto;
/// DTOs for the home/dashboard page.
pub mod home_dto;
/// DTOs for navigation menu rendering.
pub mod navigation_dto;
/// DTOs for user settings and preferences.
pub mod settings_dto;
/// DTOs for sidebar rendering.
pub mod sidebar_dto;
/// DTOs for user management endpoints.
pub mod user_dto;
/// DTO for the user profile page.
pub mod user_profile_dto;

pub use admin_dto::{
    AppSettingsResponse, AuditLogStats, DashboardStats, LogsByLevel, UpdateAppSettingsRequest,
    UserInfo as AdminUserInfo, UserListResponse as AdminUserListResponse,
};
pub use auth_dto::*;
pub use breadcrumb_dto::*;
pub use dashboard_card::DashboardCardDTO;
pub use email_dto::*;
pub use home_dto::*;
pub use navigation_dto::*;
pub use settings_dto::{UpdatePreferencesRequest, UserPreferencesResponse};
pub use sidebar_dto::*;
pub use user_dto::*;
pub use user_profile_dto::UserProfileDTO;