Menu
Public repository / 342ea338b731278e6ac4ec8d95ea5ee39f982d74
AkurAI-Notes / crates/notes-api/src/handlers/timeline.rs
Latest change 3f3c3218239131fdc60fb9196283c9a0162898a9 - E04: notes-core entities + CRUD handlers + collections schema + seed data by Claude Code
use crate::handlers::RouteHandler;
use crate::router_setup::NotesState;
use akurai_http::{Request, Response};
use std::sync::{Arc, Mutex};
pub fn timeline_route(_state: Arc<Mutex<NotesState>>) -> RouteHandler {
Box::new(move |_req: &Request| -> Response {
// Stub — E05 will implement timeline
let body = r#"{"notes":[]}"#;
Response::ok().with_body("application/json", body.into())
})
}