@kohost/api-client 3.0.0-beta.104 → 3.0.0-beta.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -90,7 +90,8 @@ export type Notification = {
|
|
|
90
90
|
*/
|
|
91
91
|
export interface MediaSource {
|
|
92
92
|
id: string;
|
|
93
|
-
type:
|
|
93
|
+
type: string;
|
|
94
|
+
discriminator: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
|
|
94
95
|
name?: string;
|
|
95
96
|
driver:
|
|
96
97
|
| "aws-kinesis"
|
|
@@ -742,7 +742,8 @@ export interface Camera {
|
|
|
742
742
|
*/
|
|
743
743
|
export interface MediaSource {
|
|
744
744
|
id: string;
|
|
745
|
-
type:
|
|
745
|
+
type: string;
|
|
746
|
+
discriminator: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
|
|
746
747
|
name?: string;
|
|
747
748
|
driver:
|
|
748
749
|
| "aws-kinesis"
|
|
@@ -4,12 +4,16 @@
|
|
|
4
4
|
"title": "Media Source",
|
|
5
5
|
"description": "Any media source",
|
|
6
6
|
"type": "object",
|
|
7
|
-
"required": ["id", "type", "audio", "video", "driver"],
|
|
7
|
+
"required": ["id", "type", "discriminator", "audio", "video", "driver"],
|
|
8
8
|
"properties": {
|
|
9
9
|
"id": {
|
|
10
10
|
"$ref": "definitions.json#/definitions/id"
|
|
11
11
|
},
|
|
12
12
|
"type": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "mediaSource"
|
|
15
|
+
},
|
|
16
|
+
"discriminator": {
|
|
13
17
|
"type": "string",
|
|
14
18
|
"enum": [
|
|
15
19
|
"tv",
|
package/dist/esm/Models.js
CHANGED
|
@@ -10115,12 +10115,16 @@ var require_mediaSource = __commonJS({
|
|
|
10115
10115
|
title: "Media Source",
|
|
10116
10116
|
description: "Any media source",
|
|
10117
10117
|
type: "object",
|
|
10118
|
-
required: ["id", "type", "audio", "video", "driver"],
|
|
10118
|
+
required: ["id", "type", "discriminator", "audio", "video", "driver"],
|
|
10119
10119
|
properties: {
|
|
10120
10120
|
id: {
|
|
10121
10121
|
$ref: "definitions.json#/definitions/id"
|
|
10122
10122
|
},
|
|
10123
10123
|
type: {
|
|
10124
|
+
type: "string",
|
|
10125
|
+
default: "mediaSource"
|
|
10126
|
+
},
|
|
10127
|
+
discriminator: {
|
|
10124
10128
|
type: "string",
|
|
10125
10129
|
enum: [
|
|
10126
10130
|
"tv",
|