use axum::Router;
use crate::state::AppState;
mod filesystem;
mod sessions;
mod search;
mod automation;
mod tenants;
pub fn api_routes() -> Router<std::sync::Arc<AppState>> {
Router::new()
.nest("/filesystem", filesystem::routes())
.nest("/sessions", sessions::routes())
.nest("/search", search::routes())
.nest("/automation", automation::routes())
.nest("/tenants", tenants::routes())
}