mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Cleanup
This commit is contained in:
@@ -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)]])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user