mirror of
https://github.com/penpot/penpot.git
synced 2026-05-22 00:13:41 +00:00
🐛 Fix incorrect schema on bool-content
This commit is contained in:
parent
e935ccae76
commit
aac044fa0a
@ -177,13 +177,14 @@
|
|||||||
;; FIXME: improve this schema
|
;; FIXME: improve this schema
|
||||||
[:bool-type :keyword]
|
[:bool-type :keyword]
|
||||||
|
|
||||||
;; FIXME: improve this schema
|
|
||||||
[:bool-content
|
[:bool-content
|
||||||
[:vector {:gen/max 2}
|
[:vector {:gen/max 2}
|
||||||
[:map
|
[:map
|
||||||
[:command :keyword]
|
[:command :keyword]
|
||||||
[:relative {:optional true} :boolean]
|
[:relative {:optional true} :boolean]
|
||||||
[:params [:map-of {:gen/max 5} :keyword ::sm/safe-number]]]]]])
|
[:prev-pos {:optional true} ::gpt/point]
|
||||||
|
[:params {:optional true}
|
||||||
|
[:map-of {:gen/max 5} :keyword ::sm/safe-number]]]]]])
|
||||||
|
|
||||||
(sm/def! ::rect-attrs
|
(sm/def! ::rect-attrs
|
||||||
[:map {:title "RectAttrs"}
|
[:map {:title "RectAttrs"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user