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

🐛 Avoid spec failure if not path or annotations

This commit is contained in:
Andrés Moya 2023-05-16 12:22:10 +02:00
parent 30dd9c5222
commit 568338ad68

View file

@ -22,8 +22,8 @@
(s/def ::page-id uuid?) (s/def ::page-id uuid?)
(s/def ::component-id uuid?) (s/def ::component-id uuid?)
(s/def ::name string?) (s/def ::name string?)
(s/def ::path string?) (s/def ::path (s/nilable string?))
(s/def ::annotation string?) (s/def ::annotation (s/nilable string?))
(defmulti operation-spec :type) (defmulti operation-spec :type)