@tivio/sdk-react 4.0.1 → 4.1.0

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/README.md CHANGED
@@ -6,6 +6,11 @@ settings in the administration of Tivio Studio while having the freedom to build
6
6
 
7
7
  ## Changelog
8
8
 
9
+ * v4.1.0
10
+ * patch: added italian language to `LangCode` enum
11
+ * minor: fixed spanish language code in `LangCode` enum (`sp` -> `es`)
12
+ * minor: other misc type changes
13
+
9
14
  * v4.0.1
10
15
  * patch: added setBundleVersion setter to bundle type
11
16
  * patch: added setStorageManager setter to bundle type
package/README.md.bak CHANGED
@@ -6,6 +6,11 @@ settings in the administration of Tivio Studio while having the freedom to build
6
6
 
7
7
  ## Changelog
8
8
 
9
+ * v4.1.0
10
+ * patch: added italian language to `LangCode` enum
11
+ * minor: fixed spanish language code in `LangCode` enum (`sp` -> `es`)
12
+ * minor: other misc type changes
13
+
9
14
  * v4.0.1
10
15
  * patch: added setBundleVersion setter to bundle type
11
16
  * patch: added setStorageManager setter to bundle type
package/dist/index.d.ts CHANGED
@@ -368,7 +368,8 @@ export declare enum CUSTOMER_BUILD {
368
368
  MALL = "MALL",
369
369
  GARAZ = "GARAZ",
370
370
  U_KULATEHO_STOLU = "U_KULATEHO_STOLU",
371
- INVESTOREES = "INVESTOREES"
371
+ INVESTOREES = "INVESTOREES",
372
+ DVTV = "DVTV"
372
373
  }
373
374
 
374
375
  /**
@@ -528,8 +529,8 @@ export declare interface IndexedVideo extends IndexedObject {
528
529
  isDraft: boolean;
529
530
  type: VideoType;
530
531
  contentType?: VideoContentType;
531
- name: string;
532
- description: string;
532
+ name: string | Translation;
533
+ description: string | Translation;
533
534
  hide: boolean;
534
535
  isDuplicate: boolean;
535
536
  externals?: VideoExternals;
@@ -611,9 +612,10 @@ export declare enum LangCode {
611
612
  DE = "de",
612
613
  EN = "en",
613
614
  FR = "fr",
615
+ IT = "it",
614
616
  PL = "pl",
615
617
  SK = "sk",
616
- SP = "sp"
618
+ ES = "es"
617
619
  }
618
620
 
619
621
  /**
@@ -705,6 +707,15 @@ export declare interface Marker {
705
707
  type: 'AD' | 'AD_SEGMENT' | 'START' | 'END' | 'INTRO';
706
708
  }
707
709
 
710
+ /**
711
+ * External information of video migrated via our Public API.
712
+ * @public
713
+ */
714
+ export declare interface MigratedVideoExternals {
715
+ externalVideoId: string;
716
+ additionalData: any;
717
+ }
718
+
708
719
  /**
709
720
  * @public
710
721
  */
@@ -1255,6 +1266,7 @@ export declare interface RouterOverrides {
1255
1266
  goBack: () => void;
1256
1267
  goLivePlayer: (videoId: string) => void;
1257
1268
  goVodPlayer: (tvChannelId: string) => void;
1269
+ goToHome: () => void;
1258
1270
  }
1259
1271
 
1260
1272
  /**
@@ -2098,7 +2110,7 @@ declare type TransactionInfo = {
2098
2110
  * @public
2099
2111
  */
2100
2112
  export declare type Translation = {
2101
- [key in LangCode]: string;
2113
+ [key in LangCode]?: string;
2102
2114
  };
2103
2115
 
2104
2116
  /**
@@ -2504,6 +2516,9 @@ export declare enum VastProvider {
2504
2516
  GARAZ_TV_DEV = "garaz.tv.dev",
2505
2517
  IMPRESSION_MEDIA_PREBID = "impressionMedia-prebid",
2506
2518
  JOJ = "joj",
2519
+ JOJ_AD_MANAGER_VOD_PREROLL = "joj-ad-manager-vod-preroll",
2520
+ JOJ_AD_MANAGER_VOD_MIDROLL = "joj-ad-manager-vod-midroll",
2521
+ JOJ_AD_MANAGER_LIVE_PREROLL = "joj-ad-manager-live-preroll",
2507
2522
  MALL_TV = "malltv",
2508
2523
  MALL_TV_PREBID = "malltv-prebid",
2509
2524
  PRIMA = "prima",
@@ -2590,7 +2605,7 @@ export declare enum VideoContentType {
2590
2605
  /**
2591
2606
  * @public
2592
2607
  */
2593
- export declare type VideoExternals = JojExternals | MallTvExternals | OktagonExternals;
2608
+ export declare type VideoExternals = JojExternals | MallTvExternals | OktagonExternals | MigratedVideoExternals;
2594
2609
 
2595
2610
  declare type VideoPath = string;
2596
2611