📎 Mainly reformat specs code

This commit is contained in:
Andrey Antukh 2022-08-01 14:27:11 +02:00
parent 5cd12ac710
commit ddc7f412a4
4 changed files with 156 additions and 148 deletions

View file

@ -433,7 +433,7 @@
(defn detach-comment-thread
"Detach comment threads that are inside a frame when that frame is deleted"
[ids]
(us/verify (s/coll-of uuid?) ids)
(us/assert! ::us/coll-of-uuid ids)
(ptk/reify ::detach-comment-thread
ptk/WatchEvent

View file

@ -21,7 +21,6 @@
[app.main.streams :as ms]
[app.util.router :as rt]
[beicon.core :as rx]
[cljs.spec.alpha :as s]
[potok.core :as ptk]))
(declare handle-interrupt)
@ -144,8 +143,7 @@
(defn move-frame-comment-threads
"Move comment threads that are inside a frame when that frame is moved"
[ids]
(us/verify (s/coll-of uuid?) ids)
(us/assert! ::us/coll-of-uuid ids)
(ptk/reify ::move-frame-comment-threads
ptk/WatchEvent
(watch [_ state _]

View file

@ -162,4 +162,4 @@
(s/def ::email ::us/email)
(s/def ::not-empty-string ::us/not-empty-string)
(s/def ::color ::us/color)
(s/def ::color ::us/rgb-color-str)