@ldsg/schedules 0.3.32 → 0.3.34
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/dist/resource.js +1 -1
- package/package.json +13 -13
package/dist/resource.js
CHANGED
|
@@ -55,7 +55,7 @@ class SchedulesResource extends resource_1.Resource {
|
|
|
55
55
|
throw new Error("database uri not available");
|
|
56
56
|
}
|
|
57
57
|
this.agenda = new agenda_1.Agenda({
|
|
58
|
-
backend: new mongo_backend_1.MongoBackend({ address: databaseInfo.uri }),
|
|
58
|
+
backend: new mongo_backend_1.MongoBackend({ address: databaseInfo.uri, collection: "agenda_job" }),
|
|
59
59
|
processEvery,
|
|
60
60
|
});
|
|
61
61
|
this.agenda.on("error", (error) => {
|
package/package.json
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/schedules",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "wanxger",
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"types": "dist",
|
|
10
8
|
"files": [
|
|
11
9
|
"dist/"
|
|
12
10
|
],
|
|
11
|
+
"main": "dist/index.js",
|
|
12
|
+
"types": "dist",
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
13
16
|
"dependencies": {
|
|
14
17
|
"@agendajs/mongo-backend": "^4.0.2",
|
|
15
18
|
"agenda": "^6.2.5",
|
|
16
19
|
"lodash": "^4.17.21",
|
|
17
20
|
"zod": "^4.1.11",
|
|
18
|
-
"@ldsg/handler": "0.3.
|
|
19
|
-
"@ldsg/resource-definition": "0.3.
|
|
20
|
-
"@ldsg/
|
|
21
|
-
"@ldsg/
|
|
22
|
-
"@ldsg/database": "0.3.
|
|
21
|
+
"@ldsg/handler": "0.3.34",
|
|
22
|
+
"@ldsg/resource-definition": "0.3.34",
|
|
23
|
+
"@ldsg/resource": "0.3.34",
|
|
24
|
+
"@ldsg/schedule": "0.3.34",
|
|
25
|
+
"@ldsg/database": "0.3.34"
|
|
23
26
|
},
|
|
24
27
|
"devDependencies": {
|
|
25
28
|
"@types/jest": "^29.5.2",
|
|
@@ -31,11 +34,8 @@
|
|
|
31
34
|
"ts-jest": "^29.1.5",
|
|
32
35
|
"ts-node": "^10.9.2",
|
|
33
36
|
"typescript": "^5.8.3",
|
|
34
|
-
"@ldsg/application": "0.3.
|
|
35
|
-
"@ldsg/types": "0.3.
|
|
36
|
-
},
|
|
37
|
-
"publishConfig": {
|
|
38
|
-
"access": "public"
|
|
37
|
+
"@ldsg/application": "0.3.34",
|
|
38
|
+
"@ldsg/types": "0.3.34"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsc --project tsconfig.build.json",
|