From 2abf151adddc887d229c217c7b2e2deeac90fb52 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 30 Nov 2023 13:08:41 +0100 Subject: [PATCH] :fire: Clean unused stuff on dev/user.clj file --- backend/dev/user.clj | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/backend/dev/user.clj b/backend/dev/user.clj index 697826f42..902ba6212 100644 --- a/backend/dev/user.clj +++ b/backend/dev/user.clj @@ -22,6 +22,7 @@ [app.common.types.file :as ctf] [app.common.uuid :as uuid] [app.config :as cf] + [app.db :as db] [app.main :as main] [app.srepl.helpers :as srepl.helpers] [app.srepl.main :as srepl] @@ -55,8 +56,6 @@ (repl/disable-reload! (find-ns 'integrant.core)) (set! *warn-on-reflection* true) -(defonce system nil) - ;; --- Benchmarking Tools (defmacro run-quick-bench @@ -137,38 +136,3 @@ (add-tap #(locking debug-tap (prn "tap debug:" %))) 1)) - - -(sm/def! ::test - [:map {:title "Foo"} - [:x :int] - [:y {:min 0} :double] - [:bar - [:map {:title "Bar"} - [:z :string] - [:v ::sm/uuid]]] - [:items - [:vector ::dt/instant]]]) - -(sm/def! ::test2 - [:multi {:title "Foo" :dispatch :type} - [:x - [:map {:title "FooX"} - [:type [:= :x]] - [:x :int]]] - [:y - [:map - [:type [:= :x]] - [:y [::sm/one-of #{:a :b :c}]]]] - [:z - [:map {:title "FooZ"} - [:z - [:multi {:title "Bar" :dispatch :type} - [:a - [:map - [:type [:= :a]] - [:a :int]]] - [:b - [:map - [:type [:= :b]] - [:b :int]]]]]]]])