Explorar o código

Add :block/link to ref-type-attributes

Tienson Qin %!s(int64=2) %!d(string=hai) anos
pai
achega
4bff0b975f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      deps/db/src/logseq/db/schema.cljs

+ 3 - 1
deps/db/src/logseq/db/schema.cljs

@@ -154,8 +154,10 @@
     :block/alias
     :block/alias
     :block/tags})
     :block/tags})
 
 
+;; FIXME: replace with a fn that's synced with schema
 (def ref-type-attributes
 (def ref-type-attributes
-  #{:block/parent
+  #{:block/link
+    :block/parent
     :block/left
     :block/left
     :block/page
     :block/page
     :block/refs
     :block/refs