- Updated HackathonTimelineCreateRequestDto to accept optional title and name fields. - Added custom validators for HackathonPhase and date checks in hackathon_dto.rs. - Implemented admin-sensitive data management DTOs for handling user scores and personal info. - Introduced new admin routes for managing users, roles, and permissions in IAM module. - Added timeline enforcement middleware to restrict access based on hackathon phases. - Created tests for timeline enforcement and admin permissions to ensure proper access control. - Implemented payment middleware as a placeholder for future payment processing logic. - Enhanced audit logging middleware for improved error handling and logging.
21 lines
477 B
Rust
21 lines
477 B
Rust
pub mod v1;
|
|
|
|
// Re-export core entity types used across the hackathon system
|
|
pub use imphnen_entities::{
|
|
CountResult,
|
|
Error,
|
|
ErrorDto,
|
|
MessageResponseDto,
|
|
MetaRequestDto,
|
|
MetaResponseDto,
|
|
ResponseListSuccessDto,
|
|
ResponseSuccessDto,
|
|
};
|
|
|
|
// Explicitly import only what we need from libs and utils to avoid pollution
|
|
pub use imphnen_libs::{
|
|
AppState,
|
|
};
|
|
|
|
// Re-export public v1 API
|
|
pub use v1::hackathon::hackathon_controller::hackathon_routes; |