feat: 收口 mindmap Phase 6 Leptos UI shell

This commit is contained in:
lix-2026
2026-05-11 12:27:40 +08:00
parent b7dddd2a66
commit b5eb27fabc
51 changed files with 8669 additions and 1313 deletions
+5
View File
@@ -11,6 +11,7 @@ mod local_folder_source;
mod local_folder_events;
mod local_markdown_parser;
mod media;
mod mindmap_api;
mod mindmap_shell;
mod onlyoffice;
mod query_support;
@@ -42,6 +43,10 @@ pub fn build_router(state: AppState) -> Router {
"/mindmap/{doc_id}/{mindmap_id}",
get(mindmap_shell::mindmap_object_shell),
)
.route(
"/api/mindmap/{doc_id}/{mindmap_id}",
get(mindmap_api::get_mindmap).post(mindmap_api::apply_mindmap_command),
)
.route(
"/documents/{document_id}",
get(web_shell::document_page_shell),