@webiny/api-background-tasks-os 6.0.0-beta.0 β 6.0.0-rc.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/README.md +9 -4
- package/index.d.ts +2 -2
- package/index.js +5 -12
- package/index.js.map +1 -1
- package/package.json +10 -17
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @webiny/api-background-tasks-os
|
|
2
2
|
|
|
3
|
-
[!
|
|
4
|
-
[
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> This package is part of the [Webiny](https://www.webiny.com) monorepo.
|
|
5
|
+
> Itβs **included in every Webiny project by default** and is not meant to be used as a standalone package.
|
|
6
|
+
|
|
7
|
+
π **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs)
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
_This README file is automatically generated during the publish process._
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const createBackgroundTasks: () =>
|
|
1
|
+
import type { PluginCollection } from "@webiny/plugins/types.js";
|
|
2
|
+
export declare const createBackgroundTasks: () => PluginCollection;
|
package/index.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
exports.createBackgroundTasks = void 0;
|
|
7
|
-
var _tasks = require("@webiny/tasks");
|
|
8
|
-
var _apiElasticsearchTasks = require("@webiny/api-elasticsearch-tasks");
|
|
9
|
-
var _apiHeadlessCmsEsTasks = require("@webiny/api-headless-cms-es-tasks");
|
|
10
|
-
const createBackgroundTasks = () => {
|
|
11
|
-
return [...(0, _tasks.createBackgroundTaskContext)(), ...(0, _tasks.createBackgroundTaskGraphQL)(), ...(0, _apiElasticsearchTasks.createElasticsearchBackgroundTasks)(), ...(0, _apiHeadlessCmsEsTasks.createHeadlessCmsEsTasks)()];
|
|
1
|
+
import { createBackgroundTaskGraphQL, createBackgroundTaskContext } from "@webiny/tasks";
|
|
2
|
+
import { createElasticsearchBackgroundTasks } from "@webiny/api-elasticsearch-tasks";
|
|
3
|
+
import { createHeadlessCmsEsTasks } from "@webiny/api-headless-cms-es-tasks";
|
|
4
|
+
export const createBackgroundTasks = () => {
|
|
5
|
+
return [...createBackgroundTaskContext(), ...createBackgroundTaskGraphQL(), ...createElasticsearchBackgroundTasks(), createHeadlessCmsEsTasks()];
|
|
12
6
|
};
|
|
13
|
-
exports.createBackgroundTasks = createBackgroundTasks;
|
|
14
7
|
|
|
15
8
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["createBackgroundTaskGraphQL","createBackgroundTaskContext","createElasticsearchBackgroundTasks","createHeadlessCmsEsTasks","createBackgroundTasks"],"sources":["index.ts"],"sourcesContent":["import type { PluginCollection } from \"@webiny/plugins/types.js\";\nimport { createBackgroundTaskGraphQL, createBackgroundTaskContext } from \"@webiny/tasks\";\nimport { createElasticsearchBackgroundTasks } from \"@webiny/api-elasticsearch-tasks\";\nimport { createHeadlessCmsEsTasks } from \"@webiny/api-headless-cms-es-tasks\";\n\nexport const createBackgroundTasks = (): PluginCollection => {\n return [\n ...createBackgroundTaskContext(),\n ...createBackgroundTaskGraphQL(),\n ...createElasticsearchBackgroundTasks(),\n createHeadlessCmsEsTasks()\n ];\n};\n"],"mappings":"AACA,SAASA,2BAA2B,EAAEC,2BAA2B,QAAQ,eAAe;AACxF,SAASC,kCAAkC,QAAQ,iCAAiC;AACpF,SAASC,wBAAwB,QAAQ,mCAAmC;AAE5E,OAAO,MAAMC,qBAAqB,GAAGA,CAAA,KAAwB;EACzD,OAAO,CACH,GAAGH,2BAA2B,CAAC,CAAC,EAChC,GAAGD,2BAA2B,CAAC,CAAC,EAChC,GAAGE,kCAAkC,CAAC,CAAC,EACvCC,wBAAwB,CAAC,CAAC,CAC7B;AACL,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-background-tasks-os",
|
|
3
|
-
"version": "6.0.0-
|
|
3
|
+
"version": "6.0.0-rc.1",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"main": "index.js",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
@@ -10,27 +11,19 @@
|
|
|
10
11
|
"author": "Webiny LTD",
|
|
11
12
|
"license": "MIT",
|
|
12
13
|
"dependencies": {
|
|
13
|
-
"@webiny/api-elasticsearch-tasks": "6.0.0-
|
|
14
|
-
"@webiny/api-headless-cms-es-tasks": "6.0.0-
|
|
15
|
-
"@webiny/plugins": "6.0.0-
|
|
16
|
-
"@webiny/tasks": "6.0.0-
|
|
14
|
+
"@webiny/api-elasticsearch-tasks": "6.0.0-rc.1",
|
|
15
|
+
"@webiny/api-headless-cms-es-tasks": "6.0.0-rc.1",
|
|
16
|
+
"@webiny/plugins": "6.0.0-rc.1",
|
|
17
|
+
"@webiny/tasks": "6.0.0-rc.1"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"@webiny/project-utils": "6.0.0-beta.0",
|
|
23
|
-
"rimraf": "5.0.5",
|
|
24
|
-
"ttypescript": "1.5.15",
|
|
25
|
-
"typescript": "4.7.4"
|
|
20
|
+
"@webiny/build-tools": "6.0.0-rc.1",
|
|
21
|
+
"rimraf": "6.1.3",
|
|
22
|
+
"typescript": "5.9.3"
|
|
26
23
|
},
|
|
27
24
|
"publishConfig": {
|
|
28
25
|
"access": "public",
|
|
29
26
|
"directory": "dist"
|
|
30
27
|
},
|
|
31
|
-
"
|
|
32
|
-
"build": "yarn webiny run build",
|
|
33
|
-
"watch": "yarn webiny run watch"
|
|
34
|
-
},
|
|
35
|
-
"gitHead": "aa8dbfbbd5ad13ec271adba6f2431e02991a300f"
|
|
28
|
+
"gitHead": "36d702721ff9ed39fb21d6f5fe7922a2a8716e63"
|
|
36
29
|
}
|