mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Avoid spec failure if not path or annotations
This commit is contained in:
parent
30dd9c5222
commit
568338ad68
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user