Browse Source

fix: class page schemas have a new optional attribute

Gabriel Horner 1 year ago
parent
commit
d8f41f22c2

+ 4 - 1
deps/db/src/logseq/db/frontend/malli_schema.cljs

@@ -114,7 +114,10 @@
      [:block/schema
       {:optional true}
       [:map
-       [:properties {:optional true} [:vector :uuid]]]]]
+       [:properties {:optional true} [:vector :uuid]]]]
+     [:block/metadata {:optional true}
+      [:map
+       [:hide-properties? {:optional true} :boolean]]]]
     page-attrs
     page-or-block-attrs)))
 

+ 1 - 1
deps/graph-parser/script/db_import.cljs

@@ -1,5 +1,5 @@
 (ns db-import
-  "Imports given file(s) to a db graph. This script is primarly for
+  "Imports given file(s) to a db graph. This script is primarily for
    developing the import feature and for engineers who want to customize
    the import process"
   (:require [clojure.string :as string]