@mediahub-bg/ott-objects 0.3.91 → 0.4.6
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 +41 -0
package/package.json
CHANGED
package/web/types.ts
CHANGED
|
@@ -349,6 +349,43 @@ export interface PubChannel {
|
|
|
349
349
|
changets: number /* uint64 */;
|
|
350
350
|
profiles?: PubM3U8Profile[];
|
|
351
351
|
}
|
|
352
|
+
export interface ChannelUpdateRequest {
|
|
353
|
+
id: string;
|
|
354
|
+
access_mask?: string;
|
|
355
|
+
category?: number /* int */;
|
|
356
|
+
position?: number /* int */;
|
|
357
|
+
view_mask_array?: string[];
|
|
358
|
+
hideNoAccess?: boolean;
|
|
359
|
+
recordTime?: number /* uint64 */;
|
|
360
|
+
recBeginTS?: number /* int64 */;
|
|
361
|
+
transcoding?: any /* bson.M */[];
|
|
362
|
+
muxer?: any /* bson.M */[];
|
|
363
|
+
}
|
|
364
|
+
export interface ChannelStat {
|
|
365
|
+
id: string;
|
|
366
|
+
name: string;
|
|
367
|
+
live: number /* int64 */;
|
|
368
|
+
vod: number /* int64 */;
|
|
369
|
+
total: number /* int64 */;
|
|
370
|
+
livePercent: number /* float64 */;
|
|
371
|
+
vodPercent: number /* float64 */;
|
|
372
|
+
totalPercent: number /* float64 */;
|
|
373
|
+
}
|
|
374
|
+
export interface ChannelStatsResponse {
|
|
375
|
+
sortField: string;
|
|
376
|
+
begin: number /* int64 */;
|
|
377
|
+
end: number /* int64 */;
|
|
378
|
+
all: { [key: string]: number /* int64 */};
|
|
379
|
+
chanStats: ChannelStat[];
|
|
380
|
+
}
|
|
381
|
+
export interface ChannelRPCRequest {
|
|
382
|
+
cmd: string;
|
|
383
|
+
args: string[];
|
|
384
|
+
}
|
|
385
|
+
export interface SchemaReportItem {
|
|
386
|
+
valid: boolean;
|
|
387
|
+
error?: string;
|
|
388
|
+
}
|
|
352
389
|
|
|
353
390
|
//////////
|
|
354
391
|
// source: epgs_pub.go
|
|
@@ -499,6 +536,10 @@ export interface PubVodEPG {
|
|
|
499
536
|
*/
|
|
500
537
|
access: number /* int */;
|
|
501
538
|
}
|
|
539
|
+
export interface PubVodEPGSearchEntry {
|
|
540
|
+
score: number /* float64 */;
|
|
541
|
+
PubVodEPG: PubVodEPG;
|
|
542
|
+
}
|
|
502
543
|
|
|
503
544
|
//////////
|
|
504
545
|
// source: token_pub.go
|