mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 23:56:38 +02:00
🐛 Fixes problem with schema and parameters
This commit is contained in:
parent
0fcfd30535
commit
d2806fd9ba
1 changed files with 6 additions and 4 deletions
|
@ -273,9 +273,9 @@
|
||||||
(s/every uuid? :kind vector?))
|
(s/every uuid? :kind vector?))
|
||||||
|
|
||||||
(s/def ::shape-attrs
|
(s/def ::shape-attrs
|
||||||
(s/keys :req-un [:internal.shape/selrect
|
(s/keys :opt-un [:internal.shape/selrect
|
||||||
:internal.shape/points]
|
:internal.shape/points
|
||||||
:opt-un [:internal.shape/blocked
|
:internal.shape/blocked
|
||||||
:internal.shape/collapsed
|
:internal.shape/collapsed
|
||||||
:internal.shape/content
|
:internal.shape/content
|
||||||
:internal.shape/fill-color
|
:internal.shape/fill-color
|
||||||
|
@ -351,7 +351,9 @@
|
||||||
::component-id
|
::component-id
|
||||||
::component-file
|
::component-file
|
||||||
::component-root?
|
::component-root?
|
||||||
::shape-ref])))
|
::shape-ref]
|
||||||
|
:req-un [:internal.shape/selrect
|
||||||
|
:internal.shape/points])))
|
||||||
|
|
||||||
(s/def :internal.page/objects (s/map-of uuid? ::shape))
|
(s/def :internal.page/objects (s/map-of uuid? ::shape))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue