react-covideo-embed 0.1.6 → 0.1.8
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 +1 -0
- package/build/app/CovideoEmbed.d.ts +2 -1
- package/build/app/pages/video/components/Preview.d.ts +2 -1
- package/build/index.js +1 -1
- package/build/lib/components/PreviewVideoBar.d.ts +2 -1
- package/build/lib/context/ConfigurationContext.d.ts +1 -0
- package/build/lib/hooks/useVideoShareLink.d.ts +2 -5
- package/build/lib/utils/functions.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ type PreviewProps = {
|
|
|
2
2
|
onSaveVideo: Function;
|
|
3
3
|
isSaveDisabled?: boolean;
|
|
4
4
|
setInsertAfterSave: (arg: boolean) => void;
|
|
5
|
+
uploadLoading: boolean;
|
|
5
6
|
};
|
|
6
|
-
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, }: PreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const PreviewVideoBar: ({ onSaveVideo, isSaveDisabled, setInsertAfterSave, uploadLoading, }: PreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type VideoShareLinkData = {
|
|
2
2
|
url: string;
|
|
3
3
|
html: string;
|
|
4
|
+
thumbnail: string;
|
|
4
5
|
key?: string;
|
|
5
6
|
};
|
|
6
7
|
export type VideoShareSetData = {
|
|
@@ -11,8 +12,4 @@ export type VideoShareSetData = {
|
|
|
11
12
|
vin: string;
|
|
12
13
|
allowReactions?: boolean;
|
|
13
14
|
};
|
|
14
|
-
export declare const getExpressLinkWithData: (videoShareSetData: VideoShareSetData, useAutomotive?: boolean) => Promise<
|
|
15
|
-
url: any;
|
|
16
|
-
html: any;
|
|
17
|
-
key: any;
|
|
18
|
-
}>;
|
|
15
|
+
export declare const getExpressLinkWithData: (videoShareSetData: VideoShareSetData, useAutomotive?: boolean) => Promise<VideoShareLinkData>;
|
|
@@ -16,4 +16,5 @@ export declare const checkIfVideoIsTrimmed: ({ trimStart, trimEnd, videoDuration
|
|
|
16
16
|
export declare const isSafari: boolean;
|
|
17
17
|
export declare const toMB: (KB: number) => string;
|
|
18
18
|
export declare function capitalizeFirstLetter(string: string): string;
|
|
19
|
+
export declare function extractUrls(str: string): [] | RegExpMatchArray;
|
|
19
20
|
export {};
|