@webiny/api-headless-cms-scheduler 6.4.12-beta.5 → 6.5.0-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/context.js +2 -2
- package/context.js.map +1 -1
- package/package.json +16 -17
package/context.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { ContextPlugin } from "@webiny/api";
|
|
2
2
|
import { CancelScheduledActionOnEntryChangeFeature } from "./features/CancelScheduledActionOnEntryChange/feature.js";
|
|
3
|
+
import { CmsSchedulerPermissions } from "./features/permissions/CmsSchedulerPermissions.js";
|
|
3
4
|
import { NamespaceHandler } from "./features/NamespaceHandler/NamespaceHandler.js";
|
|
4
5
|
import { PublishEntryActionHandler } from "./features/PublishActionHandler/PublishEntryActionHandler.js";
|
|
5
6
|
import { UnpublishEntryActionHandler } from "./features/UnpublishActionHandler/UnpublishEntryActionHandler.js";
|
|
6
7
|
import { SchedulePublishEntryUseCase } from "./features/SchedulePublishEntryUseCase/SchedulePublishEntryUseCase.js";
|
|
7
8
|
import { ScheduleUnpublishEntryUseCase } from "./features/ScheduleUnpublishEntryUseCase/ScheduleUnpublishEntryUseCase.js";
|
|
8
|
-
import { CmsSchedulerPermissions } from "./features/permissions/CmsSchedulerPermissions.js";
|
|
9
9
|
const createHeadlessCmsScheduleContext = ()=>new ContextPlugin(async (context)=>{
|
|
10
|
-
context.container.register(CmsSchedulerPermissions);
|
|
11
10
|
context.container.register(NamespaceHandler);
|
|
12
11
|
context.container.register(PublishEntryActionHandler);
|
|
13
12
|
context.container.register(UnpublishEntryActionHandler);
|
|
14
13
|
context.container.register(SchedulePublishEntryUseCase);
|
|
15
14
|
context.container.register(ScheduleUnpublishEntryUseCase);
|
|
16
15
|
CancelScheduledActionOnEntryChangeFeature.register(context.container);
|
|
16
|
+
context.container.register(CmsSchedulerPermissions);
|
|
17
17
|
});
|
|
18
18
|
export { createHeadlessCmsScheduleContext };
|
|
19
19
|
|
package/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sources":["../src/context.ts"],"sourcesContent":["import { ContextPlugin } from \"@webiny/api\";\nimport { CancelScheduledActionOnEntryChangeFeature } from \"~/features/CancelScheduledActionOnEntryChange/feature.js\";\nimport {
|
|
1
|
+
{"version":3,"file":"context.js","sources":["../src/context.ts"],"sourcesContent":["import { ContextPlugin } from \"@webiny/api\";\nimport { CancelScheduledActionOnEntryChangeFeature } from \"~/features/CancelScheduledActionOnEntryChange/feature.js\";\nimport { CmsSchedulerPermissions } from \"~/features/permissions/CmsSchedulerPermissions.js\";\nimport { NamespaceHandler } from \"~/features/NamespaceHandler/NamespaceHandler.js\";\nimport { PublishEntryActionHandler } from \"~/features/PublishActionHandler/PublishEntryActionHandler.js\";\nimport { UnpublishEntryActionHandler } from \"~/features/UnpublishActionHandler/UnpublishEntryActionHandler.js\";\nimport { SchedulePublishEntryUseCase } from \"~/features/SchedulePublishEntryUseCase/SchedulePublishEntryUseCase.js\";\nimport { ScheduleUnpublishEntryUseCase } from \"~/features/ScheduleUnpublishEntryUseCase/ScheduleUnpublishEntryUseCase.js\";\n\nexport const createHeadlessCmsScheduleContext = () => {\n return new ContextPlugin(async context => {\n context.container.register(NamespaceHandler);\n context.container.register(PublishEntryActionHandler);\n context.container.register(UnpublishEntryActionHandler);\n context.container.register(SchedulePublishEntryUseCase);\n context.container.register(ScheduleUnpublishEntryUseCase);\n\n CancelScheduledActionOnEntryChangeFeature.register(context.container);\n context.container.register(CmsSchedulerPermissions);\n });\n};\n"],"names":["createHeadlessCmsScheduleContext","ContextPlugin","context","NamespaceHandler","PublishEntryActionHandler","UnpublishEntryActionHandler","SchedulePublishEntryUseCase","ScheduleUnpublishEntryUseCase","CancelScheduledActionOnEntryChangeFeature","CmsSchedulerPermissions"],"mappings":";;;;;;;;AASO,MAAMA,mCAAmC,IACrC,IAAIC,cAAc,OAAMC;QAC3BA,QAAQ,SAAS,CAAC,QAAQ,CAACC;QAC3BD,QAAQ,SAAS,CAAC,QAAQ,CAACE;QAC3BF,QAAQ,SAAS,CAAC,QAAQ,CAACG;QAC3BH,QAAQ,SAAS,CAAC,QAAQ,CAACI;QAC3BJ,QAAQ,SAAS,CAAC,QAAQ,CAACK;QAE3BC,0CAA0C,QAAQ,CAACN,QAAQ,SAAS;QACpEA,QAAQ,SAAS,CAAC,QAAQ,CAACO;IAC/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-scheduler",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -17,24 +17,23 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@webiny/api": "6.
|
|
21
|
-
"@webiny/api-headless-cms": "6.
|
|
22
|
-
"@webiny/api-scheduler": "6.
|
|
23
|
-
"@webiny/feature": "6.
|
|
24
|
-
"@webiny/handler-graphql": "6.
|
|
20
|
+
"@webiny/api": "6.5.0-beta.1",
|
|
21
|
+
"@webiny/api-headless-cms": "6.5.0-beta.1",
|
|
22
|
+
"@webiny/api-scheduler": "6.5.0-beta.1",
|
|
23
|
+
"@webiny/feature": "6.5.0-beta.1",
|
|
24
|
+
"@webiny/handler-graphql": "6.5.0-beta.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@webiny/api-core": "6.
|
|
28
|
-
"@webiny/
|
|
29
|
-
"@webiny/build-tools": "6.
|
|
30
|
-
"@webiny/handler": "6.
|
|
31
|
-
"@webiny/handler-aws": "6.
|
|
32
|
-
"@webiny/plugins": "6.
|
|
33
|
-
"@webiny/project-utils": "6.
|
|
34
|
-
"@webiny/wcp": "6.
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"vitest": "5.0.1"
|
|
27
|
+
"@webiny/api-core": "6.5.0-beta.1",
|
|
28
|
+
"@webiny/api-opensearch": "6.5.0-beta.1",
|
|
29
|
+
"@webiny/build-tools": "6.5.0-beta.1",
|
|
30
|
+
"@webiny/handler": "6.5.0-beta.1",
|
|
31
|
+
"@webiny/handler-aws": "6.5.0-beta.1",
|
|
32
|
+
"@webiny/plugins": "6.5.0-beta.1",
|
|
33
|
+
"@webiny/project-utils": "6.5.0-beta.1",
|
|
34
|
+
"@webiny/wcp": "6.5.0-beta.1",
|
|
35
|
+
"typescript": "7.0.2",
|
|
36
|
+
"vitest": "4.1.10"
|
|
38
37
|
},
|
|
39
38
|
"publishConfig": {
|
|
40
39
|
"access": "public"
|