From d2806fd9ba84fc0d27c30954021d9d44a9f86ad5 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 24 Nov 2020 17:31:22 +0100 Subject: [PATCH] :bug: Fixes problem with schema and parameters --- common/app/common/pages.cljc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/app/common/pages.cljc b/common/app/common/pages.cljc index 7b996b8fd..a0a53d2a5 100644 --- a/common/app/common/pages.cljc +++ b/common/app/common/pages.cljc @@ -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))