@webiny/api-file-manager-aco 6.4.5-beta.0 → 6.6.0-alpha.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.
@@ -0,0 +1,5 @@
1
+ import { type Container } from "@webiny/feature/api";
2
+ export declare const FileManagerAcoFeature: {
3
+ name: string;
4
+ register(container: Container): void;
5
+ };
@@ -0,0 +1,11 @@
1
+ import { createFeature } from "@webiny/feature/api";
2
+ import { EnsureFolderIsEmptyBeforeDeleteFeature } from "./features/EnsureFolderIsEmptyBeforeDelete/feature.js";
3
+ const FileManagerAcoFeature = createFeature({
4
+ name: "FileManagerAco",
5
+ register (container) {
6
+ EnsureFolderIsEmptyBeforeDeleteFeature.register(container);
7
+ }
8
+ });
9
+ export { FileManagerAcoFeature };
10
+
11
+ //# sourceMappingURL=FileManagerAcoFeature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileManagerAcoFeature.js","sources":["../src/FileManagerAcoFeature.ts"],"sourcesContent":["import { type Container, createFeature } from \"@webiny/feature/api\";\nimport { EnsureFolderIsEmptyBeforeDeleteFeature } from \"./features/EnsureFolderIsEmptyBeforeDelete/feature.js\";\n\nexport const FileManagerAcoFeature = createFeature({\n name: \"FileManagerAco\",\n register(container: Container) {\n // Pure DI registration — no legacy ContextPlugin bridge needed.\n EnsureFolderIsEmptyBeforeDeleteFeature.register(container);\n }\n});\n"],"names":["FileManagerAcoFeature","createFeature","container","EnsureFolderIsEmptyBeforeDeleteFeature"],"mappings":";;AAGO,MAAMA,wBAAwBC,cAAc;IAC/C,MAAM;IACN,UAASC,SAAoB;QAEzBC,uCAAuC,QAAQ,CAACD;IACpD;AACJ"}
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export * from "./plugins/index.js";
2
- export declare const createFileManagerAco: () => import("@webiny/api").ContextPlugin<import("@webiny/api/types.js").Context>;
2
+ export { FileManagerAcoFeature } from "./FileManagerAcoFeature.js";
package/index.js CHANGED
@@ -1,9 +1,2 @@
1
- import { createContextPlugin } from "@webiny/api";
2
- import { EnsureFolderIsEmptyBeforeDeleteFeature } from "./features/EnsureFolderIsEmptyBeforeDelete/feature.js";
3
1
  export * from "./plugins/index.js";
4
- const createFileManagerAco = ()=>createContextPlugin((context)=>{
5
- EnsureFolderIsEmptyBeforeDeleteFeature.register(context.container);
6
- });
7
- export { createFileManagerAco };
8
-
9
- //# sourceMappingURL=index.js.map
2
+ export { FileManagerAcoFeature } from "./FileManagerAcoFeature.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-file-manager-aco",
3
- "version": "6.4.5-beta.0",
3
+ "version": "6.6.0-alpha.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js",
@@ -21,25 +21,28 @@
21
21
  "access": "public"
22
22
  },
23
23
  "dependencies": {
24
- "@webiny/api-aco": "6.4.5-beta.0",
25
- "@webiny/api-file-manager": "6.4.5-beta.0",
26
- "@webiny/error": "6.4.5-beta.0",
27
- "@webiny/feature": "6.4.5-beta.0"
24
+ "@webiny/api-aco": "6.6.0-alpha.0",
25
+ "@webiny/api-file-manager": "6.6.0-alpha.0",
26
+ "@webiny/api-graphql": "6.6.0-alpha.0",
27
+ "@webiny/error": "6.6.0-alpha.0",
28
+ "@webiny/feature": "6.6.0-alpha.0"
28
29
  },
29
30
  "devDependencies": {
30
- "@webiny/api": "6.4.5-beta.0",
31
- "@webiny/api-core": "6.4.5-beta.0",
32
- "@webiny/api-headless-cms": "6.4.5-beta.0",
33
- "@webiny/build-tools": "6.4.5-beta.0",
34
- "@webiny/handler": "6.4.5-beta.0",
35
- "@webiny/handler-aws": "6.4.5-beta.0",
36
- "@webiny/handler-graphql": "6.4.5-beta.0",
37
- "@webiny/plugins": "6.4.5-beta.0",
38
- "@webiny/project-utils": "6.4.5-beta.0",
39
- "@webiny/utils": "6.4.5-beta.0",
40
- "@webiny/wcp": "6.4.5-beta.0",
31
+ "@webiny/api": "6.6.0-alpha.0",
32
+ "@webiny/api-core": "6.6.0-alpha.0",
33
+ "@webiny/api-core-testing": "6.6.0-alpha.0",
34
+ "@webiny/api-graphql": "6.6.0-alpha.0",
35
+ "@webiny/api-headless-cms": "6.6.0-alpha.0",
36
+ "@webiny/build-tools": "6.6.0-alpha.0",
37
+ "@webiny/di": "1.0.2",
38
+ "@webiny/event-handler-core": "6.6.0-alpha.0",
39
+ "@webiny/handler": "6.6.0-alpha.0",
40
+ "@webiny/plugins": "6.6.0-alpha.0",
41
+ "@webiny/project-utils": "6.6.0-alpha.0",
42
+ "@webiny/utils": "6.6.0-alpha.0",
43
+ "@webiny/wcp": "6.6.0-alpha.0",
41
44
  "graphql": "16.14.2",
42
- "typescript": "6.0.3",
45
+ "typescript": "7.0.2",
43
46
  "vitest": "4.1.10"
44
47
  },
45
48
  "webiny": {
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { createContextPlugin } from \"@webiny/api\";\nimport { EnsureFolderIsEmptyBeforeDeleteFeature } from \"~/features/EnsureFolderIsEmptyBeforeDelete/feature.js\";\n\nexport * from \"./plugins/index.js\";\n\nexport const createFileManagerAco = () => {\n return createContextPlugin(context => {\n EnsureFolderIsEmptyBeforeDeleteFeature.register(context.container);\n });\n};\n"],"names":["createFileManagerAco","createContextPlugin","context","EnsureFolderIsEmptyBeforeDeleteFeature"],"mappings":";;;AAKO,MAAMA,uBAAuB,IACzBC,oBAAoBC,CAAAA;QACvBC,uCAAuC,QAAQ,CAACD,QAAQ,SAAS;IACrE"}