@webiny/api-file-manager 5.29.0 → 5.30.0
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.
|
@@ -4,8 +4,8 @@ export interface SanitizeImageArgs {
|
|
|
4
4
|
export interface SanitizeImageTransformations {
|
|
5
5
|
width: number;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (args?: SanitizeImageArgs | undefined) => SanitizeImageTransformations | null;
|
|
8
7
|
/**
|
|
9
8
|
* Takes only allowed transformations into consideration, and discards the rest.
|
|
10
9
|
*/
|
|
10
|
+
declare const _default: (args?: SanitizeImageArgs) => SanitizeImageTransformations | null;
|
|
11
11
|
export default _default;
|
|
@@ -2,9 +2,9 @@ import { Body } from "aws-sdk/clients/s3";
|
|
|
2
2
|
interface Transformation {
|
|
3
3
|
width: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (buffer: Body, transformations: Transformation) => Promise<Body>;
|
|
6
5
|
/**
|
|
7
6
|
* Only processing "width" at the moment.
|
|
8
7
|
* Check "sanitizeImageTransformations.js" to allow additional image processing transformations.
|
|
9
8
|
*/
|
|
9
|
+
declare const _default: (buffer: Body, transformations: Transformation) => Promise<Body>;
|
|
10
10
|
export default _default;
|
|
@@ -2,8 +2,8 @@ export interface ObjectParamsResponse {
|
|
|
2
2
|
Bucket: string;
|
|
3
3
|
Key: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (filename: string) => ObjectParamsResponse;
|
|
6
5
|
/**
|
|
7
6
|
* Returns website's Bucket and file's Key values.
|
|
8
7
|
*/
|
|
8
|
+
declare const _default: (filename: string) => ObjectParamsResponse;
|
|
9
9
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-file-manager",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.30.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fm:base"
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@babel/runtime": "7.18.
|
|
21
|
+
"@babel/runtime": "7.18.6",
|
|
22
22
|
"@commodo/fields": "1.1.2-beta.20",
|
|
23
|
-
"@webiny/api-security": "5.
|
|
24
|
-
"@webiny/api-tenancy": "5.
|
|
25
|
-
"@webiny/api-upgrade": "5.
|
|
26
|
-
"@webiny/error": "5.
|
|
27
|
-
"@webiny/handler": "5.
|
|
28
|
-
"@webiny/handler-args": "5.
|
|
29
|
-
"@webiny/handler-client": "5.
|
|
30
|
-
"@webiny/handler-graphql": "5.
|
|
31
|
-
"@webiny/plugins": "5.
|
|
32
|
-
"@webiny/project-utils": "5.
|
|
33
|
-
"@webiny/validation": "5.
|
|
34
|
-
"aws-sdk": "2.
|
|
23
|
+
"@webiny/api-security": "5.30.0",
|
|
24
|
+
"@webiny/api-tenancy": "5.30.0",
|
|
25
|
+
"@webiny/api-upgrade": "5.30.0",
|
|
26
|
+
"@webiny/error": "5.30.0",
|
|
27
|
+
"@webiny/handler": "5.30.0",
|
|
28
|
+
"@webiny/handler-args": "5.30.0",
|
|
29
|
+
"@webiny/handler-client": "5.30.0",
|
|
30
|
+
"@webiny/handler-graphql": "5.30.0",
|
|
31
|
+
"@webiny/plugins": "5.30.0",
|
|
32
|
+
"@webiny/project-utils": "5.30.0",
|
|
33
|
+
"@webiny/validation": "5.30.0",
|
|
34
|
+
"aws-sdk": "2.1173.0",
|
|
35
35
|
"commodo-fields-object": "1.0.6",
|
|
36
36
|
"mdbid": "1.0.0",
|
|
37
37
|
"object-hash": "1.3.1",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@babel/plugin-transform-runtime": "^7.16.4",
|
|
45
45
|
"@babel/preset-env": "^7.16.4",
|
|
46
46
|
"@babel/preset-typescript": "^7.16.0",
|
|
47
|
-
"@webiny/api-i18n": "^5.
|
|
48
|
-
"@webiny/api-i18n-ddb": "^5.
|
|
49
|
-
"@webiny/cli": "^5.
|
|
50
|
-
"jest": "^
|
|
47
|
+
"@webiny/api-i18n": "^5.30.0",
|
|
48
|
+
"@webiny/api-i18n-ddb": "^5.30.0",
|
|
49
|
+
"@webiny/cli": "^5.30.0",
|
|
50
|
+
"jest": "^28.1.0",
|
|
51
51
|
"rimraf": "^3.0.2",
|
|
52
52
|
"ttypescript": "^1.5.12",
|
|
53
|
-
"typescript": "4.
|
|
53
|
+
"typescript": "4.7.4"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
]
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "3cadc5d26e565586b28772afbc18ae554ce7b782"
|
|
75
75
|
}
|