0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 23:35:58 -05:00

🐛 Fix incorrect schema on bool-content

This commit is contained in:
Andrey Antukh 2023-07-31 15:49:08 +02:00
parent e935ccae76
commit aac044fa0a

View file

@ -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"}