@mediahub-bg/ott-objects 0.4.94 → 0.4.97
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.
- package/package.json +1 -1
- package/web/types.ts +24 -0
package/package.json
CHANGED
package/web/types.ts
CHANGED
|
@@ -378,6 +378,8 @@ export interface ChannelUpdateRequest {
|
|
|
378
378
|
adult?: boolean;
|
|
379
379
|
liveOnly?: boolean;
|
|
380
380
|
age?: number /* uint */;
|
|
381
|
+
epgInfo?: EPGInfoUpdate;
|
|
382
|
+
profileGroups?: ProfileGroupUpdate[];
|
|
381
383
|
}
|
|
382
384
|
export interface ChannelStat {
|
|
383
385
|
id: string;
|
|
@@ -402,6 +404,28 @@ export interface ChannelStatsResponse {
|
|
|
402
404
|
export interface ChannelCloneRequest {
|
|
403
405
|
newId?: string;
|
|
404
406
|
}
|
|
407
|
+
/**
|
|
408
|
+
* EPGInfoUpdate carries the user-editable sub-fields of EPGInfo.
|
|
409
|
+
* * LastUpdate, LastSync and Sums are server-managed and not included.
|
|
410
|
+
*/
|
|
411
|
+
export interface EPGInfoUpdate {
|
|
412
|
+
id?: number /* uint */;
|
|
413
|
+
name?: string;
|
|
414
|
+
type?: string;
|
|
415
|
+
url?: string;
|
|
416
|
+
customHeaders?: string[];
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* ProfileGroupUpdate is the JSON-serialisable equivalent of M3U8ProfileGroup.
|
|
420
|
+
* * M3U8ProfileGroup carries json:"-" on all fields to hide them from the
|
|
421
|
+
* * client-facing API; this type is used only in admin update requests.
|
|
422
|
+
*/
|
|
423
|
+
export interface ProfileGroupUpdate {
|
|
424
|
+
type: string;
|
|
425
|
+
regex?: string;
|
|
426
|
+
profileIds: number /* int */[];
|
|
427
|
+
name?: string;
|
|
428
|
+
}
|
|
405
429
|
export interface ChannelRPCRequest {
|
|
406
430
|
cmd: string;
|
|
407
431
|
args: string[];
|