@aspan-corporation/ac-shared 1.0.28 → 1.0.30

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.
@@ -1,8 +1,11 @@
1
1
  export declare const JPEG_EXTENSION = "jpeg";
2
2
  export declare const JPG_EXTENSION = "jpg";
3
3
  export declare const HEIC_EXTENSION = "heic";
4
- export declare const DEFAULT_THUMBS_EXTENSION = "jpg";
4
+ export declare const MOV_EXTENSION = "mov";
5
+ export declare const THUMBS_EXTENSION = "jpg";
6
+ export declare const ENCODED_VIDEO_EXTENSION = "mp4";
5
7
  export declare const ALLOWED_EXTENSIONS: string[];
8
+ export declare const ALLOWED_VIDEO_EXTENSIONS: string[];
6
9
  export declare const THUMBNAIL_RESOLUTIONS: number[][];
7
10
  export declare const getThumbsKey: ({ key, prefix, width, height }: {
8
11
  key: string;
@@ -10,5 +13,10 @@ export declare const getThumbsKey: ({ key, prefix, width, height }: {
10
13
  width: number;
11
14
  height: number;
12
15
  }) => string;
16
+ export declare const getEncodedVideoKey: ({ key, prefix }: {
17
+ key: string;
18
+ prefix: string;
19
+ }) => string;
13
20
  export declare const getKeyExtension: (key: string) => string;
14
21
  export declare const isAllowedExtension: (key: string) => boolean;
22
+ export declare const isAllowedVideoExtension: (key: string) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspan-corporation/ac-shared",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "lib/index.js",