mirror of
https://github.com/penpot/penpot.git
synced 2026-06-28 18:22:13 +00:00
💄 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:
parent
3036ef473e
commit
a6c7bd28e8
@ -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]
|
||||
|
||||
@ -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"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user