🎨 Support listing for invalid block references in the search dialog https://github.com/siyuan-note/siyuan/issues/10396

This commit is contained in:
Daniel 2024-02-26 11:16:36 +08:00
parent 892d166acf
commit a02ed0b5cc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 164 additions and 0 deletions

View file

@ -158,6 +158,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/search/findReplace", model.CheckAuth, findReplace)
ginServer.Handle("POST", "/api/search/fullTextSearchAssetContent", model.CheckAuth, fullTextSearchAssetContent)
ginServer.Handle("POST", "/api/search/getAssetContent", model.CheckAuth, getAssetContent)
ginServer.Handle("POST", "/api/search/listInvalidBlockRefs", model.CheckAuth, listInvalidBlockRefs)
ginServer.Handle("POST", "/api/block/getBlockInfo", model.CheckAuth, getBlockInfo)
ginServer.Handle("POST", "/api/block/getBlockDOM", model.CheckAuth, getBlockDOM)