@webiny/api-headless-cms-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/EntryWorkflows/feature.d.ts +4 -1
- package/features/Workflows/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 createHeadlessCmsWorkflows = () => {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// Register features
|
|
13
|
-
EntryWorkflowsFeature.register(context.container
|
|
13
|
+
EntryWorkflowsFeature.register(context.container);
|
|
14
14
|
WorkflowsFeature.register(context.container);
|
|
15
15
|
});
|
|
16
16
|
plugin.name = "headless-cms-workflows.context";
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContextPlugin","EntryWorkflowsFeature","WcpContext","WorkflowsFeature","createHeadlessCmsWorkflows","plugin","context","wcpContext","container","resolve","canUseWorkflows","register","name"],"sources":["index.ts"],"sourcesContent":["import { createContextPlugin } from \"@webiny/api\";\nimport { EntryWorkflowsFeature } from \"./features/EntryWorkflows/feature.js\";\nimport { WcpContext } from \"@webiny/api-core/features/wcp/WcpContext/index.js\";\nimport { WorkflowsFeature } from \"~/features/Workflows/index.js\";\n\nexport const createHeadlessCmsWorkflows = () => {\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 EntryWorkflowsFeature.register(context.container
|
|
1
|
+
{"version":3,"names":["createContextPlugin","EntryWorkflowsFeature","WcpContext","WorkflowsFeature","createHeadlessCmsWorkflows","plugin","context","wcpContext","container","resolve","canUseWorkflows","register","name"],"sources":["index.ts"],"sourcesContent":["import { createContextPlugin } from \"@webiny/api\";\nimport { EntryWorkflowsFeature } from \"./features/EntryWorkflows/feature.js\";\nimport { WcpContext } from \"@webiny/api-core/features/wcp/WcpContext/index.js\";\nimport { WorkflowsFeature } from \"~/features/Workflows/index.js\";\n\nexport const createHeadlessCmsWorkflows = () => {\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 EntryWorkflowsFeature.register(context.container);\n WorkflowsFeature.register(context.container);\n });\n\n plugin.name = \"headless-cms-workflows.context\";\n\n return plugin;\n};\n"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,aAAa;AACjD,SAASC,qBAAqB;AAC9B,SAASC,UAAU,QAAQ,mDAAmD;AAC9E,SAASC,gBAAgB;AAEzB,OAAO,MAAMC,0BAA0B,GAAGA,CAAA,KAAM;EAC5C,MAAMC,MAAM,GAAGL,mBAAmB,CAAC,MAAMM,OAAO,IAAI;IAChD,MAAMC,UAAU,GAAGD,OAAO,CAACE,SAAS,CAACC,OAAO,CAACP,UAAU,CAAC;IAExD,IAAI,CAACK,UAAU,CAACG,eAAe,CAAC,CAAC,EAAE;MAC/B;IACJ;;IAEA;IACAT,qBAAqB,CAACU,QAAQ,CAACL,OAAO,CAACE,SAAS,CAAC;IACjDL,gBAAgB,CAACQ,QAAQ,CAACL,OAAO,CAACE,SAAS,CAAC;EAChD,CAAC,CAAC;EAEFH,MAAM,CAACO,IAAI,GAAG,gCAAgC;EAE9C,OAAOP,MAAM;AACjB,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-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-headless-cms": "6.
|
|
20
|
-
"@webiny/api-workflows": "6.
|
|
21
|
-
"@webiny/error": "6.
|
|
22
|
-
"@webiny/feature": "6.
|
|
17
|
+
"@webiny/api": "6.3.0-beta.0",
|
|
18
|
+
"@webiny/api-core": "6.3.0-beta.0",
|
|
19
|
+
"@webiny/api-headless-cms": "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
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@webiny/build-tools": "6.
|
|
26
|
-
"@webiny/plugins": "6.
|
|
27
|
-
"@webiny/project-utils": "6.
|
|
28
|
-
"@webiny/testing": "6.
|
|
29
|
-
"@webiny/wcp": "6.
|
|
30
|
-
"typescript": "
|
|
25
|
+
"@webiny/build-tools": "6.3.0-beta.0",
|
|
26
|
+
"@webiny/plugins": "6.3.0-beta.0",
|
|
27
|
+
"@webiny/project-utils": "6.3.0-beta.0",
|
|
28
|
+
"@webiny/testing": "6.3.0-beta.0",
|
|
29
|
+
"@webiny/wcp": "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
|
}
|