From a6c7bd28e817a2876239dd2d4c314df9c4107451 Mon Sep 17 00:00:00 2001 From: Miguel de Benito Delgado Date: Wed, 24 Jun 2026 13:16:25 +0200 Subject: [PATCH] :lipstick: Fix some malli schemas (#7733) * :bug: Add missing fields to schema:profile * :bug: Add missing fields to schema:dissolve-animation * :paperclip: Add minor changes Signed-off-by: Andrey Antukh --------- Signed-off-by: Andrey Antukh Co-authored-by: Andrey Antukh --- backend/src/app/rpc/commands/profile.clj | 2 ++ common/src/app/common/types/shape/interactions.cljc | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/profile.clj b/backend/src/app/rpc/commands/profile.clj index 9941638196..79af070c6a 100644 --- a/backend/src/app/rpc/commands/profile.clj +++ b/backend/src/app/rpc/commands/profile.clj @@ -66,6 +66,8 @@ [:id ::sm/uuid] [:fullname [::sm/word-string {:max 250}]] [:email ::sm/email] + [:theme {:optional true} :string] + [:is-admin {:optional true} ::sm/boolean] [:is-active {:optional true} ::sm/boolean] [:is-blocked {:optional true} ::sm/boolean] [:is-demo {:optional true} ::sm/boolean] diff --git a/common/src/app/common/types/shape/interactions.cljc b/common/src/app/common/types/shape/interactions.cljc index 4554d02511..127ebee57f 100644 --- a/common/src/app/common/types/shape/interactions.cljc +++ b/common/src/app/common/types/shape/interactions.cljc @@ -76,7 +76,10 @@ [:map {:title "AnimationDisolve"} [:animation-type [:= :dissolve]] [:duration ::sm/safe-int] - [:easing [::sm/one-of easing-types]]]) + [:easing [::sm/one-of easing-types]] + [:way {:optional true} [::sm/one-of way-types]] + [:offset-effect {:optional true} :boolean] + [:direction {:optional true} [::sm/one-of direction-types]]]) (def schema:slide-animation [:map {:title "AnimationSlide"}