@webiny/api-headless-cms-tasks-ddb-es 0.0.0-unstable.6844005670 → 0.0.0-unstable.7be00a75a9
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/index.d.ts +1 -1
- package/index.js +8 -6
- package/index.js.map +1 -1
- package/package.json +13 -10
- package/types.js +0 -3
- package/types.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createHcmsTasks: () => (import("
|
|
1
|
+
export declare const createHcmsTasks: () => (import("@webiny/api").ContextPlugin<import("@webiny/api/types").Context> | ((import("@webiny/handler-aws").EventBridgeEventHandler<"WebinyEmptyTrashBin", Record<string, any>, any> | import("@webiny/handler").HandlerOnRequestPlugin<import("@webiny/handler/types").Context>)[] | import("@webiny/handler").BeforeHandlerPlugin<import("@webiny/api-headless-cms-bulk-actions/types").HcmsBulkActionsContext> | import("@webiny/api").ContextPlugin<import("@webiny/api/types").Context>)[])[];
|
package/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { createEmptyTrashBinsTask, createHcmsBulkActions } from "@webiny/api-headless-cms-bulk-actions";
|
|
2
|
-
import { createHeadlessCmsImportExport } from "@webiny/api-headless-cms-import-export";
|
|
3
2
|
import { createDeleteModelTask } from "@webiny/api-headless-cms-tasks";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const createHcmsTasks = ()=>[
|
|
4
|
+
createHcmsBulkActions({
|
|
5
|
+
batchSize: 1000
|
|
6
|
+
}),
|
|
7
|
+
createEmptyTrashBinsTask(),
|
|
8
|
+
createDeleteModelTask()
|
|
9
|
+
];
|
|
10
|
+
export { createHcmsTasks };
|
|
9
11
|
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {\n createEmptyTrashBinsTask,\n createHcmsBulkActions\n} from \"@webiny/api-headless-cms-bulk-actions\";\nimport { createDeleteModelTask } from \"@webiny/api-headless-cms-tasks\";\n\nexport const createHcmsTasks = () => {\n return [\n createHcmsBulkActions({ batchSize: 1000 }),\n createEmptyTrashBinsTask(),\n createDeleteModelTask()\n ];\n};\n"],"names":["createHcmsTasks","createHcmsBulkActions","createEmptyTrashBinsTask","createDeleteModelTask"],"mappings":";;AAMO,MAAMA,kBAAkB,IACpB;QACHC,sBAAsB;YAAE,WAAW;QAAK;QACxCC;QACAC;KACH"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms-tasks-ddb-es",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.7be00a75a9",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./index.js",
|
|
7
|
+
"./*": "./*"
|
|
8
|
+
},
|
|
6
9
|
"description": "Background tasks for Webiny Headless CMS - DDB+ES",
|
|
7
10
|
"keywords": [
|
|
8
11
|
"api-headless-cms-tasks:base"
|
|
@@ -14,17 +17,17 @@
|
|
|
14
17
|
},
|
|
15
18
|
"license": "MIT",
|
|
16
19
|
"dependencies": {
|
|
17
|
-
"@webiny/api-headless-cms-bulk-actions": "0.0.0-unstable.
|
|
18
|
-
"@webiny/api-headless-cms-
|
|
19
|
-
"@webiny/api-headless-cms-tasks": "0.0.0-unstable.6844005670"
|
|
20
|
+
"@webiny/api-headless-cms-bulk-actions": "0.0.0-unstable.7be00a75a9",
|
|
21
|
+
"@webiny/api-headless-cms-tasks": "0.0.0-unstable.7be00a75a9"
|
|
20
22
|
},
|
|
21
23
|
"devDependencies": {
|
|
22
|
-
"@webiny/build-tools": "0.0.0-unstable.
|
|
23
|
-
"typescript": "
|
|
24
|
+
"@webiny/build-tools": "0.0.0-unstable.7be00a75a9",
|
|
25
|
+
"typescript": "6.0.3"
|
|
24
26
|
},
|
|
25
27
|
"publishConfig": {
|
|
26
|
-
"access": "public"
|
|
27
|
-
"directory": "dist"
|
|
28
|
+
"access": "public"
|
|
28
29
|
},
|
|
29
|
-
"
|
|
30
|
+
"webiny": {
|
|
31
|
+
"publishFrom": "dist"
|
|
32
|
+
}
|
|
30
33
|
}
|
package/types.js
CHANGED
package/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { HcmsBulkActionsContext } from \"@webiny/api-headless-cms-bulk-actions/types.js\";\n\nexport type HcmsTasksContext = HcmsBulkActionsContext;\n"],"mappings":"","ignoreList":[]}
|