Move all search related impl to worker

This commit also introduced a new ns `frontend.db.async` for
async queries.
This commit is contained in:
Tienson Qin
2023-12-25 14:32:28 +08:00
parent e6a464e64f
commit b134954e2c
32 changed files with 967 additions and 756 deletions

View File

@@ -30,8 +30,8 @@
[frontend.db.model
delete-blocks get-pre-block
delete-files delete-pages-by-files get-all-block-contents get-all-tagged-pages get-single-block-contents
get-all-templates get-block-and-children get-block-by-uuid get-block-children sort-by-left
delete-files delete-pages-by-files get-all-tagged-pages
get-block-and-children get-block-by-uuid get-block-children sort-by-left
get-block-parent get-block-parents parents-collapsed? get-block-referenced-blocks get-all-referenced-blocks-uuid
get-block-immediate-children get-block-page
get-custom-css get-date-scheduled-or-deadlines
@@ -40,7 +40,7 @@
get-latest-journals get-page get-page-alias get-page-alias-names
get-page-blocks-count get-page-blocks-no-cache get-page-file get-page-format get-page-properties
get-page-referenced-blocks get-page-referenced-blocks-full get-page-referenced-pages get-page-unlinked-references
get-all-pages get-pages get-pages-relation get-pages-that-mentioned-page get-tag-pages
get-all-pages get-pages-relation get-pages-that-mentioned-page get-tag-pages
journal-page? page-alias-set sub-block
set-file-last-modified-at! page-empty? page-exists? page-empty-or-dummy? get-alias-source-page
set-file-content! has-children? get-namespace-pages get-all-namespace-relation get-pages-by-name-partition