@aspan-corporation/ac-shared 1.2.23 → 1.2.24
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/utils/thumbsKey.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const EXTENSION_JPG = "jpg";
|
|
|
3
3
|
export declare const EXTENSION_WEBP = "webp";
|
|
4
4
|
export declare const EXTENSION_HEIC = "heic";
|
|
5
5
|
export declare const EXTENSION_MOV = "mov";
|
|
6
|
+
export declare const EXTENSION_MP4 = "mp4";
|
|
6
7
|
export declare const EXTENSION_THUMBS = "webp";
|
|
7
8
|
export declare const EXTENSION_ENCODED_VIDEO = "mp4";
|
|
8
9
|
export declare const ALLOWED_EXTENSIONS: string[];
|
package/lib/utils/thumbsKey.js
CHANGED
|
@@ -3,14 +3,15 @@ export const EXTENSION_JPG = "jpg";
|
|
|
3
3
|
export const EXTENSION_WEBP = "webp";
|
|
4
4
|
export const EXTENSION_HEIC = "heic";
|
|
5
5
|
export const EXTENSION_MOV = "mov";
|
|
6
|
+
export const EXTENSION_MP4 = "mp4";
|
|
6
7
|
export const EXTENSION_THUMBS = EXTENSION_WEBP;
|
|
7
|
-
export const EXTENSION_ENCODED_VIDEO =
|
|
8
|
+
export const EXTENSION_ENCODED_VIDEO = EXTENSION_MP4;
|
|
8
9
|
export const ALLOWED_EXTENSIONS = [
|
|
9
10
|
EXTENSION_JPEG,
|
|
10
11
|
EXTENSION_JPG,
|
|
11
12
|
EXTENSION_HEIC
|
|
12
13
|
];
|
|
13
|
-
export const ALLOWED_VIDEO_EXTENSIONS = [EXTENSION_MOV];
|
|
14
|
+
export const ALLOWED_VIDEO_EXTENSIONS = [EXTENSION_MOV, EXTENSION_MP4];
|
|
14
15
|
export const DIM_THUMBNAIL_WIDTH = 320;
|
|
15
16
|
export const DIM_THUMBNAIL_HEIGHT = 320;
|
|
16
17
|
export const DIM_DETAIL_WIDTH = 1180;
|