diff --git a/.clj-kondo/config.edn b/.clj-kondo/config.edn index ae8c2a06b7..3247a6615d 100644 --- a/.clj-kondo/config.edn +++ b/.clj-kondo/config.edn @@ -98,9 +98,7 @@ frontend.format.block block frontend.format.mldoc mldoc frontend.fs fs - frontend.fs.capacitor-fs capacitor-fs frontend.fs.memory-fs memory-fs - frontend.fs.nfs nfs frontend.handler.common common-handler frontend.handler.common.developer dev-common-handler frontend.handler.common.page page-common-handler @@ -115,6 +113,7 @@ frontend.handler.events events frontend.handler.extract extract frontend.handler.file-based.file file-handler + frontend.handler.file-based.native-fs nfs-handler frontend.handler.file-based.page file-page-handler frontend.handler.file-based.page-property file-page-property frontend.handler.file-based.property file-property-handler @@ -158,6 +157,7 @@ frontend.util.text text-util frontend.util.thingatpt thingatpt frontend.util.url url-util + frontend.util.ref ref frontend.worker.shared-service shared-service frontend.worker.handler.page worker-page frontend.worker.pipeline worker-pipeline diff --git a/src/main/frontend/commands.cljs b/src/main/frontend/commands.cljs index 175ac2b517..32080083a6 100644 --- a/src/main/frontend/commands.cljs +++ b/src/main/frontend/commands.cljs @@ -13,7 +13,7 @@ [frontend.handler.notification :as notification] [frontend.handler.plugin :as plugin-handler] [frontend.handler.property.file :as property-file] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.search :as search] [frontend.state :as state] [frontend.util :as util] diff --git a/src/main/frontend/components/block.cljs b/src/main/frontend/components/block.cljs index c68295fce7..ba31bff564 100644 --- a/src/main/frontend/components/block.cljs +++ b/src/main/frontend/components/block.cljs @@ -62,7 +62,7 @@ [frontend.mobile.util :as mobile-util] [frontend.modules.outliner.tree :as tree] [frontend.modules.shortcut.utils :as shortcut-utils] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.security :as security] [frontend.state :as state] [frontend.template :as template] diff --git a/src/main/frontend/components/content.cljs b/src/main/frontend/components/content.cljs index dc46c52952..93a6ed0812 100644 --- a/src/main/frontend/components/content.cljs +++ b/src/main/frontend/components/content.cljs @@ -19,7 +19,7 @@ [frontend.handler.property :as property-handler] [frontend.handler.property.util :as pu] [frontend.modules.shortcut.core :as shortcut] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [frontend.ui :as ui] [frontend.util :as util] diff --git a/src/main/frontend/components/query/builder.cljs b/src/main/frontend/components/query/builder.cljs index d2faa79424..820ea05649 100644 --- a/src/main/frontend/components/query/builder.cljs +++ b/src/main/frontend/components/query/builder.cljs @@ -13,7 +13,7 @@ [frontend.handler.editor :as editor-handler] [frontend.handler.query.builder :as query-builder] [frontend.mixins :as mixins] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [frontend.ui :as ui] [frontend.util :as util] diff --git a/src/main/frontend/extensions/pdf/assets.cljs b/src/main/frontend/extensions/pdf/assets.cljs index ece688810f..07382b486e 100644 --- a/src/main/frontend/extensions/pdf/assets.cljs +++ b/src/main/frontend/extensions/pdf/assets.cljs @@ -19,7 +19,7 @@ [frontend.handler.property :as property-handler] [frontend.handler.property.util :as pu] [frontend.handler.route :as route-handler] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [frontend.ui :as ui] [frontend.util :as util] diff --git a/src/main/frontend/extensions/zotero/handler.cljs b/src/main/frontend/extensions/zotero/handler.cljs index c1009c8296..e67e0481db 100644 --- a/src/main/frontend/extensions/zotero/handler.cljs +++ b/src/main/frontend/extensions/zotero/handler.cljs @@ -9,7 +9,7 @@ [frontend.handler.editor :as editor-handler] [frontend.handler.notification :as notification] [frontend.handler.page :as page-handler] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [promesa.core :as p])) diff --git a/src/main/frontend/handler/dnd.cljs b/src/main/frontend/handler/dnd.cljs index 011630cff3..f293090f5e 100644 --- a/src/main/frontend/handler/dnd.cljs +++ b/src/main/frontend/handler/dnd.cljs @@ -6,7 +6,7 @@ [frontend.handler.property :as property-handler] [frontend.modules.outliner.op :as outliner-op] [frontend.modules.outliner.ui :as ui-outliner-tx] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [logseq.db :as ldb])) diff --git a/src/main/frontend/handler/editor.cljs b/src/main/frontend/handler/editor.cljs index 4e0deb0465..bca2fe84e3 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -35,7 +35,7 @@ [frontend.modules.outliner.op :as outliner-op] [frontend.modules.outliner.tree :as tree] [frontend.modules.outliner.ui :as ui-outliner-tx] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.search :as search] [frontend.state :as state] [frontend.template :as template] diff --git a/src/main/frontend/handler/page.cljs b/src/main/frontend/handler/page.cljs index 5de3190b4e..8d45c0bb5d 100644 --- a/src/main/frontend/handler/page.cljs +++ b/src/main/frontend/handler/page.cljs @@ -28,7 +28,7 @@ [frontend.mobile.util :as mobile-util] [frontend.modules.outliner.op :as outliner-op] [frontend.modules.outliner.ui :as ui-outliner-tx] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [frontend.util :as util] [frontend.util.cursor :as cursor] diff --git a/src/main/frontend/mobile/action_bar.cljs b/src/main/frontend/mobile/action_bar.cljs index afa94a012c..70fc9896d0 100644 --- a/src/main/frontend/mobile/action_bar.cljs +++ b/src/main/frontend/mobile/action_bar.cljs @@ -7,7 +7,7 @@ [frontend.handler.editor :as editor-handler] [frontend.mixins :as mixins] [frontend.mobile.util :as mobile-util] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [frontend.ui :as ui] [frontend.util :as util] diff --git a/src/main/frontend/mobile/intent.cljs b/src/main/frontend/mobile/intent.cljs index b8af990949..49d45dd5b6 100644 --- a/src/main/frontend/mobile/intent.cljs +++ b/src/main/frontend/mobile/intent.cljs @@ -14,7 +14,7 @@ [frontend.handler.editor :as editor-handler] [frontend.handler.notification :as notification] [frontend.mobile.util :as mobile-util] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [frontend.util :as util] [frontend.util.fs :as fs-util] diff --git a/src/main/frontend/template.cljs b/src/main/frontend/template.cljs index 0a6cb8afdb..c3371d5e50 100644 --- a/src/main/frontend/template.cljs +++ b/src/main/frontend/template.cljs @@ -4,7 +4,7 @@ [frontend.date :as date] [frontend.db.conn :as conn] [frontend.db.utils :as db-utils] - [frontend.ref :as ref] + [frontend.util.ref :as ref] [frontend.state :as state] [logseq.db :as ldb])) diff --git a/src/main/frontend/ref.cljs b/src/main/frontend/util/ref.cljs similarity index 85% rename from src/main/frontend/ref.cljs rename to src/main/frontend/util/ref.cljs index 0923a211ac..5399e816cb 100644 --- a/src/main/frontend/ref.cljs +++ b/src/main/frontend/util/ref.cljs @@ -1,5 +1,5 @@ -(ns frontend.ref - "Reference-related fns" +(ns frontend.util.ref + "Reference-related util fns" (:require [frontend.config :as config] [logseq.common.util.block-ref :as block-ref] [logseq.common.util.page-ref :as page-ref]))