refactor: also mv favorites page into initial create

and mark as built-in since it is
This commit is contained in:
Gabriel Horner
2024-11-14 12:00:14 -05:00
parent cc126c009c
commit 1e128db972
5 changed files with 20 additions and 27 deletions

View File

@@ -194,7 +194,7 @@
(is (= 3 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Query]] @conn))))
;; Don't count pages like url.md that have properties but no content
(is (= 9
(is (= 8
(count (->> (d/q '[:find [(pull ?b [:block/title :block/type]) ...]
:where [?b :block/title] [_ :block/page ?b] (not [?b :logseq.property/built-in?])] @conn)
(filter ldb/internal-page?))))