From 0e43fb3f06387fedc5ccf13758c845bfa4cdfbc4 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 23 Nov 2020 11:24:33 +0100 Subject: [PATCH] :paperclip: Minor cosmetic changes. --- 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 b46f12ed4f..0feaccbfc0 100644 --- a/common/app/common/pages.cljc +++ b/common/app/common/pages.cljc @@ -39,15 +39,16 @@ (s/def ::type keyword?) (s/def ::uuid uuid?) +(s/def ::component-id uuid?) +(s/def ::component-file uuid?) +(s/def ::component-root? boolean?) +(s/def ::shape-ref uuid?) + (s/def ::safe-integer #(and (integer? %) (>= % min-safe-int) (<= % max-safe-int))) -(s/def ::component-id uuid?) -(s/def ::component-file uuid?) -(s/def ::component-root? boolean?) -(s/def ::shape-ref uuid?) (s/def ::safe-number #(and @@ -55,6 +56,7 @@ (>= % min-safe-int) (<= % max-safe-int))) + ;; GRADIENTS (s/def :internal.gradient.stop/color ::string)