52840e57df
- Remove Serialize/Deserialize from File, Folder, Session, User, Contact entities - Create contact_persistence_dto.rs for JSONB persistence in infrastructure layer - Update contact_pg_repository to use persistence DTOs - Fix dependency on zip crate (downgrade from 7.2.0 to 2.1.0) - Fix unused variable warnings in main.rs - Move PathService import from domain to infrastructure - Add missing fields to CoreServices and RepositoryServices - Create proper service initialization in main.rs Clean Architecture improvements: - Domain layer no longer depends on serde framework - Persistence concerns isolated to infrastructure layer - TokenClaims in auth_service.rs is only exception (required for JWT)
22 lines
488 B
Rust
22 lines
488 B
Rust
use axum::{
|
|
Router,
|
|
routing::get,
|
|
http::StatusCode,
|
|
response::IntoResponse,
|
|
Json,
|
|
};
|
|
use serde_json::json;
|
|
|
|
use crate::common::di::AppState;
|
|
|
|
// Temporary placeholder implementation
|
|
pub fn caldav_routes() -> Router<AppState> {
|
|
Router::new()
|
|
.route("/placeholder", get(placeholder_handler))
|
|
}
|
|
|
|
async fn placeholder_handler() -> impl IntoResponse {
|
|
(StatusCode::OK, Json(json!({
|
|
"message": "CalDAV functionality is not yet implemented"
|
|
})))
|
|
} |