chore: cleanup unnecessary multi graph calls in db

namespaces. Add fn and related namespaces to linter
This commit is contained in:
Gabriel Horner
2025-05-09 15:05:14 -04:00
parent 33321e6b9a
commit 2c67b6de11
6 changed files with 15 additions and 13 deletions

View File

@@ -100,6 +100,9 @@
(defn- validate-multi-graph-fns-not-in-file-or-db
[]
(let [multi-graph-fns ["/db-based-graph\\?" "\\(db-based-graph\\?"
;; from frontend.handler.property.util
"/get-pid"
"logseq.db.common.property-util"
;; Use file-entity-util and entity-util when in a single graph context
"ldb/whiteboard\\?" "ldb/journal\\?" "ldb/page\\?"]
res (grep-many multi-graph-fns (into file-graph-paths db-graph-paths))]