mirror of
https://github.com/penpot/penpot.git
synced 2026-03-28 22:32:01 +01:00
💄 Add naming improvements to some file type predicates
This commit is contained in:
@@ -58,10 +58,10 @@
|
||||
[:media {:optional true}
|
||||
[:map-of {:gen/max 5} ::sm/uuid ::media-object]]])
|
||||
|
||||
(def file-data?
|
||||
(def valid-file-data?
|
||||
(sm/pred-fn ::data))
|
||||
|
||||
(def media-object?
|
||||
(def valid-media-object?
|
||||
(sm/pred-fn ::media-object))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
Reference in New Issue
Block a user