Also update lint for recent change with frontend.db.async
@@ -42,6 +42,7 @@
(def file-graph-paths
"Paths _only_ for file graphs"
["src/main/frontend/handler/file_based" "src/main/frontend/handler/conversion.cljs" "src/main/frontend/handler/file_sync.cljs"
+ "src/main/frontend/db/file_based"
"src/main/frontend/fs"
"src/main/frontend/components/conversion.cljs" "src/main/frontend/components/file_sync.cljs"
"src/main/frontend/util/fs.cljs"
@@ -6,7 +6,7 @@
(defn <q
[graph & inputs]
- (assert (not-any? fn? inputs) "Async query inptus can't include fns because fn can't be serialized")
+ (assert (not-any? fn? inputs) "Async query inputs can't include fns because fn can't be serialized")
(when-let [sqlite @db-browser/*sqlite]
(p/let [result (.q sqlite graph (pr-str inputs))]
(bean/->clj result))))
@@ -139,7 +139,7 @@
(def ^:export get_current_graph_templates
(fn []
(when-let [repo (state/get-current-repo)]
- (let [templates (db-async/<get-all-templates repo)]
+ (p/let [templates (db-async/<get-all-templates repo)]
(some-> templates
(update-vals db/pull)
(sdk-utils/normalize-keyword-for-json)