@mediahub-bg/ott-objects 0.6.8 → 0.6.32
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 +12 -0
package/package.json
CHANGED
package/web/types.ts
CHANGED
|
@@ -369,10 +369,17 @@ export interface EPGSkip {
|
|
|
369
369
|
offset: number /* int */;
|
|
370
370
|
skipTime: number /* int */;
|
|
371
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* bson tags are spelled out lowercase to match what is already stored: with no
|
|
374
|
+
* * tag the driver lowercases the whole Go field name, so PersonId lands as
|
|
375
|
+
* * "personid" and not as the json spelling.
|
|
376
|
+
*/
|
|
372
377
|
export interface EPGPerson {
|
|
373
378
|
personId: number /* int64 */;
|
|
374
379
|
function: string;
|
|
375
380
|
name: string;
|
|
381
|
+
role?: string;
|
|
382
|
+
photo?: string;
|
|
376
383
|
}
|
|
377
384
|
export interface EPGGuest {
|
|
378
385
|
personId: number /* int64 */;
|
|
@@ -737,12 +744,17 @@ export interface PubSportConfig {
|
|
|
737
744
|
//////////
|
|
738
745
|
// source: token_pub.go
|
|
739
746
|
|
|
747
|
+
export interface TokExtra {
|
|
748
|
+
cf_marketing?: boolean;
|
|
749
|
+
cf_terms?: boolean;
|
|
750
|
+
}
|
|
740
751
|
export interface PubToken {
|
|
741
752
|
access_token: string;
|
|
742
753
|
expires_in: number /* int64 */;
|
|
743
754
|
token_type: string;
|
|
744
755
|
scope: string;
|
|
745
756
|
refreshToken?: string;
|
|
757
|
+
extraInfo?: TokExtra;
|
|
746
758
|
}
|
|
747
759
|
|
|
748
760
|
//////////
|