Setup CI jobs that are only for graph-parser

Also move all non graph-parser fns to frontend thanks to carve lint
This commit is contained in:
Gabriel Horner
2022-05-24 21:21:23 -04:00
parent 4813d903d5
commit 15b8e5e9df
26 changed files with 304 additions and 206 deletions

View File

@@ -4,12 +4,12 @@
[frontend.db :as db]
[frontend.db.model :as model]
[frontend.handler.editor :as editor]
[logseq.graph-parser.extract :as extract]
[frontend.handler.file :as file-handler]
[frontend.handler.page :as page-handler]
[frontend.handler.repo :as repo-handler]
[frontend.handler.ui :as ui-handler]
[logseq.graph-parser.util :as gp-util]
[frontend.util.text :as text-util]
[lambdaisland.glogi :as log]
[electron.ipc :as ipc]
[promesa.core :as p]
@@ -21,7 +21,7 @@
(defn- set-missing-block-ids!
[content]
(when (string? content)
(doseq [block-id (extract/extract-all-block-refs content)]
(doseq [block-id (text-util/extract-all-block-refs content)]
(when-let [block (try
(model/get-block-by-uuid block-id)
(catch js/Error _e