@webiny/api-file-manager-s3 5.37.2 → 5.37.3-beta.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.
- package/index.js +3 -1
- package/multiPartUpload/CompleteMultiPartUploadUseCase.js +3 -1
- package/multiPartUpload/CreateMultiPartUploadUseCase.js +3 -1
- package/package.json +12 -12
- package/plugins/checkPermissions.js +3 -1
- package/plugins/fileStorageS3.js +3 -1
- package/plugins/graphqlFileStorageS3.js +3 -1
- package/types.js +3 -1
- package/utils/FileExtension.js +3 -1
- package/utils/FileKey.js +3 -1
- package/utils/FileNormalizer.js +3 -1
- package/utils/FileUploadModifier.js +3 -1
- package/utils/createFileNormalizerFromContext.js +3 -1
- package/utils/getPresignedPostPayload.js +3 -1
- package/utils/mimeTypes.js +3 -1
- package/utils/uploadFileToS3.js +3 -1
package/index.js
CHANGED
|
@@ -15,4 +15,6 @@ var _graphqlFileStorageS = _interopRequireDefault(require("./plugins/graphqlFile
|
|
|
15
15
|
var _fileStorageS = _interopRequireDefault(require("./plugins/fileStorageS3"));
|
|
16
16
|
var _FileUploadModifier = require("./utils/FileUploadModifier");
|
|
17
17
|
var _default = () => [(0, _fileStorageS.default)(), _graphqlFileStorageS.default];
|
|
18
|
-
exports.default = _default;
|
|
18
|
+
exports.default = _default;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -62,4 +62,6 @@ class CompleteMultiPartUploadUseCase {
|
|
|
62
62
|
}));
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
exports.CompleteMultiPartUploadUseCase = CompleteMultiPartUploadUseCase;
|
|
65
|
+
exports.CompleteMultiPartUploadUseCase = CompleteMultiPartUploadUseCase;
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=CompleteMultiPartUploadUseCase.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-file-manager-s3",
|
|
3
|
-
"version": "5.37.
|
|
3
|
+
"version": "5.37.3-beta.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"author": "Webiny Ltd",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@webiny/api": "5.37.
|
|
14
|
-
"@webiny/api-file-manager": "5.37.
|
|
15
|
-
"@webiny/api-security": "5.37.
|
|
16
|
-
"@webiny/error": "5.37.
|
|
17
|
-
"@webiny/handler-graphql": "5.37.
|
|
18
|
-
"@webiny/plugins": "5.37.
|
|
19
|
-
"@webiny/utils": "5.37.
|
|
20
|
-
"@webiny/validation": "5.37.
|
|
13
|
+
"@webiny/api": "5.37.3-beta.0",
|
|
14
|
+
"@webiny/api-file-manager": "5.37.3-beta.0",
|
|
15
|
+
"@webiny/api-security": "5.37.3-beta.0",
|
|
16
|
+
"@webiny/error": "5.37.3-beta.0",
|
|
17
|
+
"@webiny/handler-graphql": "5.37.3-beta.0",
|
|
18
|
+
"@webiny/plugins": "5.37.3-beta.0",
|
|
19
|
+
"@webiny/utils": "5.37.3-beta.0",
|
|
20
|
+
"@webiny/validation": "5.37.3-beta.0",
|
|
21
21
|
"form-data": "4.0.0",
|
|
22
22
|
"mime": "3.0.0",
|
|
23
23
|
"node-fetch": "2.6.9",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@babel/cli": "7.22.6",
|
|
30
30
|
"@babel/core": "7.22.8",
|
|
31
31
|
"@types/node-fetch": "2.6.2",
|
|
32
|
-
"@webiny/cli": "5.37.
|
|
33
|
-
"@webiny/project-utils": "5.37.
|
|
32
|
+
"@webiny/cli": "5.37.3-beta.0",
|
|
33
|
+
"@webiny/project-utils": "5.37.3-beta.0",
|
|
34
34
|
"rimraf": "3.0.2",
|
|
35
35
|
"typescript": "4.7.4"
|
|
36
36
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"build": "yarn webiny run build",
|
|
43
43
|
"watch": "yarn webiny run watch"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5dbaca4f2294bd7a6718ece14752f5f554d0d842"
|
|
46
46
|
}
|
package/plugins/fileStorageS3.js
CHANGED
package/types.js
CHANGED
package/utils/FileExtension.js
CHANGED
package/utils/FileKey.js
CHANGED
package/utils/FileNormalizer.js
CHANGED
|
@@ -46,4 +46,6 @@ const createModifierFromPlugins = (plugins = []) => {
|
|
|
46
46
|
}));
|
|
47
47
|
return file => modifier.execute(file);
|
|
48
48
|
};
|
|
49
|
-
exports.createModifierFromPlugins = createModifierFromPlugins;
|
|
49
|
+
exports.createModifierFromPlugins = createModifierFromPlugins;
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=FileUploadModifier.js.map
|
|
@@ -10,4 +10,6 @@ const createFileNormalizerFromContext = context => {
|
|
|
10
10
|
const modifierPlugins = context.plugins.byType(_FileUploadModifier.FileUploadModifierPlugin.type);
|
|
11
11
|
return new _FileNormalizer.FileNormalizer((0, _FileUploadModifier.createModifierFromPlugins)(modifierPlugins));
|
|
12
12
|
};
|
|
13
|
-
exports.createFileNormalizerFromContext = createFileNormalizerFromContext;
|
|
13
|
+
exports.createFileNormalizerFromContext = createFileNormalizerFromContext;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=createFileNormalizerFromContext.js.map
|
package/utils/mimeTypes.js
CHANGED
|
@@ -17,4 +17,6 @@ var _standard = _interopRequireDefault(require("mime/types/standard"));
|
|
|
17
17
|
* This operation is not available via the `mime` package, so we create such an object ourselves.
|
|
18
18
|
*/
|
|
19
19
|
const mimeTypes = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _other.default), _standard.default);
|
|
20
|
-
exports.mimeTypes = mimeTypes;
|
|
20
|
+
exports.mimeTypes = mimeTypes;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=mimeTypes.js.map
|