fix: remove remaining uses of file graph specific attributes

Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
This commit is contained in:
Gabriel Horner
2026-01-12 12:20:51 -05:00
parent 4bb7430682
commit 37af8f690e
23 changed files with 90 additions and 207 deletions

View File

@@ -39,9 +39,7 @@
results (if (:entity options)
(map #(when-let [ent (d/entity @conn
(if (string? %) (edn/read-string %) %))]
(cond-> (into {:db/id (:db/id ent)} ent)
(seq (:block/properties ent))
(update :block/properties (fn [props] (map (fn [m] (into {} m)) props)))))
(into {:db/id (:db/id ent)} ent))
(:entity options))
;; assumes no :in are in queries
(let [query (into (edn/read-string (first args'')) [:in '$ '%])