vona-module-a-queue 5.0.23 → 5.0.25
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/types/queue.d.ts +4 -4
- package/package.json +1 -1
package/dist/types/queue.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type Redlock from '@sesamecare-oss/redlock';
|
|
|
2
2
|
import type * as Bull from 'bullmq';
|
|
3
3
|
import type { OmitNever } from 'vona';
|
|
4
4
|
import type { IGeneralInfoOptions } from 'vona-module-a-executor';
|
|
5
|
-
import type {
|
|
5
|
+
import type { ServiceOnion, TypeOnionOptionsEnableSimple } from 'vona-module-a-onion';
|
|
6
6
|
export interface IQueuePushOptions extends IGeneralInfoOptions {
|
|
7
7
|
queueNameSub?: string;
|
|
8
8
|
jobName?: string;
|
|
@@ -45,13 +45,13 @@ export interface IQueueCallbacks {
|
|
|
45
45
|
}
|
|
46
46
|
export interface IQueueRecord {
|
|
47
47
|
}
|
|
48
|
-
export interface IDecoratorQueueOptions extends
|
|
48
|
+
export interface IDecoratorQueueOptions extends TypeOnionOptionsEnableSimple {
|
|
49
49
|
concurrency?: boolean;
|
|
50
50
|
transaction?: boolean;
|
|
51
51
|
options?: {
|
|
52
|
-
queue?: Bull.QueueOptions
|
|
52
|
+
queue?: Partial<Bull.QueueOptions>;
|
|
53
53
|
worker?: Partial<Bull.WorkerOptions>;
|
|
54
|
-
redlock?: Redlock.Redlock & {
|
|
54
|
+
redlock?: Partial<Redlock.Redlock> & {
|
|
55
55
|
lockTTL?: number;
|
|
56
56
|
};
|
|
57
57
|
job?: Bull.JobsOptions;
|