Skip to content

Commit

Permalink
Merge pull request #221 from sketch-hq/document-version-146-support
Browse files Browse the repository at this point in the history
Add support for per-document libraries
  • Loading branch information
christianklotz authored Apr 3, 2023
2 parents 2837df7 + 147fb8a commit 9dd862c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/three-cycles-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@sketch-hq/sketch-file-format': minor
'@sketch-hq/sketch-file-format-ts': minor
---

Add support for per-document libraries
1 change: 1 addition & 0 deletions packages/file-format/schema/meta.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ properties:
- 143
- 144
- 145
- 146
compatibilityVersion: { const: 99 }
coeditCompatibilityVersion: { type: number }
app: { $ref: ./enums/bundle-id.schema.yaml }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ description:
Represents a "reference" to the asset library, that is used in the document
type: object
optional:
- do_objectID
- name
- appcastURL
- documentID
- shareID
- workspaceName
properties:
_class: { const: MSImmutableDocumentLibraryInfo }
do_objectID: { $ref: ./utils/uuid.schema.yaml }
libraryType: { $ref: ../enums/document-library-type.schema.yaml }
name: { type: string }
appcastURL: { type: string }
Expand Down

0 comments on commit 9dd862c

Please sign in to comment.