@webiny/api-headless-cms-aco 6.4.11 → 6.6.0-alpha.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/AcoHcmsFeature.d.ts +4 -0
- package/AcoHcmsFeature.js +11 -0
- package/AcoHcmsFeature.js.map +1 -0
- package/index.d.ts +1 -3
- package/index.js +1 -12
- package/package.json +17 -15
- package/index.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createFeature } from "@webiny/feature/api";
|
|
2
|
+
import { SetLocationOnEntryRestoreFeature } from "./features/SetLocationOnEntryRestore/index.js";
|
|
3
|
+
const AcoHcmsFeature = createFeature({
|
|
4
|
+
name: "AcoHcms",
|
|
5
|
+
register (container) {
|
|
6
|
+
SetLocationOnEntryRestoreFeature.register(container);
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
export { AcoHcmsFeature };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=AcoHcmsFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcoHcmsFeature.js","sources":["../src/AcoHcmsFeature.ts"],"sourcesContent":["import { createFeature } from \"@webiny/feature/api\";\nimport { SetLocationOnEntryRestoreFeature } from \"~/features/SetLocationOnEntryRestore/index.js\";\n\nexport const AcoHcmsFeature = createFeature({\n name: \"AcoHcms\",\n register(container) {\n SetLocationOnEntryRestoreFeature.register(container);\n }\n});\n"],"names":["AcoHcmsFeature","createFeature","container","SetLocationOnEntryRestoreFeature"],"mappings":";;AAGO,MAAMA,iBAAiBC,cAAc;IACxC,MAAM;IACN,UAASC,SAAS;QACdC,iCAAiC,QAAQ,CAACD;IAC9C;AACJ"}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { ContextPlugin } from "@webiny/api";
|
|
2
|
-
import type { HcmsAcoContext } from "./types.js";
|
|
3
|
-
export declare const createAcoHcmsContext: () => ContextPlugin<HcmsAcoContext>;
|
|
4
1
|
export * from "./plugins/index.js";
|
|
2
|
+
export { AcoHcmsFeature } from "./AcoHcmsFeature.js";
|
package/index.js
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import { ContextPlugin } from "@webiny/api";
|
|
2
|
-
import { SetLocationOnEntryRestoreFeature } from "./features/SetLocationOnEntryRestore/index.js";
|
|
3
1
|
export * from "./plugins/index.js";
|
|
4
|
-
|
|
5
|
-
const plugin = new ContextPlugin((context)=>{
|
|
6
|
-
SetLocationOnEntryRestoreFeature.register(context.container);
|
|
7
|
-
});
|
|
8
|
-
plugin.name = "hcms-aco.createContext";
|
|
9
|
-
return plugin;
|
|
10
|
-
};
|
|
11
|
-
export { createAcoHcmsContext };
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
2
|
+
export { AcoHcmsFeature } from "./AcoHcmsFeature.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-aco",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0-alpha.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -21,23 +21,25 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@webiny/api
|
|
25
|
-
"@webiny/
|
|
26
|
-
"@webiny/
|
|
27
|
-
"@webiny/
|
|
28
|
-
"@webiny/
|
|
29
|
-
"@webiny/
|
|
30
|
-
"@webiny/
|
|
24
|
+
"@webiny/api": "6.6.0-alpha.1",
|
|
25
|
+
"@webiny/api-core": "6.6.0-alpha.1",
|
|
26
|
+
"@webiny/api-core-testing": "6.6.0-alpha.1",
|
|
27
|
+
"@webiny/api-graphql": "6.6.0-alpha.1",
|
|
28
|
+
"@webiny/build-tools": "6.6.0-alpha.1",
|
|
29
|
+
"@webiny/di": "1.1.0",
|
|
30
|
+
"@webiny/event-handler-core": "6.6.0-alpha.1",
|
|
31
|
+
"@webiny/plugins": "6.6.0-alpha.1",
|
|
32
|
+
"@webiny/wcp": "6.6.0-alpha.1",
|
|
31
33
|
"graphql": "16.14.2",
|
|
32
|
-
"typescript": "
|
|
34
|
+
"typescript": "7.0.2"
|
|
33
35
|
},
|
|
34
36
|
"dependencies": {
|
|
35
|
-
"@webiny/api": "6.
|
|
36
|
-
"@webiny/api-
|
|
37
|
-
"@webiny/api-headless-cms": "6.
|
|
38
|
-
"@webiny/feature": "6.
|
|
39
|
-
"@webiny/handler": "6.
|
|
40
|
-
"vitest": "4.1.
|
|
37
|
+
"@webiny/api-aco": "6.6.0-alpha.1",
|
|
38
|
+
"@webiny/api-graphql": "6.6.0-alpha.1",
|
|
39
|
+
"@webiny/api-headless-cms": "6.6.0-alpha.1",
|
|
40
|
+
"@webiny/feature": "6.6.0-alpha.1",
|
|
41
|
+
"@webiny/handler": "6.6.0-alpha.1",
|
|
42
|
+
"vitest": "4.1.11"
|
|
41
43
|
},
|
|
42
44
|
"webiny": {
|
|
43
45
|
"publishFrom": "dist"
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { ContextPlugin } from \"@webiny/api\";\nimport type { HcmsAcoContext } from \"~/types.js\";\nimport { SetLocationOnEntryRestoreFeature } from \"~/features/SetLocationOnEntryRestore/index.js\";\n\nexport const createAcoHcmsContext = () => {\n const plugin = new ContextPlugin<HcmsAcoContext>(context => {\n SetLocationOnEntryRestoreFeature.register(context.container);\n });\n\n plugin.name = \"hcms-aco.createContext\";\n\n return plugin;\n};\n\nexport * from \"./plugins/index.js\";\n"],"names":["createAcoHcmsContext","plugin","ContextPlugin","context","SetLocationOnEntryRestoreFeature"],"mappings":";;;AAIO,MAAMA,uBAAuB;IAChC,MAAMC,SAAS,IAAIC,cAA8BC,CAAAA;QAC7CC,iCAAiC,QAAQ,CAACD,QAAQ,SAAS;IAC/D;IAEAF,OAAO,IAAI,GAAG;IAEd,OAAOA;AACX"}
|