-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shane Osbourne
committed
Oct 13, 2024
1 parent
e76c98b
commit 2cb9c99
Showing
33 changed files
with
1,540 additions
and
33 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/special-pages/messages/new-tab/favorites_action.notify.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"allOf": [ | ||
{ | ||
"$ref": "types/favorites-data.json" | ||
}, | ||
{ | ||
"$ref": "types/favorites-action.json" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/special-pages/messages/new-tab/favorites_getConfig.request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#" | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/special-pages/messages/new-tab/favorites_getConfig.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"allOf": [ | ||
{ | ||
"$ref": "./types/favorites-config.json" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/special-pages/messages/new-tab/favorites_getData.request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#" | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/special-pages/messages/new-tab/favorites_getData.response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"allOf": [ | ||
{ | ||
"$ref": "types/favorites-data.json" | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/special-pages/messages/new-tab/favorites_onConfigUpdate.subscribe.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"allOf": [ | ||
{ | ||
"$ref": "./types/favorites-config.json" | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/special-pages/messages/new-tab/favorites_onDataUpdate.subscribe.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"allOf": [ | ||
{ | ||
"$ref": "types/favorites-data.json" | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/special-pages/messages/new-tab/favorites_setConfig.notify.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"allOf": [ | ||
{ | ||
"$ref": "./types/favorites-config.json" | ||
} | ||
] | ||
} |
51 changes: 51 additions & 0 deletions
51
packages/special-pages/messages/new-tab/types/favorites-action.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"required": [ | ||
"action" | ||
], | ||
"properties": { | ||
"action": { | ||
"oneOf": [ | ||
{ | ||
"title": "Favorites Move Action", | ||
"type": "object", | ||
"required": [ | ||
"kind", | ||
"id", | ||
"targetIndex" | ||
], | ||
"properties": { | ||
"kind": { | ||
"type": "string", | ||
"const": "move" | ||
}, | ||
"id": { | ||
"description": "Entity ID", | ||
"type": "string" | ||
}, | ||
"targetIndex": { | ||
"description": "zero-indexed target", | ||
"type": "number" | ||
} | ||
} | ||
}, | ||
{ | ||
"title": "Favorites Context Menu Action", | ||
"type": "object", | ||
"required": ["id", "kind"], | ||
"properties": { | ||
"kind": { | ||
"type": "string", | ||
"const": "contextMenu" | ||
}, | ||
"id": { | ||
"description": "Entity ID", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
packages/special-pages/messages/new-tab/types/favorites-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "FavoritesConfig", | ||
"type": "object", | ||
"required": ["expansion"], | ||
"properties": { | ||
"expansion": { "$ref": "./expansion.json" }, | ||
"animation": { "$ref": "./animation.json" } | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/special-pages/messages/new-tab/types/favorites-data.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Favorites Data", | ||
"type": "object", | ||
"required": ["favorites"], | ||
"properties": { | ||
"favorites": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"title": "Favorite", | ||
"required": ["data", "id", "title", "favicon"], | ||
"properties": { | ||
"data": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "string" | ||
}, | ||
"title": { | ||
"type": "string" | ||
}, | ||
"favicon": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.