feat: advance local-first conflict and search indexing
- 补齐本地 markdown 冲突处理与合并写回路径\n- 增加本地搜索索引路由、刷新与 browser smoke\n- 同步更新 current-priority checklist 的阶段进度
This commit is contained in:
@@ -13,6 +13,7 @@ mod kernel;
|
||||
mod local_folder_events;
|
||||
mod local_folder_source;
|
||||
mod local_markdown_parser;
|
||||
mod local_search_index;
|
||||
mod media;
|
||||
mod mindmap_api;
|
||||
mod mindmap_shell;
|
||||
@@ -89,6 +90,18 @@ pub fn build_router(state: AppState) -> Router {
|
||||
get(web_shell::editor_image_placeholder_asset),
|
||||
)
|
||||
.route("/api/search/documents", post(search::documents))
|
||||
.route(
|
||||
"/api/search/local-index/refresh",
|
||||
post(search::refresh_local_index),
|
||||
)
|
||||
.route(
|
||||
"/api/search/local-index/backlinks",
|
||||
get(search::local_index_backlinks),
|
||||
)
|
||||
.route(
|
||||
"/api/search/local-index/tags",
|
||||
get(search::local_index_tags),
|
||||
)
|
||||
.route("/api/gateway/health", get(gateway::gateway_health))
|
||||
.route("/api/dev/hot-reload", get(dev_hot::hot_reload))
|
||||
.route("/api/runtime/config", get(session::runtime_config))
|
||||
|
||||
Reference in New Issue
Block a user