0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Fixes problem with schema and parameters

This commit is contained in:
alonso.torres 2020-11-24 17:31:22 +01:00
parent 0fcfd30535
commit d2806fd9ba

View file

@ -273,9 +273,9 @@
(s/every uuid? :kind vector?))
(s/def ::shape-attrs
(s/keys :req-un [:internal.shape/selrect
:internal.shape/points]
:opt-un [:internal.shape/blocked
(s/keys :opt-un [:internal.shape/selrect
:internal.shape/points
:internal.shape/blocked
:internal.shape/collapsed
:internal.shape/content
:internal.shape/fill-color
@ -351,7 +351,9 @@
::component-id
::component-file
::component-root?
::shape-ref])))
::shape-ref]
:req-un [:internal.shape/selrect
:internal.shape/points])))
(s/def :internal.page/objects (s/map-of uuid? ::shape))