Skip to content

Commit

Permalink
feat: remove assistants workspace definition (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrichards authored Jul 27, 2020
1 parent 2e9a99a commit 19b357e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
7 changes: 7 additions & 0 deletions .changeset/plenty-pugs-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@sketch-hq/sketch-file-format': patch
---

Do not define Assistants workspace item here in the file format. Assistants
workspace is now only defined in the
[Assistant Types](https://github.com/sketch-hq/sketch-assistants/tree/main/packages/types).
11 changes: 0 additions & 11 deletions schema/objects/assistants-workspace.schema.yaml

This file was deleted.

10 changes: 1 addition & 9 deletions schema/workspace.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ description:
The workspace is a folder in the Sketch file archive that can contain
arbitrary JSON files, allowing Sketch and 3rd party products and tools to
store settings that should travel with the Sketch document. To avoid clashes
or settings being overridden, select a unique name for your workspace file. A
workspace file named `assistants` has been reserved for Sketch Assistant
settings, and is specified below. Note that custom layer-level data should
continue to be stored in `userInfo` of these objects, not within the
workspace.
or settings being overridden, select a unique name for your workspace file.
type: object
additionalProperties:
type: object
additionalProperties: true
optional:
- assistants
properties:
assistants: { $ref: ./objects/assistants-workspace.schema.yaml }

0 comments on commit 19b357e

Please sign in to comment.