refactor: remove block/path-refs (#12081)

1. refactor: use :block/refs and has-ref rule instead of path-refs
2. remove block/path-refs
3. removes :block-parent rule since there's already :parent
4. enhance: skip pipeline calculation for rtc initial download tx
5. refactor(rtc): remove memoize

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
This commit is contained in:
Tienson Qin
2025-09-03 20:33:33 +08:00
committed by GitHub
parent ebfcf3c5f4
commit 248d8c33f2
33 changed files with 222 additions and 399 deletions

View File

@@ -651,11 +651,13 @@ prop-d:: [[nada]]"}])
- [[Child page]]
- p2 [[Parent page]]
- Non linked content"}]))
(is (= ["Non linked content"
"p2"
"p1"]
(map testable-content
(dsl-query "(and [[Parent page]] (not [[Child page]]))")))))
(is (= (set
["Non linked content"
"p2"
"p1"])
(set
(map testable-content
(dsl-query "(and [[Parent page]] (not [[Child page]]))"))))))
(deftest between-queries
(load-test-files [{:file/path "journals/2020_12_26.md"