@tsed/bullmq 8.0.0-beta.4 → 8.0.0-beta.5
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 +3 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ npm install @tsed/bullmq bullmq
|
|
|
47
47
|
Import the `@tsed/bullmq` module in your server
|
|
48
48
|
|
|
49
49
|
```ts
|
|
50
|
-
import {Configuration} from "@tsed/
|
|
50
|
+
import {Configuration} from "@tsed/di";
|
|
51
51
|
import "@tsed/bullmq"; // import bullmq ts.ed module
|
|
52
52
|
|
|
53
53
|
@Configuration({
|
|
@@ -139,7 +139,7 @@ class MyCronJob implements JobMethods {
|
|
|
139
139
|
To register the job you now have to import it in the server so they can be detected.
|
|
140
140
|
|
|
141
141
|
```ts
|
|
142
|
-
import {Configuration} from "@tsed/
|
|
142
|
+
import {Configuration} from "@tsed/di";
|
|
143
143
|
import "@tsed/bullmq"; // import bullmq ts.ed module
|
|
144
144
|
|
|
145
145
|
import "./jobs/MyCronJob";
|
|
@@ -175,7 +175,7 @@ class GlobalFallbackController implements JobMethods {
|
|
|
175
175
|
You also have to register the fallback job in the server:
|
|
176
176
|
|
|
177
177
|
```ts
|
|
178
|
-
import {Configuration} from "@tsed/
|
|
178
|
+
import {Configuration} from "@tsed/di";
|
|
179
179
|
import "@tsed/bullmq"; // import bullmq ts.ed module
|
|
180
180
|
|
|
181
181
|
import "./jobs/MyFallbackJobs";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/bullmq",
|
|
3
3
|
"description": "BullMQ integration for Ts.ED",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.0.0-beta.
|
|
5
|
+
"version": "8.0.0-beta.5",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Ts.ED",
|
|
8
8
|
"BullMQ"
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"tslib": "2.7.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tsed/barrels": "8.0.0-beta.
|
|
33
|
-
"@tsed/core": "8.0.0-beta.
|
|
34
|
-
"@tsed/di": "8.0.0-beta.
|
|
35
|
-
"@tsed/platform-http": "8.0.0-beta.
|
|
36
|
-
"@tsed/schema": "8.0.0-beta.
|
|
37
|
-
"@tsed/typescript": "8.0.0-beta.
|
|
32
|
+
"@tsed/barrels": "8.0.0-beta.5",
|
|
33
|
+
"@tsed/core": "8.0.0-beta.5",
|
|
34
|
+
"@tsed/di": "8.0.0-beta.5",
|
|
35
|
+
"@tsed/platform-http": "8.0.0-beta.5",
|
|
36
|
+
"@tsed/schema": "8.0.0-beta.5",
|
|
37
|
+
"@tsed/typescript": "8.0.0-beta.5",
|
|
38
38
|
"bullmq": "^4.12.3 || ^5.1.1",
|
|
39
39
|
"eslint": "9.12.0",
|
|
40
40
|
"ts-mockito": "^2.6.1",
|