mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
chore: fix lint
This commit is contained in:
@@ -93,4 +93,4 @@ frontend.db.sync/export-as-blocks
|
||||
;; Initial loaded
|
||||
frontend.ui/_emoji-init-data
|
||||
;; placeholder var for defonce
|
||||
frontend.db.rtc.ops-idb-store/_add-ops-loop
|
||||
frontend.db.rtc.op-mem-layer/_sync-loop
|
||||
@@ -1,21 +1,20 @@
|
||||
(ns frontend.components.query
|
||||
(:require [rum.core :as rum]
|
||||
[frontend.ui :as ui]
|
||||
[frontend.context.i18n :refer [t]]
|
||||
[frontend.util :as util]
|
||||
[frontend.state :as state]
|
||||
[frontend.db :as db]
|
||||
[frontend.db-mixins :as db-mixins]
|
||||
[clojure.string :as string]
|
||||
[frontend.db.query-dsl :as query-dsl]
|
||||
(:require [clojure.string :as string]
|
||||
[frontend.components.query-table :as query-table]
|
||||
[frontend.components.query.result :as query-result]
|
||||
[lambdaisland.glogi :as log]
|
||||
[frontend.context.i18n :refer [t]]
|
||||
[frontend.db :as db]
|
||||
[frontend.db-mixins :as db-mixins]
|
||||
[frontend.db.query-dsl :as query-dsl]
|
||||
[frontend.extensions.sci :as sci]
|
||||
[frontend.handler.editor :as editor-handler]
|
||||
[frontend.handler.property :as property-handler]
|
||||
[frontend.handler.property.util :as pu]
|
||||
[logseq.graph-parser.util :as gp-util]))
|
||||
[frontend.state :as state]
|
||||
[frontend.ui :as ui]
|
||||
[frontend.util :as util]
|
||||
[lambdaisland.glogi :as log]
|
||||
[rum.core :as rum]))
|
||||
|
||||
(defn built-in-custom-query?
|
||||
[title]
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
(ns frontend.db.rtc.op-idb-layer
|
||||
"Fns to read/write client-ops from/into indexeddb."
|
||||
(:require ["/frontend/idbkv" :as idb-keyval]
|
||||
[cljs.core.async.interop :refer [p->c]]
|
||||
[promesa.core :as p]))
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
(ns frontend.db.rtc.op-mem-layer
|
||||
"Store client-ops in memory.
|
||||
And sync these ops to indexedDb automatically."
|
||||
(:require [clojure.set :as set]
|
||||
(:require [clojure.core.async :as async :refer [<! go-loop timeout]]
|
||||
[clojure.set :as set]
|
||||
[frontend.db.rtc.op-idb-layer :as op-idb-layer]
|
||||
[frontend.state :as state]
|
||||
[malli.core :as m]
|
||||
[malli.transform :as mt]
|
||||
[promesa.core :as p]
|
||||
[clojure.core.async :as async :refer [go-loop go <! timeout]]
|
||||
[frontend.state :as state]))
|
||||
[promesa.core :as p]))
|
||||
|
||||
(def op-schema
|
||||
[:multi {:dispatch first}
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
(ns frontend.db.rtc.rtc-fns-test
|
||||
(:require [clojure.test :as t :refer [deftest is testing]]
|
||||
[frontend.db.rtc.core :as rtc-core]
|
||||
[frontend.state :as state]
|
||||
[frontend.test.helper :as test-helper]
|
||||
[frontend.modules.outliner.transaction :as outliner-tx]
|
||||
[frontend.modules.outliner.core :as outliner-core]
|
||||
[frontend.handler.page :as page-handler]
|
||||
[frontend.db.conn :as conn]
|
||||
[datascript.core :as d]
|
||||
[frontend.db :as db]
|
||||
[frontend.db.rtc.op-mem-layer :as op-mem-layer]))
|
||||
[frontend.db.conn :as conn]
|
||||
[frontend.db.rtc.core :as rtc-core]
|
||||
[frontend.db.rtc.op-mem-layer :as op-mem-layer]
|
||||
[frontend.handler.page :as page-handler]
|
||||
[frontend.modules.outliner.core :as outliner-core]
|
||||
[frontend.modules.outliner.transaction :as outliner-tx]
|
||||
[frontend.state :as state]
|
||||
[frontend.test.helper :as test-helper]))
|
||||
|
||||
|
||||
(deftest filter-remote-data-by-local-unpushed-ops-test
|
||||
|
||||
Reference in New Issue
Block a user