@webiny/api-website-builder-workflows 6.2.0-beta.0 → 6.3.0-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/features/PageWorkflows/feature.d.ts +4 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +14 -14
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export const createWebsiteBuilderWorkflows = () => {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// Register features
|
|
13
|
-
PageWorkflowsFeature.register(context.container
|
|
13
|
+
PageWorkflowsFeature.register(context.container);
|
|
14
14
|
});
|
|
15
15
|
plugin.name = "website-builder-workflows.context";
|
|
16
16
|
return [plugin, createWebsiteBuilderPageGraphQLExtension()];
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContextPlugin","PageWorkflowsFeature","createWebsiteBuilderPageGraphQLExtension","WcpContext","createWebsiteBuilderWorkflows","plugin","context","wcpContext","container","resolve","canUseWorkflows","register","name"],"sources":["index.ts"],"sourcesContent":["import { createContextPlugin } from \"@webiny/api\";\nimport { PageWorkflowsFeature } from \"./features/PageWorkflows/feature.js\";\nimport { createWebsiteBuilderPageGraphQLExtension } from \"~/graphql/page.js\";\nimport { WcpContext } from \"@webiny/api-core/features/wcp/WcpContext/index.js\";\n\nexport const createWebsiteBuilderWorkflows = () => {\n const plugin = createContextPlugin(async context => {\n const wcpContext = context.container.resolve(WcpContext);\n\n if (!wcpContext.canUseWorkflows()) {\n return;\n }\n\n // Register features\n PageWorkflowsFeature.register(context.container
|
|
1
|
+
{"version":3,"names":["createContextPlugin","PageWorkflowsFeature","createWebsiteBuilderPageGraphQLExtension","WcpContext","createWebsiteBuilderWorkflows","plugin","context","wcpContext","container","resolve","canUseWorkflows","register","name"],"sources":["index.ts"],"sourcesContent":["import { createContextPlugin } from \"@webiny/api\";\nimport { PageWorkflowsFeature } from \"./features/PageWorkflows/feature.js\";\nimport { createWebsiteBuilderPageGraphQLExtension } from \"~/graphql/page.js\";\nimport { WcpContext } from \"@webiny/api-core/features/wcp/WcpContext/index.js\";\n\nexport const createWebsiteBuilderWorkflows = () => {\n const plugin = createContextPlugin(async context => {\n const wcpContext = context.container.resolve(WcpContext);\n\n if (!wcpContext.canUseWorkflows()) {\n return;\n }\n\n // Register features\n PageWorkflowsFeature.register(context.container);\n });\n\n plugin.name = \"website-builder-workflows.context\";\n\n return [plugin, createWebsiteBuilderPageGraphQLExtension()];\n};\n"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,aAAa;AACjD,SAASC,oBAAoB;AAC7B,SAASC,wCAAwC;AACjD,SAASC,UAAU,QAAQ,mDAAmD;AAE9E,OAAO,MAAMC,6BAA6B,GAAGA,CAAA,KAAM;EAC/C,MAAMC,MAAM,GAAGL,mBAAmB,CAAC,MAAMM,OAAO,IAAI;IAChD,MAAMC,UAAU,GAAGD,OAAO,CAACE,SAAS,CAACC,OAAO,CAACN,UAAU,CAAC;IAExD,IAAI,CAACI,UAAU,CAACG,eAAe,CAAC,CAAC,EAAE;MAC/B;IACJ;;IAEA;IACAT,oBAAoB,CAACU,QAAQ,CAACL,OAAO,CAACE,SAAS,CAAC;EACpD,CAAC,CAAC;EAEFH,MAAM,CAACO,IAAI,GAAG,mCAAmC;EAEjD,OAAO,CAACP,MAAM,EAAEH,wCAAwC,CAAC,CAAC,CAAC;AAC/D,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-website-builder-workflows",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"description": "Headless CMS Workflows",
|
|
@@ -14,25 +14,25 @@
|
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@webiny/api": "6.
|
|
18
|
-
"@webiny/api-core": "6.
|
|
19
|
-
"@webiny/api-website-builder": "6.
|
|
20
|
-
"@webiny/api-workflows": "6.
|
|
21
|
-
"@webiny/error": "6.
|
|
22
|
-
"@webiny/feature": "6.
|
|
23
|
-
"@webiny/handler-graphql": "6.
|
|
17
|
+
"@webiny/api": "6.3.0-beta.0",
|
|
18
|
+
"@webiny/api-core": "6.3.0-beta.0",
|
|
19
|
+
"@webiny/api-website-builder": "6.3.0-beta.0",
|
|
20
|
+
"@webiny/api-workflows": "6.3.0-beta.0",
|
|
21
|
+
"@webiny/error": "6.3.0-beta.0",
|
|
22
|
+
"@webiny/feature": "6.3.0-beta.0",
|
|
23
|
+
"@webiny/handler-graphql": "6.3.0-beta.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@webiny/build-tools": "6.
|
|
27
|
-
"@webiny/plugins": "6.
|
|
28
|
-
"@webiny/project-utils": "6.
|
|
29
|
-
"@webiny/testing": "6.
|
|
30
|
-
"typescript": "
|
|
26
|
+
"@webiny/build-tools": "6.3.0-beta.0",
|
|
27
|
+
"@webiny/plugins": "6.3.0-beta.0",
|
|
28
|
+
"@webiny/project-utils": "6.3.0-beta.0",
|
|
29
|
+
"@webiny/testing": "6.3.0-beta.0",
|
|
30
|
+
"typescript": "6.0.3",
|
|
31
31
|
"vitest": "4.1.4"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public",
|
|
35
35
|
"directory": "dist"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "94c21e58aebc9855bf1ae972423281faa0f5c135"
|
|
38
38
|
}
|