react-covideo-embed 0.1.26 → 0.1.27
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 +7 -0
- package/build/app/pages/insertVideo/InsertVideo.d.ts +0 -6
- package/build/app/pages/insertVideo/components/CopyVideoButton.d.ts +13 -0
- package/build/app/pages/insertVideo/components/InsertButton.d.ts +13 -0
- package/build/app/pages/library/Library.d.ts +0 -6
- package/build/app/pages/merge/components/VideoMerge.d.ts +0 -14
- package/build/app/pages/merge/components/VideoThumbnail.d.ts +0 -1
- package/build/index.d.ts +2 -0
- package/build/index.js +135 -135
- package/build/lib/api/quckshareApi.d.ts +2 -1
- package/build/lib/api/videoTagsApi.d.ts +2 -1
- package/build/lib/components/DragAndDrop.d.ts +2 -7
- package/build/lib/components/index.d.ts +0 -1
- package/build/lib/components/videoUpload/VideoUpload.d.ts +0 -6
- package/build/lib/components/videoUpload/styles.d.ts +0 -6
- package/build/lib/config.d.ts +3 -2
- package/build/lib/const/AutomotiveRole.d.ts +0 -4
- package/build/lib/const/index.d.ts +0 -1
- package/build/lib/context/ActionDispatchContext.d.ts +0 -1
- package/build/lib/context/ConfigurationContext.d.ts +1 -0
- package/build/lib/hooks/index.d.ts +0 -1
- package/build/lib/hooks/query/markAsSent/useQuickShareMarkAsSentMutation.d.ts +3 -2
- package/build/lib/hooks/useCreateVideo.d.ts +1 -1
- package/build/lib/hooks/useEncodeVideo.d.ts +1 -1
- package/build/lib/hooks/useMediaRecorder.d.ts +4 -18
- package/build/lib/hooks/useQueryFetch.d.ts +4 -7
- package/build/lib/hooks/useQueryState.d.ts +1 -1
- package/build/lib/hooks/useS3Upload.d.ts +1 -1
- package/build/lib/utils/automotiveRolePermissionChecks.d.ts +0 -6
- package/build/lib/utils/functions.d.ts +0 -1
- package/package.json +2 -2
- package/build/lib/components/inputs/CheckboxInput.d.ts +0 -18
- package/build/lib/components/inputs/index.d.ts +0 -2
- package/build/lib/components/modal/ModalLeave.d.ts +0 -15
- package/build/lib/const/InternalCustomers.d.ts +0 -9
- package/build/lib/hooks/useQuickShare.d.ts +0 -15
- package/build/lib/images/ArrowBackcon.d.ts +0 -2
- package/build/lib/images/CutIcon.d.ts +0 -2
- package/build/lib/images/DropdownIcon.d.ts +0 -1
- package/build/lib/images/InsertVideoIcon.d.ts +0 -2
- package/build/lib/images/MovieIcon.d.ts +0 -2
- package/build/lib/utils/object.d.ts +0 -3
package/README.md
CHANGED
|
@@ -68,6 +68,7 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
|
|
|
68
68
|
|
|
69
69
|
- **Type**: `Array<Feature>`
|
|
70
70
|
- **Description**: Determines which Covideo features to hide. Acceptable values are as follows:
|
|
71
|
+
|
|
71
72
|
- `insert`
|
|
72
73
|
- `recordScreen`
|
|
73
74
|
- `recordBoth`
|
|
@@ -82,6 +83,12 @@ Explore the capabilities of react-covideo-embed through our [Demo Project](https
|
|
|
82
83
|
- `landingPage`
|
|
83
84
|
- `CTA`
|
|
84
85
|
- `reactions`
|
|
86
|
+
- `aiAssist`
|
|
87
|
+
|
|
88
|
+
### `apikey` (optional)
|
|
89
|
+
|
|
90
|
+
- **Type**: `string`
|
|
91
|
+
- **Description**: Used for tracking the origin of requests from this npm module.
|
|
85
92
|
|
|
86
93
|
## APIs/Functions
|
|
87
94
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VideoListItem } from 'lib/api';
|
|
2
|
+
import { VideoListAutomotiveItem } from 'lib/context';
|
|
3
|
+
import { VideoShareSetData } from '../InsertVideo';
|
|
4
|
+
type Props = {
|
|
5
|
+
video: VideoListAutomotiveItem | VideoListItem;
|
|
6
|
+
disable: boolean;
|
|
7
|
+
getMarkAsSentPayload: () => Promise<{
|
|
8
|
+
videoShareSetData: VideoShareSetData;
|
|
9
|
+
useAutomotive: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
export declare const CopyVideoButton: ({ video, getMarkAsSentPayload, disable, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VideoListItem } from 'lib/api';
|
|
2
|
+
import { VideoListAutomotiveItem } from 'lib/context';
|
|
3
|
+
import { VideoShareSetData } from '../InsertVideo';
|
|
4
|
+
type Props = {
|
|
5
|
+
video: VideoListAutomotiveItem | VideoListItem;
|
|
6
|
+
disable: boolean;
|
|
7
|
+
getMarkAsSentPayload: () => Promise<{
|
|
8
|
+
videoShareSetData: VideoShareSetData;
|
|
9
|
+
useAutomotive: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
export declare const InsertButton: ({ video, getMarkAsSentPayload, disable, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,15 +1 @@
|
|
|
1
|
-
export declare const CloseContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export type VideosProps = {
|
|
3
|
-
id: string;
|
|
4
|
-
start: string;
|
|
5
|
-
end: string;
|
|
6
|
-
startSec: number;
|
|
7
|
-
endSec: number;
|
|
8
|
-
flvName: string;
|
|
9
|
-
duration: number;
|
|
10
|
-
trimDuration: number;
|
|
11
|
-
width: number;
|
|
12
|
-
ref: any;
|
|
13
|
-
source: string;
|
|
14
|
-
};
|
|
15
1
|
export declare const VideoMerge: ({ videos, setVideos }: any) => import("react/jsx-runtime").JSX.Element;
|
package/build/index.d.ts
CHANGED
|
@@ -57,5 +57,7 @@ export type CovideoEmbedProps = {
|
|
|
57
57
|
* @param error - The error occurred during video insert.
|
|
58
58
|
*/
|
|
59
59
|
onVideoInsertError?: (error: unknown) => void;
|
|
60
|
+
/** Used for tracking the origin of requests from this npm module. */
|
|
61
|
+
apikey?: string;
|
|
60
62
|
};
|
|
61
63
|
export declare const CovideoEmbed: React.FC<CovideoEmbedProps>;
|