Skip to content

Commit

Permalink
fix: Add Music to Playable entities (#225)
Browse files Browse the repository at this point in the history
* fix: Add Music to Playable entities
* fix: Adding Music to EntityIntent as well
  • Loading branch information
jlacivita authored Feb 7, 2024
1 parent abecdf1 commit 22c9b71
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions src/schemas/intents.json
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@
{
"$ref": "#/definitions/TVSeasonEntity"
},
{
"$ref": "#/definitions/MusicEntity"
},
{
"$ref": "#/definitions/AdditionalEntity"
},
Expand Down Expand Up @@ -458,6 +461,26 @@
"entityId"
]
},
"MusicEntity": {
"title": "MusicEntity",
"type": "object",
"properties": {
"entityType": {
"const": "music"
},
"musicType": {
"$ref": "https://meta.comcast.com/firebolt/entertainment#/definitions/MusicType"
},
"entityId": {
"type": "string"
}
},
"required": [
"entityType",
"musicType",
"entityId"
]
},
"MovieEntity": {
"title": "MovieEntity",
"allOf": [
Expand Down Expand Up @@ -690,6 +713,9 @@
{
"$ref": "#/definitions/PlaylistEntity"
},
{
"$ref": "#/definitions/MusicEntity"
},
{
"$ref": "#/definitions/AdditionalEntity"
}
Expand Down

0 comments on commit 22c9b71

Please sign in to comment.