28 lines
692 B
Rust
28 lines
692 B
Rust
pub mod v1;
|
|||
|
|
|
||
|
|
// Re-export core entity types used across the hackathon system
|
||
|
|
pub use imphnen_entities::{
|
||
|
|
CountResult,
|
||
|
|
Error,
|
||
|
|
MessageResponseDto,
|
||
|
|
MetaRequestDto,
|
||
|
|
MetaResponseDto,
|
||
|
|
ResponseListSuccessDto,
|
||
|
|
ResponseSuccessDto,
|
||
|
|
};
|
||
|
|
|
||
|
|
// Error DTO for hackathon module
|
||
|
|
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize, utoipa::ToSchema)]
|
||
|
|
pub struct ErrorDto {
|
||
|
|
pub status: u16,
|
||
|
|
pub message: String,
|
||
|
|
pub details: Option<serde_json::Value>,
|
||
|
|
}
|
||
|
|
|
||
|
|
// 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;
|