mirror of
https://github.com/penpot/penpot.git
synced 2025-06-26 00:36:59 +02:00
✨ Disallow to view a file with components-v2
This commit is contained in:
parent
ce7eed5ea0
commit
3a6876eeec
3 changed files with 19 additions and 5 deletions
|
@ -45,6 +45,7 @@
|
|||
(s/def ::file-id ::us/uuid)
|
||||
(s/def ::profile-id ::us/uuid)
|
||||
(s/def ::share-id ::us/uuid)
|
||||
(s/def ::components-v2 ::us/boolean)
|
||||
|
||||
(s/def ::view-only-bundle
|
||||
(s/keys :req-un [::file-id] :opt-un [::profile-id ::share-id ::components-v2]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue