@veloxts/queue 0.6.90 → 0.6.91
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/index.d.ts +0 -27
- package/dist/index.js +0 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -67,30 +67,3 @@ export type { BackoffOptions, BullMQConfig, Delay, DispatchOptions, DurationStri
|
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
69
|
export { formatDuration, isDurationString, parseDelay, validateJobName } from './utils.js';
|
|
70
|
-
/**
|
|
71
|
-
* DI tokens and providers for @veloxts/queue
|
|
72
|
-
*
|
|
73
|
-
* Use these to integrate queue services with the @veloxts/core DI container.
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* ```typescript
|
|
77
|
-
* import { Container } from '@veloxts/core';
|
|
78
|
-
* import { registerQueueProviders, QUEUE_MANAGER, WORKER_MANAGER } from '@veloxts/queue';
|
|
79
|
-
*
|
|
80
|
-
* const container = new Container();
|
|
81
|
-
* await registerQueueProviders(container, {
|
|
82
|
-
* driver: 'sync',
|
|
83
|
-
* includeWorker: true,
|
|
84
|
-
* });
|
|
85
|
-
*
|
|
86
|
-
* const queue = container.resolve(QUEUE_MANAGER);
|
|
87
|
-
* await queue.dispatch(myJob, { data: 'value' });
|
|
88
|
-
*
|
|
89
|
-
* const worker = container.resolve(WORKER_MANAGER);
|
|
90
|
-
* worker.register(myJob);
|
|
91
|
-
* await worker.start();
|
|
92
|
-
* ```
|
|
93
|
-
*/
|
|
94
|
-
export type { RegisterQueueProvidersOptions } from './providers.js';
|
|
95
|
-
export { registerQueueProviders } from './providers.js';
|
|
96
|
-
export { QUEUE_CONFIG, QUEUE_MANAGER, QUEUE_STORE, WORKER_MANAGER, WORKER_STORE, } from './tokens.js';
|
package/dist/index.js
CHANGED
|
@@ -70,6 +70,3 @@ export { closeQueue, getQueue, getQueueFromInstance, initQueue, queuePlugin, } f
|
|
|
70
70
|
* ```
|
|
71
71
|
*/
|
|
72
72
|
export { formatDuration, isDurationString, parseDelay, validateJobName } from './utils.js';
|
|
73
|
-
export { registerQueueProviders } from './providers.js';
|
|
74
|
-
// Token exports - unique identifiers for DI resolution
|
|
75
|
-
export { QUEUE_CONFIG, QUEUE_MANAGER, QUEUE_STORE, WORKER_MANAGER, WORKER_STORE, } from './tokens.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloxts/queue",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.91",
|
|
4
4
|
"description": "Background job processing for VeloxTS framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"ioredis": "5.9.2",
|
|
28
28
|
"superjson": "2.2.6",
|
|
29
29
|
"zod": "3.24.4",
|
|
30
|
-
"@veloxts/core": "0.6.
|
|
30
|
+
"@veloxts/core": "0.6.91"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@biomejs/biome": "2.3.13",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"fastify": "5.7.2",
|
|
37
37
|
"typescript": "5.9.3",
|
|
38
38
|
"vitest": "4.0.18",
|
|
39
|
-
"@veloxts/testing": "0.6.
|
|
39
|
+
"@veloxts/testing": "0.6.91"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"fastify": "^5.0.0"
|