@tsed/agenda 8.0.0-beta.4 → 8.0.0-beta.6

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/readme.md +5 -4
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/agenda",
3
3
  "description": "Agenda package for Ts.ED framework",
4
4
  "type": "module",
5
- "version": "8.0.0-beta.4",
5
+ "version": "8.0.0-beta.6",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -25,11 +25,11 @@
25
25
  "tslib": "2.7.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@tsed/barrels": "8.0.0-beta.4",
29
- "@tsed/core": "8.0.0-beta.4",
30
- "@tsed/di": "8.0.0-beta.4",
31
- "@tsed/platform-http": "8.0.0-beta.4",
32
- "@tsed/typescript": "8.0.0-beta.4",
28
+ "@tsed/barrels": "8.0.0-beta.6",
29
+ "@tsed/core": "8.0.0-beta.6",
30
+ "@tsed/di": "8.0.0-beta.6",
31
+ "@tsed/platform-http": "8.0.0-beta.6",
32
+ "@tsed/typescript": "8.0.0-beta.6",
33
33
  "agenda": "^5.0.0",
34
34
  "eslint": "9.12.0",
35
35
  "typescript": "5.4.5",
package/readme.md CHANGED
@@ -52,7 +52,7 @@ npm install --save agenda
52
52
  Import `@tsed/agenda` in your Server:
53
53
 
54
54
  ```typescript
55
- import {Configuration} from "@tsed/common";
55
+ import {Configuration} from "@tsed/di";
56
56
  import "@tsed/agenda"; // import agenda ts.ed module
57
57
 
58
58
  const mongoConnectionString = "mongodb://127.0.0.1/agenda";
@@ -164,7 +164,8 @@ Inject the AgendaService instance to interact with it directly, e.g. to schedule
164
164
  a job manually.
165
165
 
166
166
  ```typescript
167
- import {Service, AfterRoutesInit} from "@tsed/common";
167
+ import {Service} from "@tsed/di";
168
+ import {AfterRoutesInit} from "@tsed/platform-params";
168
169
  import {AgendaModule} from "@tsed/agenda";
169
170
 
170
171
  @Service()
@@ -202,8 +203,8 @@ npm install --save agendash
202
203
  Afterward create the module `agendash.module.ts` in src/modules so that the dashboard can be exposed using middleware.
203
204
 
204
205
  ```typescript
205
- import {AfterRoutesInit, Inject, PlatformApplication} from "@tsed/common";
206
- import {Configuration, Module} from "@tsed/di";
206
+ import {AfterRoutesInit, PlatformApplication} from "@tsed/platform-http";
207
+ import {Configuration, Inject, Module} from "@tsed/di";
207
208
  import {Agenda} from "agenda";
208
209
 
209
210
  const Agendash = require("agendash");