@mediahub-bg/ott-objects 0.3.93 → 0.4.7
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 +104 -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,73 @@ export interface PubVodEPG {
|
|
|
499
536
|
*/
|
|
500
537
|
access: number /* int */;
|
|
501
538
|
}
|
|
539
|
+
export interface PubVodEPGSearchEntry {
|
|
540
|
+
score: number /* float64 */;
|
|
541
|
+
PubVodEPG: PubVodEPG;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
//////////
|
|
545
|
+
// source: ia_pub.go
|
|
546
|
+
/*
|
|
547
|
+
Copyright (C) MediaHub Ltd - All Rights Reserved
|
|
548
|
+
* Unauthorized copying of this file, via any medium is strictly prohibited
|
|
549
|
+
* Proprietary and confidential
|
|
550
|
+
* Written by Nikolay Aleksandrov <razor@blackwall.org>, December 2020
|
|
551
|
+
*/
|
|
552
|
+
|
|
553
|
+
export interface IAUserProfileChangePub {
|
|
554
|
+
uid: string;
|
|
555
|
+
profile: string;
|
|
556
|
+
ts: number /* uint64 */;
|
|
557
|
+
token: string;
|
|
558
|
+
srcPort: number /* uint */;
|
|
559
|
+
}
|
|
560
|
+
export interface IAInternalUserLastContentPub {
|
|
561
|
+
profile: string;
|
|
562
|
+
token: string;
|
|
563
|
+
lastLocalUpdate: number /* uint64 */;
|
|
564
|
+
srcPort: number /* uint */;
|
|
565
|
+
PubEPG: PubEPG;
|
|
566
|
+
}
|
|
567
|
+
export interface IAEPGStatsEntryPub {
|
|
568
|
+
cnt: number /* uint */;
|
|
569
|
+
PubEPG: PubEPG;
|
|
570
|
+
}
|
|
571
|
+
export interface IAVodEPGStatsEntryPub {
|
|
572
|
+
cnt: number /* uint */;
|
|
573
|
+
PubVodEPG: PubVodEPG;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
//////////
|
|
577
|
+
// source: message_pub.go
|
|
578
|
+
/*
|
|
579
|
+
Copyright (C) MediaHub Ltd - All Rights Reserved
|
|
580
|
+
* Unauthorized copying of this file, via any medium is strictly prohibited
|
|
581
|
+
* Proprietary and confidential
|
|
582
|
+
* Written by Peter Gerasimov <gerasimov@mediahub.eu>, January 2026
|
|
583
|
+
*/
|
|
584
|
+
|
|
585
|
+
export interface PubMessage {
|
|
586
|
+
id?: string;
|
|
587
|
+
timestamp: number /* int64 */;
|
|
588
|
+
from?: string;
|
|
589
|
+
title?: string;
|
|
590
|
+
content?: string;
|
|
591
|
+
media?: string;
|
|
592
|
+
priority?: string;
|
|
593
|
+
type?: string;
|
|
594
|
+
read: boolean;
|
|
595
|
+
seen: boolean;
|
|
596
|
+
validFrom?: number /* int64 */;
|
|
597
|
+
validTo?: number /* int64 */;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
//////////
|
|
601
|
+
// source: pictures_pub.go
|
|
602
|
+
|
|
603
|
+
export interface PubPic {
|
|
604
|
+
url: string;
|
|
605
|
+
}
|
|
502
606
|
|
|
503
607
|
//////////
|
|
504
608
|
// source: token_pub.go
|