Skip to content

Commit

Permalink
Add requires to fix tests, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
holyjak committed Sep 28, 2023
1 parent 5d3e7ef commit 845a6f8
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 22 deletions.
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/algorithms/data_targeting.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(ns sci.configs.fulcro.algorithms.data-targeting
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
[com.fulcrologic.fulcro.algorithms.data-targeting]))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.data-targeting))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.data-targeting sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.data-targeting sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.data-targeting ns-def})
4 changes: 2 additions & 2 deletions src/sci/configs/fulcro/algorithms/denormalize.cljs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(ns sci.configs.fulcro.algorithms.denormalize
(:require
[sci.core :as sci]
[com.fulcrologic.fulcro.algorithms.denormalize :as fdn]))
com.fulcrologic.fulcro.algorithms.denormalize))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.denormalize))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.denormalize sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.denormalize sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.denormalize ns-def})
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/algorithms/form_state.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(ns sci.configs.fulcro.algorithms.form-state
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
com.fulcrologic.fulcro.algorithms.form-state))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.form-state))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.form-state sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.form-state sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.form-state ns-def})
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/algorithms/lookup.cljs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(ns sci.configs.fulcro.algorithms.lookup
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
com.fulcrologic.fulcro.algorithms.lookup))


(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.lookup))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.lookup sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.lookup sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.lookup ns-def})
4 changes: 2 additions & 2 deletions src/sci/configs/fulcro/algorithms/merge.cljs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(ns sci.configs.fulcro.algorithms.merge
(:require
[sci.core :as sci]
[com.fulcrologic.fulcro.algorithms.merge :as merge]))
com.fulcrologic.fulcro.algorithms.merge))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.merge))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.merge sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.merge sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.merge ns-def})
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/algorithms/normalize.cljs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
(ns sci.configs.fulcro.algorithms.normalize
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
com.fulcrologic.fulcro.algorithms.normalize))


(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.normalize))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.normalize sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.normalize sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.normalize ns-def})
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/algorithms/react_interop.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(ns sci.configs.fulcro.algorithms.react-interop
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
com.fulcrologic.fulcro.algorithms.react-interop))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.react-interop))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.react-interop sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.react-interop sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.react-interop ns-def})
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/algorithms/tempid.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(ns sci.configs.fulcro.algorithms.tempid
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
com.fulcrologic.fulcro.algorithms.tempid))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.algorithms.tempid))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.tempid sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.algorithms.tempid sci-ns))

(def namespaces {'com.fulcrologic.fulcro.algorithms.tempid ns-def})
2 changes: 1 addition & 1 deletion src/sci/configs/fulcro/application.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
[com.fulcrologic.fulcro.application]))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.application))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.application sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.application sci-ns))

(def namespaces {'com.fulcrologic.fulcro.application ns-def})
2 changes: 1 addition & 1 deletion src/sci/configs/fulcro/data_fetch.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns sci.configs.fulcro.data-fetch
(:require
[sci.core :as sci]
[com.fulcrologic.fulcro.data-fetch]))
com.fulcrologic.fulcro.data-fetch))


(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.data-fetch))
Expand Down
2 changes: 1 addition & 1 deletion src/sci/configs/fulcro/dom.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns sci.configs.fulcro.dom
(:require
[sci.core :as sci]
[com.fulcrologic.fulcro.dom]
com.fulcrologic.fulcro.dom
["react-dom/server" :as react-dom-server]))

(defn render-to-str [e]
Expand Down
3 changes: 2 additions & 1 deletion src/sci/configs/fulcro/mutations.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
[cljs.spec.alpha :as s]
[clojure.string :as str]
[sci.core :as sci]
[com.fulcrologic.fulcro.algorithms.lookup :as ah]))
[com.fulcrologic.fulcro.algorithms.lookup :as ah]
com.fulcrologic.fulcro.mutations))

(defn ^:sci/macro declare-mutation [_&form _&env name target-symbol]
`(def ~name (m/->Mutation '~target-symbol)))
Expand Down
5 changes: 3 additions & 2 deletions src/sci/configs/fulcro/networking/http_remote.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
(ns sci.configs.fulcro.networking.http-remote
(:require [sci.core :as sci]))
(:require [sci.core :as sci]
com.fulcrologic.fulcro.networking.http-remote))

(def sci-ns (sci/create-ns 'com.fulcrologic.fulcro.networking.http-remote))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.networking.http-remote sci-ns {}))
(def ns-def (sci/copy-ns com.fulcrologic.fulcro.networking.http-remote sci-ns))

(def namespaces {'com.fulcrologic.fulcro.networking.http-remote ns-def})

0 comments on commit 845a6f8

Please sign in to comment.