Forráskód Böngészése

fix: create graph script not working

also fix not being able to use logseq.tasks.db-graph.* with nbb scripts
external to logseq
Gabriel Horner 2 éve
szülő
commit
7f0f5f4f70

+ 2 - 0
scripts/deps.edn

@@ -0,0 +1,2 @@
+;; Temporarily allow scripts dir to be used as gitlib for logseq.tasks.db-graph.*
+{}

+ 3 - 2
scripts/src/logseq/tasks/db_graph/create_graph_with_properties.cljs

@@ -39,8 +39,9 @@
       {:block/content "number-many property block" :properties {:number-many #{5 10}}}
       {:block/content "page property block" :properties {:page [:page "page 1"]}}
       {:block/content "page-many property block" :properties {:page-many #{[:page "page 1"] [:page "page 2"]}}}
-      {:block/content "block property block" :properties {:block [:block "yee"]}}
-      {:block/content "block-many property block" :properties {:block-many #{[:block "yee"] [:block "haw"]}}}]}
+      ;; TODO: Update block examples
+      #_{:block/content "block property block" :properties {:block [:block "yee"]}}
+      #_{:block/content "block-many property block" :properties {:block-many #{[:block "yee"] [:block "haw"]}}}]}
     {:page {:block/name "queries"}
      :blocks
      [{:block/content "{{query (property :default \"haha\")}}"}