tons of bug fixes.
This commit is contained in:
@@ -4,7 +4,17 @@
|
||||
[clojure.string :as str]))
|
||||
|
||||
(s/def ::client (s/nilable map?))
|
||||
(s/def ::description (s/nilable string?))
|
||||
(s/def ::description (s/nilable (s/and string?
|
||||
#( #?@(:clj (try
|
||||
(re-pattern %)
|
||||
true
|
||||
(catch Exception _
|
||||
false))
|
||||
:cljs (try
|
||||
(re-pattern %)
|
||||
true
|
||||
(catch js/Error _
|
||||
false)))))))
|
||||
(s/def ::amount-gte (s/nilable double?))
|
||||
(s/def ::amount-lte (s/nilable double?))
|
||||
(s/def ::dom-gte (s/nilable int?))
|
||||
|
||||
Reference in New Issue
Block a user