0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00

Remove required validator from shape props schema.

This commit is contained in:
Andrey Antukh 2016-01-17 23:29:27 +02:00
parent 1dc85c00c6
commit 8c47d216b1

View file

@ -14,10 +14,10 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def ^:static +shape-props-schema+
{:x [v/required v/integer]
:y [v/required v/integer]
:width [v/required v/integer]
:height [v/required v/integer]})
{:x [v/integer]
:y [v/integer]
:width [v/integer]
:height [v/integer]})
(def ^:static +shape-schema+
{:x [v/integer]