@webiny/api-file-manager 5.37.3 → 5.37.4-beta.1
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/FileManagerContextSetup.js +1 -3
- package/cmsFileStorage/CmsFilesStorage.js +1 -3
- package/cmsFileStorage/ListFilesWhereProcessor.js +1 -3
- package/cmsFileStorage/ListTagsWhereProcessor.js +1 -3
- package/cmsFileStorage/createFileManagerPlugins.js +1 -3
- package/cmsFileStorage/createModelField.js +1 -3
- package/cmsFileStorage/file.model.js +1 -3
- package/cmsFileStorage/isInstallationPending.js +1 -3
- package/contants.js +1 -3
- package/createFileManager/files.crud.js +1 -3
- package/createFileManager/filevalidation.disabled.js +1 -3
- package/createFileManager/index.js +1 -3
- package/createFileManager/permissions/FilesPermissions.js +1 -3
- package/createFileManager/settings.crud.js +1 -3
- package/createFileManager/system.crud.js +1 -3
- package/graphql/baseSchema.js +1 -3
- package/graphql/createFilesTypeDefs.js +1 -3
- package/graphql/filesSchema.js +1 -3
- package/graphql/index.d.ts +2 -1
- package/graphql/index.js +21 -4
- package/graphql/index.js.map +1 -1
- package/graphql/utils.d.ts +1 -1
- package/graphql/utils.js +1 -3
- package/handlers/download/byAlias.js +1 -3
- package/handlers/download/byExactKey.js +1 -3
- package/handlers/download/extractFileInformation.js +1 -3
- package/handlers/download/getS3Object.js +1 -3
- package/handlers/download/index.js +1 -3
- package/handlers/manage/index.js +1 -3
- package/handlers/transform/index.js +1 -3
- package/handlers/transform/legacyUtils.js +1 -3
- package/handlers/transform/loaders/imageLoader.js +1 -3
- package/handlers/transform/loaders/index.js +1 -3
- package/handlers/transform/loaders/sanitizeImageTransformations.js +1 -3
- package/handlers/transform/managers/imageManager.js +1 -3
- package/handlers/transform/managers/index.js +1 -3
- package/handlers/transform/optimizeImage.js +1 -3
- package/handlers/transform/transformImage.js +1 -3
- package/handlers/transform/utils.js +1 -3
- package/handlers/types.js +1 -3
- package/handlers/utils/getEnvironment.js +1 -3
- package/handlers/utils/getObjectParams.js +1 -3
- package/handlers/utils/index.js +1 -3
- package/index.js +1 -3
- package/modelModifier/CmsModelModifier.js +1 -3
- package/package.json +18 -18
- package/plugins/FilePhysicalStoragePlugin.js +1 -3
- package/plugins/FileStorageTransformPlugin.js +1 -3
- package/plugins/index.js +1 -3
- package/storage/FileStorage.js +1 -3
- package/types/file.js +1 -3
- package/types/file.lifecycle.js +1 -3
- package/types.js +1 -3
|
@@ -31,6 +31,4 @@ const createFileManagerPlugins = () => {
|
|
|
31
31
|
fileModelDefinition: (0, _file.createFileModelDefinition)(groupPlugin.contentModelGroup)
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
exports.createFileManagerPlugins = createFileManagerPlugins;
|
|
35
|
-
|
|
36
|
-
//# sourceMappingURL=createFileManagerPlugins.js.map
|
|
34
|
+
exports.createFileManagerPlugins = createFileManagerPlugins;
|
|
@@ -121,6 +121,4 @@ const createFileModelDefinition = group => {
|
|
|
121
121
|
noValidate: true
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
|
-
exports.createFileModelDefinition = createFileModelDefinition;
|
|
125
|
-
|
|
126
|
-
//# sourceMappingURL=file.model.js.map
|
|
124
|
+
exports.createFileModelDefinition = createFileModelDefinition;
|
package/contants.js
CHANGED
|
@@ -6,6 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.FilesPermissions = void 0;
|
|
7
7
|
var _AppPermissions = require("@webiny/api-security/utils/AppPermissions");
|
|
8
8
|
class FilesPermissions extends _AppPermissions.AppPermissions {}
|
|
9
|
-
exports.FilesPermissions = FilesPermissions;
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=FilesPermissions.js.map
|
|
9
|
+
exports.FilesPermissions = FilesPermissions;
|
package/graphql/baseSchema.js
CHANGED
|
@@ -114,6 +114,4 @@ const createBaseSchema = () => {
|
|
|
114
114
|
fileManagerGraphQL.name = "fm.graphql.base";
|
|
115
115
|
return fileManagerGraphQL;
|
|
116
116
|
};
|
|
117
|
-
exports.createBaseSchema = createBaseSchema;
|
|
118
|
-
|
|
119
|
-
//# sourceMappingURL=baseSchema.js.map
|
|
117
|
+
exports.createBaseSchema = createBaseSchema;
|
package/graphql/filesSchema.js
CHANGED
|
@@ -80,6 +80,4 @@ const createFilesSchema = params => {
|
|
|
80
80
|
fileManagerGraphQL.name = "fm.graphql.files";
|
|
81
81
|
return fileManagerGraphQL;
|
|
82
82
|
};
|
|
83
|
-
exports.createFilesSchema = createFilesSchema;
|
|
84
|
-
|
|
85
|
-
//# sourceMappingURL=filesSchema.js.map
|
|
83
|
+
exports.createFilesSchema = createFilesSchema;
|
package/graphql/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ContextPlugin } from "@webiny/api";
|
|
2
2
|
import { FileManagerContext } from "../types";
|
|
3
|
-
|
|
3
|
+
import { GraphQLSchemaPlugin } from "@webiny/handler-graphql";
|
|
4
|
+
export declare const createGraphQLSchemaPlugin: () => (GraphQLSchemaPlugin<FileManagerContext> | ContextPlugin<FileManagerContext>)[];
|
package/graphql/index.js
CHANGED
|
@@ -9,6 +9,8 @@ var _api = require("@webiny/api");
|
|
|
9
9
|
var _createFieldTypePluginRecords = require("@webiny/api-headless-cms/graphql/schema/createFieldTypePluginRecords");
|
|
10
10
|
var _filesSchema = require("./filesSchema");
|
|
11
11
|
var _isInstallationPending = require("../cmsFileStorage/isInstallationPending");
|
|
12
|
+
var _getSchemaFromFieldPlugins = require("@webiny/api-headless-cms/utils/getSchemaFromFieldPlugins");
|
|
13
|
+
var _handlerGraphql = require("@webiny/handler-graphql");
|
|
12
14
|
const createGraphQLSchemaPlugin = () => {
|
|
13
15
|
return [(0, _baseSchema.createBaseSchema)(),
|
|
14
16
|
// Files schema is generated dynamically, based on a CMS model, so we need to
|
|
@@ -21,15 +23,30 @@ const createGraphQLSchemaPlugin = () => {
|
|
|
21
23
|
const fileModel = await context.cms.getModel("fmFile");
|
|
22
24
|
const models = await context.cms.listModels();
|
|
23
25
|
const fieldPlugins = (0, _createFieldTypePluginRecords.createFieldTypePluginRecords)(context.plugins);
|
|
26
|
+
/**
|
|
27
|
+
* We need to register all plugins for all the CMS fields.
|
|
28
|
+
*/
|
|
29
|
+
const plugins = (0, _getSchemaFromFieldPlugins.createGraphQLSchemaPluginFromFieldPlugins)({
|
|
30
|
+
models,
|
|
31
|
+
type: "manage",
|
|
32
|
+
fieldTypePlugins: fieldPlugins,
|
|
33
|
+
createPlugin: ({
|
|
34
|
+
schema,
|
|
35
|
+
type,
|
|
36
|
+
fieldType
|
|
37
|
+
}) => {
|
|
38
|
+
const plugin = new _handlerGraphql.GraphQLSchemaPlugin(schema);
|
|
39
|
+
plugin.name = `fm.graphql.schema.${type}.field.${fieldType}`;
|
|
40
|
+
return plugin;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
24
43
|
const graphQlPlugin = (0, _filesSchema.createFilesSchema)({
|
|
25
44
|
model: fileModel,
|
|
26
45
|
models,
|
|
27
46
|
plugins: fieldPlugins
|
|
28
47
|
});
|
|
29
|
-
context.plugins.register(graphQlPlugin);
|
|
48
|
+
context.plugins.register([...plugins, graphQlPlugin]);
|
|
30
49
|
});
|
|
31
50
|
})];
|
|
32
51
|
};
|
|
33
|
-
exports.createGraphQLSchemaPlugin = createGraphQLSchemaPlugin;
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
|
52
|
+
exports.createGraphQLSchemaPlugin = createGraphQLSchemaPlugin;
|
package/graphql/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_baseSchema","require","_api","_createFieldTypePluginRecords","_filesSchema","_isInstallationPending","createGraphQLSchemaPlugin","createBaseSchema","ContextPlugin","context","isInstallationPending","security","withoutAuthorization","fileModel","cms","getModel","models","listModels","fieldPlugins","createFieldTypePluginRecords","plugins","graphQlPlugin","createFilesSchema","model","register","exports"],"sources":["index.ts"],"sourcesContent":["import { createBaseSchema } from \"~/graphql/baseSchema\";\nimport { ContextPlugin } from \"@webiny/api\";\nimport { FileManagerContext } from \"~/types\";\nimport { CmsModel } from \"@webiny/api-headless-cms/types\";\nimport { createFieldTypePluginRecords } from \"@webiny/api-headless-cms/graphql/schema/createFieldTypePluginRecords\";\nimport { createFilesSchema } from \"~/graphql/filesSchema\";\nimport { isInstallationPending } from \"~/cmsFileStorage/isInstallationPending\";\n\nexport const createGraphQLSchemaPlugin = () => {\n return [\n createBaseSchema(),\n // Files schema is generated dynamically, based on a CMS model, so we need to\n // register it from a ContextPlugin, to perform additional bootstrap.\n new ContextPlugin<FileManagerContext>(async context => {\n if (isInstallationPending(context)) {\n return;\n }\n\n await context.security.withoutAuthorization(async () => {\n const fileModel = (await context.cms.getModel(\"fmFile\")) as CmsModel;\n const models = await context.cms.listModels();\n const fieldPlugins = createFieldTypePluginRecords(context.plugins);\n\n const graphQlPlugin = createFilesSchema({\n model: fileModel,\n models,\n plugins: fieldPlugins\n });\n\n context.plugins.register(graphQlPlugin);\n });\n })\n ];\n};\n"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,IAAA,GAAAD,OAAA;AAGA,IAAAE,6BAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,sBAAA,GAAAJ,OAAA;AAEO,
|
|
1
|
+
{"version":3,"names":["_baseSchema","require","_api","_createFieldTypePluginRecords","_filesSchema","_isInstallationPending","_getSchemaFromFieldPlugins","_handlerGraphql","createGraphQLSchemaPlugin","createBaseSchema","ContextPlugin","context","isInstallationPending","security","withoutAuthorization","fileModel","cms","getModel","models","listModels","fieldPlugins","createFieldTypePluginRecords","plugins","createGraphQLSchemaPluginFromFieldPlugins","type","fieldTypePlugins","createPlugin","schema","fieldType","plugin","GraphQLSchemaPlugin","name","graphQlPlugin","createFilesSchema","model","register","exports"],"sources":["index.ts"],"sourcesContent":["import { createBaseSchema } from \"~/graphql/baseSchema\";\nimport { ContextPlugin } from \"@webiny/api\";\nimport { FileManagerContext } from \"~/types\";\nimport { CmsModel } from \"@webiny/api-headless-cms/types\";\nimport { createFieldTypePluginRecords } from \"@webiny/api-headless-cms/graphql/schema/createFieldTypePluginRecords\";\nimport { createFilesSchema } from \"~/graphql/filesSchema\";\nimport { isInstallationPending } from \"~/cmsFileStorage/isInstallationPending\";\nimport { createGraphQLSchemaPluginFromFieldPlugins } from \"@webiny/api-headless-cms/utils/getSchemaFromFieldPlugins\";\nimport { GraphQLSchemaPlugin } from \"@webiny/handler-graphql\";\n\nexport const createGraphQLSchemaPlugin = () => {\n return [\n createBaseSchema(),\n // Files schema is generated dynamically, based on a CMS model, so we need to\n // register it from a ContextPlugin, to perform additional bootstrap.\n new ContextPlugin<FileManagerContext>(async context => {\n if (isInstallationPending(context)) {\n return;\n }\n\n await context.security.withoutAuthorization(async () => {\n const fileModel = (await context.cms.getModel(\"fmFile\")) as CmsModel;\n const models = await context.cms.listModels();\n const fieldPlugins = createFieldTypePluginRecords(context.plugins);\n /**\n * We need to register all plugins for all the CMS fields.\n */\n const plugins = createGraphQLSchemaPluginFromFieldPlugins({\n models,\n type: \"manage\",\n fieldTypePlugins: fieldPlugins,\n createPlugin: ({ schema, type, fieldType }) => {\n const plugin = new GraphQLSchemaPlugin(schema);\n plugin.name = `fm.graphql.schema.${type}.field.${fieldType}`;\n return plugin;\n }\n });\n\n const graphQlPlugin = createFilesSchema({\n model: fileModel,\n models,\n plugins: fieldPlugins\n });\n\n context.plugins.register([...plugins, graphQlPlugin]);\n });\n })\n ];\n};\n"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,IAAA,GAAAD,OAAA;AAGA,IAAAE,6BAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,sBAAA,GAAAJ,OAAA;AACA,IAAAK,0BAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AAEO,MAAMO,yBAAyB,GAAGA,CAAA,KAAM;EAC3C,OAAO,CACH,IAAAC,4BAAgB,EAAC,CAAC;EAClB;EACA;EACA,IAAIC,kBAAa,CAAqB,MAAMC,OAAO,IAAI;IACnD,IAAI,IAAAC,4CAAqB,EAACD,OAAO,CAAC,EAAE;MAChC;IACJ;IAEA,MAAMA,OAAO,CAACE,QAAQ,CAACC,oBAAoB,CAAC,YAAY;MACpD,MAAMC,SAAS,GAAI,MAAMJ,OAAO,CAACK,GAAG,CAACC,QAAQ,CAAC,QAAQ,CAAc;MACpE,MAAMC,MAAM,GAAG,MAAMP,OAAO,CAACK,GAAG,CAACG,UAAU,CAAC,CAAC;MAC7C,MAAMC,YAAY,GAAG,IAAAC,0DAA4B,EAACV,OAAO,CAACW,OAAO,CAAC;MAClE;AAChB;AACA;MACgB,MAAMA,OAAO,GAAG,IAAAC,oEAAyC,EAAC;QACtDL,MAAM;QACNM,IAAI,EAAE,QAAQ;QACdC,gBAAgB,EAAEL,YAAY;QAC9BM,YAAY,EAAEA,CAAC;UAAEC,MAAM;UAAEH,IAAI;UAAEI;QAAU,CAAC,KAAK;UAC3C,MAAMC,MAAM,GAAG,IAAIC,mCAAmB,CAACH,MAAM,CAAC;UAC9CE,MAAM,CAACE,IAAI,GAAI,qBAAoBP,IAAK,UAASI,SAAU,EAAC;UAC5D,OAAOC,MAAM;QACjB;MACJ,CAAC,CAAC;MAEF,MAAMG,aAAa,GAAG,IAAAC,8BAAiB,EAAC;QACpCC,KAAK,EAAEnB,SAAS;QAChBG,MAAM;QACNI,OAAO,EAAEF;MACb,CAAC,CAAC;MAEFT,OAAO,CAACW,OAAO,CAACa,QAAQ,CAAC,CAAC,GAAGb,OAAO,EAAEU,aAAa,CAAC,CAAC;IACzD,CAAC,CAAC;EACN,CAAC,CAAC,CACL;AACL,CAAC;AAACI,OAAA,CAAA5B,yBAAA,GAAAA,yBAAA"}
|
package/graphql/utils.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export declare const emptyResolver: () => {};
|
|
|
7
7
|
interface ResolveCallable {
|
|
8
8
|
(): Promise<any>;
|
|
9
9
|
}
|
|
10
|
-
export declare const resolve: (fn: ResolveCallable) => Promise<
|
|
10
|
+
export declare const resolve: (fn: ResolveCallable) => Promise<Response<any> | ErrorResponse>;
|
|
11
11
|
export {};
|
package/graphql/utils.js
CHANGED
|
@@ -86,6 +86,4 @@ const createDownloadFileByAliasPlugins = ({
|
|
|
86
86
|
});
|
|
87
87
|
})];
|
|
88
88
|
};
|
|
89
|
-
exports.createDownloadFileByAliasPlugins = createDownloadFileByAliasPlugins;
|
|
90
|
-
|
|
91
|
-
//# sourceMappingURL=byAlias.js.map
|
|
89
|
+
exports.createDownloadFileByAliasPlugins = createDownloadFileByAliasPlugins;
|
|
@@ -54,6 +54,4 @@ const createDownloadFileByExactKeyPlugins = () => {
|
|
|
54
54
|
});
|
|
55
55
|
})];
|
|
56
56
|
};
|
|
57
|
-
exports.createDownloadFileByExactKeyPlugins = createDownloadFileByExactKeyPlugins;
|
|
58
|
-
|
|
59
|
-
//# sourceMappingURL=byExactKey.js.map
|
|
57
|
+
exports.createDownloadFileByExactKeyPlugins = createDownloadFileByExactKeyPlugins;
|
|
@@ -17,6 +17,4 @@ const extractFileInformation = request => {
|
|
|
17
17
|
extension: _path.default.extname(path)
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
exports.extractFileInformation = extractFileInformation;
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=extractFileInformation.js.map
|
|
20
|
+
exports.extractFileInformation = extractFileInformation;
|
package/handlers/manage/index.js
CHANGED
|
@@ -39,6 +39,4 @@ const getImageKey = ({
|
|
|
39
39
|
const prefix = getOptimizedTransformedImageKeyPrefix(key);
|
|
40
40
|
return `${prefix}${(0, _objectHash.default)(transformations)}-${key}`;
|
|
41
41
|
};
|
|
42
|
-
exports.getImageKey = getImageKey;
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=legacyUtils.js.map
|
|
42
|
+
exports.getImageKey = getImageKey;
|
|
@@ -7,6 +7,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _imageLoader = _interopRequireDefault(require("./imageLoader"));
|
|
9
9
|
var _default = [_imageLoader.default];
|
|
10
|
-
exports.default = _default;
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
10
|
+
exports.default = _default;
|
|
@@ -7,6 +7,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _imageManager = _interopRequireDefault(require("./imageManager"));
|
|
9
9
|
var _default = [_imageManager.default];
|
|
10
|
-
exports.default = _default;
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
10
|
+
exports.default = _default;
|
package/handlers/types.js
CHANGED
package/handlers/utils/index.js
CHANGED
|
@@ -17,6 +17,4 @@ Object.defineProperty(exports, "getObjectParams", {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
var _getEnvironment = _interopRequireDefault(require("./getEnvironment"));
|
|
20
|
-
var _getObjectParams = _interopRequireDefault(require("./getObjectParams"));
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
20
|
+
var _getObjectParams = _interopRequireDefault(require("./getObjectParams"));
|
package/index.js
CHANGED
|
@@ -49,6 +49,4 @@ exports.createFileManagerContext = createFileManagerContext;
|
|
|
49
49
|
const createFileManagerGraphQL = () => {
|
|
50
50
|
return (0, _graphql.createGraphQLSchemaPlugin)();
|
|
51
51
|
};
|
|
52
|
-
exports.createFileManagerGraphQL = createFileManagerGraphQL;
|
|
53
|
-
|
|
54
|
-
//# sourceMappingURL=index.js.map
|
|
52
|
+
exports.createFileManagerGraphQL = createFileManagerGraphQL;
|
|
@@ -56,6 +56,4 @@ exports.CmsModelModifierPlugin = CmsModelModifierPlugin;
|
|
|
56
56
|
const createFileModelModifier = cb => {
|
|
57
57
|
return new CmsModelModifierPlugin(_file.FILE_MODEL_ID, cb);
|
|
58
58
|
};
|
|
59
|
-
exports.createFileModelModifier = createFileModelModifier;
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=CmsModelModifier.js.map
|
|
59
|
+
exports.createFileModelModifier = createFileModelModifier;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-file-manager",
|
|
3
|
-
"version": "5.37.
|
|
3
|
+
"version": "5.37.4-beta.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fm:base"
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime": "7.22.6",
|
|
22
22
|
"@commodo/fields": "1.1.2-beta.20",
|
|
23
|
-
"@webiny/api": "5.37.
|
|
24
|
-
"@webiny/api-headless-cms": "5.37.
|
|
25
|
-
"@webiny/api-security": "5.37.
|
|
26
|
-
"@webiny/api-tenancy": "5.37.
|
|
27
|
-
"@webiny/error": "5.37.
|
|
28
|
-
"@webiny/handler": "5.37.
|
|
29
|
-
"@webiny/handler-aws": "5.37.
|
|
30
|
-
"@webiny/handler-client": "5.37.
|
|
31
|
-
"@webiny/handler-graphql": "5.37.
|
|
32
|
-
"@webiny/plugins": "5.37.
|
|
33
|
-
"@webiny/project-utils": "5.37.
|
|
34
|
-
"@webiny/pubsub": "5.37.
|
|
35
|
-
"@webiny/validation": "5.37.
|
|
23
|
+
"@webiny/api": "5.37.4-beta.1",
|
|
24
|
+
"@webiny/api-headless-cms": "5.37.4-beta.1",
|
|
25
|
+
"@webiny/api-security": "5.37.4-beta.1",
|
|
26
|
+
"@webiny/api-tenancy": "5.37.4-beta.1",
|
|
27
|
+
"@webiny/error": "5.37.4-beta.1",
|
|
28
|
+
"@webiny/handler": "5.37.4-beta.1",
|
|
29
|
+
"@webiny/handler-aws": "5.37.4-beta.1",
|
|
30
|
+
"@webiny/handler-client": "5.37.4-beta.1",
|
|
31
|
+
"@webiny/handler-graphql": "5.37.4-beta.1",
|
|
32
|
+
"@webiny/plugins": "5.37.4-beta.1",
|
|
33
|
+
"@webiny/project-utils": "5.37.4-beta.1",
|
|
34
|
+
"@webiny/pubsub": "5.37.4-beta.1",
|
|
35
|
+
"@webiny/validation": "5.37.4-beta.1",
|
|
36
36
|
"aws-sdk": "2.1310.0",
|
|
37
37
|
"lodash": "4.17.21",
|
|
38
38
|
"object-hash": "2.2.0"
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@babel/plugin-transform-runtime": "7.22.7",
|
|
45
45
|
"@babel/preset-env": "7.22.7",
|
|
46
46
|
"@babel/preset-typescript": "7.22.5",
|
|
47
|
-
"@webiny/api-i18n": "5.37.
|
|
48
|
-
"@webiny/cli": "5.37.
|
|
49
|
-
"@webiny/utils": "5.37.
|
|
47
|
+
"@webiny/api-i18n": "5.37.4-beta.1",
|
|
48
|
+
"@webiny/cli": "5.37.4-beta.1",
|
|
49
|
+
"@webiny/utils": "5.37.4-beta.1",
|
|
50
50
|
"jest": "29.5.0",
|
|
51
51
|
"rimraf": "3.0.2",
|
|
52
52
|
"ttypescript": "1.5.15",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
]
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "be5b7d29a08583657ab5abfc89bdc9512c975116"
|
|
75
75
|
}
|
|
@@ -28,6 +28,4 @@ class FilePhysicalStoragePlugin extends _plugins.Plugin {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.FilePhysicalStoragePlugin = FilePhysicalStoragePlugin;
|
|
31
|
-
(0, _defineProperty2.default)(FilePhysicalStoragePlugin, "type", "api-file-manager-storage");
|
|
32
|
-
|
|
33
|
-
//# sourceMappingURL=FilePhysicalStoragePlugin.js.map
|
|
31
|
+
(0, _defineProperty2.default)(FilePhysicalStoragePlugin, "type", "api-file-manager-storage");
|
|
@@ -37,6 +37,4 @@ class FileStorageTransformPlugin extends _plugins.Plugin {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
exports.FileStorageTransformPlugin = FileStorageTransformPlugin;
|
|
40
|
-
(0, _defineProperty2.default)(FileStorageTransformPlugin, "type", "fm.files.storage.transform");
|
|
41
|
-
|
|
42
|
-
//# sourceMappingURL=FileStorageTransformPlugin.js.map
|
|
40
|
+
(0, _defineProperty2.default)(FileStorageTransformPlugin, "type", "fm.files.storage.transform");
|
package/plugins/index.js
CHANGED
package/storage/FileStorage.js
CHANGED
package/types/file.js
CHANGED
package/types/file.lifecycle.js
CHANGED