mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 14:12:36 -05:00
Cleanup
This commit is contained in:
parent
99a3ed98c9
commit
cfec4ae958
1 changed files with 2 additions and 2 deletions
|
@ -104,10 +104,10 @@
|
||||||
(def schema:token
|
(def schema:token
|
||||||
[:and
|
[:and
|
||||||
[:map {:title "Token"}
|
[:map {:title "Token"}
|
||||||
[:name cto/token-name-ref] ;; not necessary to have uuid
|
[:name cto/token-name-ref]
|
||||||
[:type [::sm/one-of cto/token-types]]
|
[:type [::sm/one-of cto/token-types]]
|
||||||
[:value :any]
|
[:value :any]
|
||||||
[:description [:maybe :string]] ;; defrecord always have the attributes, even with nil value
|
[:description [:maybe :string]]
|
||||||
[:modified-at ::sm/inst]]
|
[:modified-at ::sm/inst]]
|
||||||
[:fn (partial instance? Token)]])
|
[:fn (partial instance? Token)]])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue