Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 9dd862c

Browse files
Merge pull request #221 from sketch-hq/document-version-146-support
Add support for per-document libraries
2 parents 2837df7 + 147fb8a commit 9dd862c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.changeset/three-cycles-sleep.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@sketch-hq/sketch-file-format': minor
3+
'@sketch-hq/sketch-file-format-ts': minor
4+
---
5+
6+
Add support for per-document libraries

packages/file-format/schema/meta.schema.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ properties:
5252
- 143
5353
- 144
5454
- 145
55+
- 146
5556
compatibilityVersion: { const: 99 }
5657
coeditCompatibilityVersion: { type: number }
5758
app: { $ref: ./enums/bundle-id.schema.yaml }

packages/file-format/schema/objects/document-library-info.schema.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ description:
33
Represents a "reference" to the asset library, that is used in the document
44
type: object
55
optional:
6+
- do_objectID
67
- name
78
- appcastURL
89
- documentID
910
- shareID
1011
- workspaceName
1112
properties:
1213
_class: { const: MSImmutableDocumentLibraryInfo }
14+
do_objectID: { $ref: ./utils/uuid.schema.yaml }
1315
libraryType: { $ref: ../enums/document-library-type.schema.yaml }
1416
name: { type: string }
1517
appcastURL: { type: string }

0 commit comments

Comments
 (0)