@commandkit/tasks 1.2.0-rc.6 → 1.2.0-rc.7
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/context.d.ts +2 -2
- package/dist/context.js +3 -2
- package/package.json +3 -3
package/dist/context.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type CommandKit, type Client, Collection } from 'commandkit';
|
|
2
2
|
import { Task } from './task';
|
|
3
3
|
/**
|
|
4
4
|
* Data structure for creating a task execution context.
|
|
@@ -67,7 +67,7 @@ export declare class TaskContext<T extends Record<string, any> = Record<string,
|
|
|
67
67
|
* });
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
readonly store:
|
|
70
|
+
readonly store: Collection<any, any>;
|
|
71
71
|
/**
|
|
72
72
|
* Creates a new task execution context.
|
|
73
73
|
*
|
package/dist/context.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TaskContext = void 0;
|
|
4
|
+
const commandkit_1 = require("commandkit");
|
|
4
5
|
/**
|
|
5
6
|
* Execution context provided to task functions.
|
|
6
7
|
*
|
|
@@ -60,7 +61,7 @@ class TaskContext {
|
|
|
60
61
|
* });
|
|
61
62
|
* ```
|
|
62
63
|
*/
|
|
63
|
-
this.store = new
|
|
64
|
+
this.store = new commandkit_1.Collection();
|
|
64
65
|
}
|
|
65
66
|
/**
|
|
66
67
|
* Gets the task instance being executed.
|
|
@@ -98,4 +99,4 @@ class TaskContext {
|
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
exports.TaskContext = TaskContext;
|
|
101
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJDQUFzRTtBQW9CdEU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBMEJHO0FBQ0gsTUFBYSxXQUFXO0lBMkJ0Qjs7OztPQUlHO0lBQ0gsWUFBMkIsS0FBeUI7UUFBekIsVUFBSyxHQUFMLEtBQUssQ0FBb0I7UUEvQnBEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztXQXVCRztRQUNhLFVBQUssR0FBRyxJQUFJLHVCQUFVLEVBQVksQ0FBQztJQU9JLENBQUM7SUFFeEQ7Ozs7T0FJRztJQUNILElBQVcsSUFBSTtRQUNiLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUM7SUFDekIsQ0FBQztJQUVEOzs7T0FHRztJQUNILElBQVcsTUFBTTtRQUNmLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxVQUFVLENBQUMsTUFBTSxDQUFDO0lBQ3RDLENBQUM7SUFFRDs7OztPQUlHO0lBQ0gsSUFBVyxJQUFJO1FBQ2IsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQztJQUN6QixDQUFDO0lBRUQ7Ozs7Ozs7T0FPRztJQUNILElBQVcsVUFBVTtRQUNuQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDO0lBQy9CLENBQUM7Q0FDRjtBQXZFRCxrQ0F1RUMifQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commandkit/tasks",
|
|
3
|
-
"version": "1.2.0-rc.
|
|
3
|
+
"version": "1.2.0-rc.7",
|
|
4
4
|
"description": "Task management plugin for CommandKit",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"bullmq": "^5.56.5",
|
|
47
47
|
"typescript": "^5.8.3",
|
|
48
|
-
"commandkit": "1.2.0-rc.
|
|
49
|
-
"tsconfig": "0.0.0-rc.
|
|
48
|
+
"commandkit": "1.2.0-rc.7",
|
|
49
|
+
"tsconfig": "0.0.0-rc.7"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"cron-parser": "^4.9.0"
|