File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 76
76
[:clicked-element {:optional true } [:or Element Handle]]
77
77
[:copied-bounds {:optional true } Bounds]
78
78
[:copied-elements {:optional true } [:* Element]]
79
- [:kdtree {:optional true } any? ]
80
- [:viewbox-kdtree {:optional true } any? ]
79
+ [:kdtree {:optional true } [ :maybe map?] ]
80
+ [:viewbox-kdtree {:optional true } [ :maybe map?] ]
81
81
[:re-pressed.core/keydown {:optional true } map?]])
82
82
83
83
(def valid? (m/validator App))
Original file line number Diff line number Diff line change 11
11
[renderer.snap.handlers :as snap.h]
12
12
[renderer.utils.vec :as vec]))
13
13
14
- (m/=> path [:-> App [:* keyword?] vector?])
14
+ (m/=> path [:-> App [:* [ :or keyword? uuid?] ] vector?])
15
15
(defn path
16
16
[db & more]
17
17
(apply conj [:documents (:active-document db)] more))
Original file line number Diff line number Diff line change 23
23
[renderer.utils.path :as path :refer [PathManipulation PathBooleanOperation]]
24
24
[renderer.utils.vec :as vec]))
25
25
26
- (m/=> path [:-> App [:* any? ] vector?])
26
+ (m/=> path [:-> App [:* [ :or keyword? uuid?] ] vector?])
27
27
(defn path
28
28
[db & more]
29
29
(apply conj [:documents (:active-document db) :elements ] more))
Original file line number Diff line number Diff line change 13
13
[renderer.utils.math :refer [Vec2]]
14
14
[renderer.utils.vec :as vec]))
15
15
16
- (m/=> path [:-> App [:* any? ] vector?])
16
+ (m/=> path [:-> App [:* [ :or keyword? uuid?] ] vector?])
17
17
(defn path
18
18
[db & more]
19
19
(apply conj [:documents (:active-document db) :history ] more))
You can’t perform that action at this time.
0 commit comments