Pārlūkot izejas kodu

fix: class page schemas have a new optional attribute

Gabriel Horner 1 gadu atpakaļ
vecāks
revīzija
d8f41f22c2

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

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

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

@@ -1,5 +1,5 @@
 (ns db-import
 (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
    developing the import feature and for engineers who want to customize
    the import process"
    the import process"
   (:require [clojure.string :as string]
   (:require [clojure.string :as string]