mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 15:48:28 +08:00
🐛 Avoid spec failure if not path or annotations
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
(s/def ::page-id uuid?)
|
||||
(s/def ::component-id uuid?)
|
||||
(s/def ::name string?)
|
||||
(s/def ::path string?)
|
||||
(s/def ::annotation string?)
|
||||
(s/def ::path (s/nilable string?))
|
||||
(s/def ::annotation (s/nilable string?))
|
||||
|
||||
(defmulti operation-spec :type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user