Move db-graph property fns to its own logseq.db ns

db-graph related fns like these shouldn't be in the graph-parser dep as
that dep should only really be used with file graphs as much as possible.
This is also being done in preparation for making the create-graph ns independent of
the frontend

Also db- prefixes in fns were dropped since the ns now carries the db-
prefix
This commit is contained in:
Gabriel Horner
2023-09-05 17:02:30 -04:00
parent 7f0f5f4f70
commit b264d17309
16 changed files with 138 additions and 138 deletions

View File

@@ -1,6 +1,6 @@
(ns ^:nbb-compatible frontend.handler.common.repo
(:require [datascript.core :as d]
[logseq.graph-parser.property :as gp-property]
[logseq.db.property :as db-property]
[logseq.graph-parser.util :as gp-util]
[logseq.db.sqlite.util :as sqlite-util]))
@@ -24,5 +24,5 @@
:block/name (gp-util/page-name-sanity-lc k-name)
:block/uuid (d/squuid)
:block/type "property"})))
gp-property/db-built-in-properties)]
db-property/built-in-properties)]
(concat initial-files default-properties)))