@zerotal/queue 1.7.3 → 1.7.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/CHANGELOG.md +2 -0
- package/api-surface.md +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/api-surface.md
CHANGED
|
@@ -298,13 +298,13 @@ interface WorkerPoolOptions = {
|
|
|
298
298
|
size: number
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
type BatchStatus = '
|
|
301
|
+
type BatchStatus = 'pending' | 'complete' | 'failed'
|
|
302
302
|
|
|
303
303
|
type JobStatus = 'dispatched' | 'completed' | 'failed' | 'retried'
|
|
304
304
|
|
|
305
305
|
type SerializedJob = { className: string; payload: Record<string, unknown>;}
|
|
306
306
|
|
|
307
|
-
type WorkerResult = {
|
|
307
|
+
type WorkerResult = { success: true } | { success: false; error: string }
|
|
308
308
|
|
|
309
309
|
## ./commands `(./src/commands/index.ts)`
|
|
310
310
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerotal/queue",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"maturity": "stable",
|
|
6
6
|
"private": false,
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"typecheck": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@zerotal/core": "1.7.
|
|
35
|
-
"@zerotal/orm": "1.7.
|
|
34
|
+
"@zerotal/core": "1.7.5",
|
|
35
|
+
"@zerotal/orm": "1.7.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^5.8.0"
|