From 4e31dcb8f96211620ebd91d4c24af0bede86a26e Mon Sep 17 00:00:00 2001 From: Jeremy LaCivita Date: Wed, 7 Feb 2024 10:26:33 -0500 Subject: [PATCH] fix: Add Music to Playable entities --- package-lock.json | 4 ++-- src/schemas/intents.json | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index cf954c2ef..b9e221411 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16951,7 +16951,7 @@ }, "src/sdks/core": { "name": "@firebolt-js/sdk", - "version": "1.0.0", + "version": "1.1.0-next.1", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", @@ -16962,7 +16962,7 @@ }, "src/sdks/manage": { "name": "@firebolt-js/manage-sdk", - "version": "1.0.0", + "version": "1.1.0-next.1", "license": "Apache-2.0", "devDependencies": { "jest": "^28.1.0", diff --git a/src/schemas/intents.json b/src/schemas/intents.json index d690fa88a..8aff1be7c 100644 --- a/src/schemas/intents.json +++ b/src/schemas/intents.json @@ -458,6 +458,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": [ @@ -690,6 +710,9 @@ { "$ref": "#/definitions/PlaylistEntity" }, + { + "$ref": "#/definitions/MusicEntity" + }, { "$ref": "#/definitions/AdditionalEntity" }