@livetiles/reach-plugin-types 0.5.0-preview.810 → 0.5.0-preview.811
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/lib/index.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5030,8 +5030,8 @@ declare module "libs/reach/ui/common/src/common/LongPressUtil" {
|
|
|
5030
5030
|
declare module "libs/reach/ui/common/src/common/useVideosApi" {
|
|
5031
5031
|
import { ItemResourceTypes, VideoSource } from "libs/reach/util/common/src/index";
|
|
5032
5032
|
export function useVideosApi(): {
|
|
5033
|
-
getVideoThumbnailUrl: (token: string, subscriptionId: string, videoSource: VideoSource, videoId: string, itemId?: string, hasCustomThumbnail?: boolean) => string;
|
|
5034
|
-
getBannerVideoThumbnailUrl: (token: string, itemId: string, subscriptionId: string, resourceType: ItemResourceTypes) => string;
|
|
5033
|
+
getVideoThumbnailUrl: (token: string, subscriptionId: string, videoSource: VideoSource, videoId: string, itemId?: string, hasCustomThumbnail?: boolean, width?: number | 'default', height?: number) => string;
|
|
5034
|
+
getBannerVideoThumbnailUrl: (token: string, itemId: string, subscriptionId: string, resourceType: ItemResourceTypes, width: number | 'default', height?: number) => string;
|
|
5035
5035
|
uploadCustomVideoThumbnail: (token: string, itemId: string, subscriptionId: string, videoId: string, file: File) => Promise<Response>;
|
|
5036
5036
|
};
|
|
5037
5037
|
}
|