refactor: mv common ns out of db ns

Also move common and file fns out of db ns. Cleanup allows
for better separation linting
This commit is contained in:
Gabriel Horner
2025-04-28 10:37:13 -04:00
parent c569112db6
commit 6a635ecb49
33 changed files with 56 additions and 55 deletions

View File

@@ -98,8 +98,7 @@
(defn- validate-multi-graph-fns-not-in-file-or-db
[]
;; TODO: Lint `(db-based-graph?` when db.frontend.entity-plus is split into separate graph contexts
(let [multi-graph-fns ["/db-based-graph\\?"
(let [multi-graph-fns ["/db-based-graph\\?" "\\(db-based-graph\\?"
;; 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))]