mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 08:56:29 +00:00
chore: cleanup unnecessary multi graph calls in db
namespaces. Add fn and related namespaces to linter
This commit is contained in:
@@ -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))]
|
||||
|
||||
Reference in New Issue
Block a user