💄 Fix some malli schemas (#7733)

* 🐛 Add missing fields to schema:profile

* 🐛 Add missing fields to schema:dissolve-animation

* 📎 Add minor changes

Signed-off-by: Andrey Antukh <niwi@niwi.nz>

---------

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
Miguel de Benito Delgado 2026-06-24 13:16:25 +02:00 committed by GitHub
parent 3036ef473e
commit a6c7bd28e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View File

@ -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"}