@tivio/sdk-react 3.3.1 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/README.md.bak +2 -0
- package/dist/index.js +1 -1
- package/dist/types/bundle.types.d.ts +4 -1
- package/package.json +1 -1
- package/doc/changelog.md +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Currency, ItemsInRow, PaginationInterface, PaginationOptions, QerkoCancellationInfo, Row, ROW_ITEM_TYPES, SubscribeToItemsInRowOptions, SubscribeToTaggedVideos, Tag, TilePropsPartial, UseCancelSubscription, CUSTOMER_BUILD, PLATFORM, WebRowProps } from '@tivio/common';
|
1
|
+
import { Currency, ItemsInRow, PaginationInterface, PaginationOptions, QerkoCancellationInfo, Row, ROW_ITEM_TYPES, SubscribeToItemsInRowOptions, SubscribeToTaggedVideos, Tag, TilePropsPartial, UseCancelSubscription, CUSTOMER_BUILD, PLATFORM, WebRowProps, WebSeriesDetailScreenProps } from '@tivio/common';
|
2
2
|
import { ComponentType } from 'react';
|
3
3
|
import { Logger } from '../services/logger';
|
4
4
|
import { FetchPackage } from '../services/packageLoader';
|
@@ -208,6 +208,8 @@ interface TivioAuth {
|
|
208
208
|
createFreePurchase: (monetizationId: string) => Promise<void>;
|
209
209
|
}
|
210
210
|
export interface RouterOverrides {
|
211
|
+
goToVideoDetailPage: (videoId: string, type: ROW_ITEM_TYPES, rowId?: string) => void;
|
212
|
+
goToSeriesDetailPage: (tagId: string) => void;
|
211
213
|
goToPlayer: (videoId: string, type: ROW_ITEM_TYPES, rowId?: string) => void;
|
212
214
|
goToTagPage: (tagId: string) => void;
|
213
215
|
goToLoginScreen: () => void;
|
@@ -346,6 +348,7 @@ declare type TivioInternalComponents = {
|
|
346
348
|
WebVideoScreen: React.ComponentType<{
|
347
349
|
videoId: string;
|
348
350
|
}>;
|
351
|
+
WebSeriesDetailScreen: React.ComponentType<WebSeriesDetailScreenProps>;
|
349
352
|
};
|
350
353
|
declare type TivioInternalHooks = {
|
351
354
|
useAuthOverlay: () => AuthOverlayState;
|
package/package.json
CHANGED
package/doc/changelog.md
DELETED
File without changes
|