@tsed/pulse 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/package.json +6 -6
- package/readme.md +2 -2
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/pulse",
|
|
3
3
|
"description": "@pulsecron/pulse package for Ts.ED framework",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.0.0-beta.
|
|
5
|
+
"version": "8.0.0-beta.5",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@pulsecron/pulse": "^1.6.3",
|
|
29
|
-
"@tsed/barrels": "8.0.0-beta.
|
|
30
|
-
"@tsed/core": "8.0.0-beta.
|
|
31
|
-
"@tsed/di": "8.0.0-beta.
|
|
32
|
-
"@tsed/platform-http": "8.0.0-beta.
|
|
33
|
-
"@tsed/typescript": "8.0.0-beta.
|
|
29
|
+
"@tsed/barrels": "8.0.0-beta.5",
|
|
30
|
+
"@tsed/core": "8.0.0-beta.5",
|
|
31
|
+
"@tsed/di": "8.0.0-beta.5",
|
|
32
|
+
"@tsed/platform-http": "8.0.0-beta.5",
|
|
33
|
+
"@tsed/typescript": "8.0.0-beta.5",
|
|
34
34
|
"eslint": "9.12.0",
|
|
35
35
|
"typescript": "5.4.5",
|
|
36
36
|
"vitest": "2.1.2"
|
package/readme.md
CHANGED
|
@@ -54,7 +54,7 @@ npm install --save @pulsecron/pulse
|
|
|
54
54
|
Import `@tsed/pulse` in your Server:
|
|
55
55
|
|
|
56
56
|
```typescript
|
|
57
|
-
import {Configuration} from "@tsed/
|
|
57
|
+
import {Configuration} from "@tsed/di";
|
|
58
58
|
import "@tsed/pulse"; // import pulse ts.ed module
|
|
59
59
|
|
|
60
60
|
const mongoConnectionString = "mongodb://127.0.0.1/pulse";
|
|
@@ -166,7 +166,7 @@ Inject the PulseService instance to interact with it directly, e.g. to schedule
|
|
|
166
166
|
a job manually.
|
|
167
167
|
|
|
168
168
|
```typescript
|
|
169
|
-
import {Service,
|
|
169
|
+
import {Service, Inject} from "@tsed/di";
|
|
170
170
|
import {PulseModule} from "@tsed/pulse";
|
|
171
171
|
|
|
172
172
|
@Service()
|