diff --git a/common/src/app/common/types/color.cljc b/common/src/app/common/types/color.cljc index fd20b0330..ab50f4be0 100644 --- a/common/src/app/common/types/color.cljc +++ b/common/src/app/common/types/color.cljc @@ -56,8 +56,8 @@ (def schema:image-color [:map {:title "ImageColor"} [:name {:optional true} :string] - [:width :int] - [:height :int] + [:width ::sm/int] + [:height ::sm/int] [:mtype {:optional true} [:maybe :string]] [:id ::sm/uuid] [:keep-aspect-ratio {:optional true} :boolean]]) diff --git a/common/src/app/common/types/shape.cljc b/common/src/app/common/types/shape.cljc index 4ede3a641..5dfa9a016 100644 --- a/common/src/app/common/types/shape.cljc +++ b/common/src/app/common/types/shape.cljc @@ -224,8 +224,8 @@ [:map {:title "ImageAttrs"} [:metadata [:map - [:width {:gen/gen (sg/small-int :min 1)} :int] - [:height {:gen/gen (sg/small-int :min 1)} :int] + [:width {:gen/gen (sg/small-int :min 1)} ::sm/int] + [:height {:gen/gen (sg/small-int :min 1)} ::sm/int] [:mtype {:optional true :gen/gen (sg/elements ["image/jpeg" "image/png"])}