mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
Add shape schema definition.
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
:width [v/required v/integer]
|
||||
:height [v/required v/integer]})
|
||||
|
||||
(def ^:static +shape-schema+
|
||||
{:x [v/integer]
|
||||
:y [v/integer]
|
||||
:width [v/integer]
|
||||
:height [v/integer]
|
||||
:type [v/required sc/shape-type]})
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Events
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
Reference in New Issue
Block a user