fix(dev): schema.org debug edn was invalid and noisy

This commit is contained in:
Gabriel Horner
2024-11-11 12:36:24 -05:00
parent 28b7cf95b4
commit 3a22c28493
2 changed files with 4 additions and 2 deletions

View File

@@ -374,7 +374,9 @@
(pr-str
(->> ents
(map (fn [m]
(let [props (db-property/properties m)]
(let [props (->> (db-property/properties m)
(remove #(db-property/private-db-attribute-properties (key %)))
(into {}))]
(cond-> (select-keys m [:block/name :block/type :block/title :block/schema :db/ident
:logseq.property.class/properties :logseq.property/parent
:db/cardinality :property/schema.classes :block/refs])