diff --git a/common/src/app/common/types/shape.cljc b/common/src/app/common/types/shape.cljc index 3f2e3113c..3127883d9 100644 --- a/common/src/app/common/types/shape.cljc +++ b/common/src/app/common/types/shape.cljc @@ -75,7 +75,7 @@ [:map {:title "Fill"} [:fill-color {:optional true} ::ctc/rgb-color] [:fill-opacity {:optional true} ::sm/safe-number] - [:fill-color-gradient {:optional true} ::ctc/gradient] + [:fill-color-gradient {:optional true} [:maybe ::ctc/gradient]] [:fill-color-ref-file {:optional true} [:maybe ::sm/uuid]] [:fill-color-ref-id {:optional true} [:maybe ::sm/uuid]]]) @@ -177,13 +177,14 @@ ;; FIXME: improve this schema [:bool-type :keyword] - ;; FIXME: improve this schema [:bool-content [:vector {:gen/max 2} [:map [:command :keyword] [: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 [:map {:title "RectAttrs"}