mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 16:16:12 +02:00
📎 Mainly reformat specs code
This commit is contained in:
parent
5cd12ac710
commit
ddc7f412a4
4 changed files with 156 additions and 148 deletions
|
@ -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
|
||||
|
|
|
@ -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 _]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue