@nest-boot/bullmq 8.0.0-beta.0 → 8.0.0-beta.2
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/bullmq-module-options.interface.d.ts +0 -2
- package/dist/bullmq.module.d.ts +0 -27
- package/dist/bullmq.module.js +0 -27
- package/dist/bullmq.module.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/processor.decorator.d.ts +4 -27
- package/dist/processor.decorator.js +3 -3
- package/dist/processor.decorator.js.map +1 -1
- package/dist/utils/load-config-from-env.util.js +10 -17
- package/dist/utils/load-config-from-env.util.js.map +1 -1
- package/package.json +28 -17
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { ConnectionOptions, type QueueOptions } from "bullmq";
|
|
2
|
-
/** Configuration options for the BullMQ module. */
|
|
3
2
|
export interface BullModuleOptions extends Omit<QueueOptions, "connection"> {
|
|
4
|
-
/** Redis connection options for BullMQ queues and workers. */
|
|
5
3
|
connection?: ConnectionOptions;
|
|
6
4
|
}
|
package/dist/bullmq.module.d.ts
CHANGED
|
@@ -1,36 +1,9 @@
|
|
|
1
1
|
import { BullModule as BaseBullModule } from "@nestjs/bullmq";
|
|
2
2
|
import { type DynamicModule } from "@nestjs/common";
|
|
3
3
|
import { ASYNC_OPTIONS_TYPE, ConfigurableModuleClass, OPTIONS_TYPE } from "./bullmq.module-definition.js";
|
|
4
|
-
/**
|
|
5
|
-
* BullMQ integration module for job queue processing.
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Wraps `@nestjs/bullmq` with automatic Redis connection configuration
|
|
9
|
-
* from environment variables. Supports registering queues and flow producers.
|
|
10
|
-
*/
|
|
11
4
|
export declare class BullModule extends ConfigurableModuleClass {
|
|
12
|
-
/**
|
|
13
|
-
* Registers the BullModule with the given options.
|
|
14
|
-
* @param options - Configuration options including Redis connection
|
|
15
|
-
* @returns Dynamic module configuration
|
|
16
|
-
*/
|
|
17
5
|
static forRoot(options: typeof OPTIONS_TYPE): DynamicModule;
|
|
18
|
-
/**
|
|
19
|
-
* Registers the BullModule asynchronously with factory functions.
|
|
20
|
-
* @param options - Async configuration options
|
|
21
|
-
* @returns Dynamic module configuration
|
|
22
|
-
*/
|
|
23
6
|
static forRootAsync(options: typeof ASYNC_OPTIONS_TYPE): DynamicModule;
|
|
24
|
-
/**
|
|
25
|
-
* Registers a BullMQ queue.
|
|
26
|
-
* @param args - registerQueue arguments
|
|
27
|
-
* @returns Dynamic module configuration
|
|
28
|
-
*/
|
|
29
7
|
static registerQueue(...args: Parameters<typeof BaseBullModule.registerQueue>): DynamicModule;
|
|
30
|
-
/**
|
|
31
|
-
* Registers a BullMQ queue asynchronously.
|
|
32
|
-
* @param args - registerQueueAsync arguments
|
|
33
|
-
* @returns Dynamic module configuration
|
|
34
|
-
*/
|
|
35
8
|
static registerQueueAsync(...args: Parameters<typeof BaseBullModule.registerQueueAsync>): DynamicModule;
|
|
36
9
|
}
|
package/dist/bullmq.module.js
CHANGED
|
@@ -8,43 +8,16 @@ import { BullModule as BaseBullModule } from "@nestjs/bullmq";
|
|
|
8
8
|
import { Global, Module } from "@nestjs/common";
|
|
9
9
|
import { BASE_MODULE_OPTIONS_TOKEN, ConfigurableModuleClass, MODULE_OPTIONS_TOKEN, } from "./bullmq.module-definition.js";
|
|
10
10
|
import { loadConfigFromEnv } from "./utils/load-config-from-env.util.js";
|
|
11
|
-
/**
|
|
12
|
-
* BullMQ integration module for job queue processing.
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Wraps `@nestjs/bullmq` with automatic Redis connection configuration
|
|
16
|
-
* from environment variables. Supports registering queues and flow producers.
|
|
17
|
-
*/
|
|
18
11
|
let BullModule = class BullModule extends ConfigurableModuleClass {
|
|
19
|
-
/**
|
|
20
|
-
* Registers the BullModule with the given options.
|
|
21
|
-
* @param options - Configuration options including Redis connection
|
|
22
|
-
* @returns Dynamic module configuration
|
|
23
|
-
*/
|
|
24
12
|
static forRoot(options) {
|
|
25
13
|
return super.forRoot(options);
|
|
26
14
|
}
|
|
27
|
-
/**
|
|
28
|
-
* Registers the BullModule asynchronously with factory functions.
|
|
29
|
-
* @param options - Async configuration options
|
|
30
|
-
* @returns Dynamic module configuration
|
|
31
|
-
*/
|
|
32
15
|
static forRootAsync(options) {
|
|
33
16
|
return super.forRootAsync(options);
|
|
34
17
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Registers a BullMQ queue.
|
|
37
|
-
* @param args - registerQueue arguments
|
|
38
|
-
* @returns Dynamic module configuration
|
|
39
|
-
*/
|
|
40
18
|
static registerQueue(...args) {
|
|
41
19
|
return BaseBullModule.registerQueue(...args);
|
|
42
20
|
}
|
|
43
|
-
/**
|
|
44
|
-
* Registers a BullMQ queue asynchronously.
|
|
45
|
-
* @param args - registerQueueAsync arguments
|
|
46
|
-
* @returns Dynamic module configuration
|
|
47
|
-
*/
|
|
48
21
|
static registerQueueAsync(...args) {
|
|
49
22
|
return BaseBullModule.registerQueueAsync(...args);
|
|
50
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bullmq.module.js","sourceRoot":"","sources":["../src/bullmq.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAsB,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAEL,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,GAErB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"bullmq.module.js","sourceRoot":"","sources":["../src/bullmq.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAsB,MAAM,EAAE,M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CAAC,oBAAoB,CAAC;KAChC,CAAC;GACW,UAAU,CA0CtB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BullModule } from "./bullmq.module.js";
|
|
2
2
|
export * from "./bullmq-module-options.interface.js";
|
|
3
|
-
export { Processor } from "./processor.decorator.js";
|
|
3
|
+
export { type NestWorkerOptions, Processor } from "./processor.decorator.js";
|
|
4
4
|
export * from "@nestjs/bullmq";
|
|
5
5
|
export { QueueEventsListener } from "@nestjs/bullmq";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,OAAO,EAA0B,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC7E,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
import { type ProcessorOptions } from "@nestjs/bullmq";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @remarks
|
|
7
|
-
* Wraps the `@nestjs/bullmq` `Processor` decorator to automatically
|
|
8
|
-
* create a {@link RequestContext} for each processed job.
|
|
9
|
-
*
|
|
10
|
-
* @param queueName - The name of the queue to process
|
|
11
|
-
*/
|
|
2
|
+
import type { WorkerOptions } from "bullmq";
|
|
3
|
+
export type NestWorkerOptions = Omit<WorkerOptions, "connection"> & Partial<Pick<WorkerOptions, "connection">> & {
|
|
4
|
+
sharedConnection?: boolean;
|
|
5
|
+
};
|
|
12
6
|
export declare function Processor(queueName: string): ClassDecorator;
|
|
13
|
-
/**
|
|
14
|
-
* Decorator that marks a class as a BullMQ queue processor with worker options.
|
|
15
|
-
*
|
|
16
|
-
* @param queueName - The name of the queue to process
|
|
17
|
-
* @param workerOptions - Worker configuration options
|
|
18
|
-
*/
|
|
19
7
|
export declare function Processor(queueName: string, workerOptions: NestWorkerOptions): ClassDecorator;
|
|
20
|
-
/**
|
|
21
|
-
* Decorator that marks a class as a BullMQ queue processor with processor options.
|
|
22
|
-
*
|
|
23
|
-
* @param processorOptions - Processor configuration options
|
|
24
|
-
*/
|
|
25
8
|
export declare function Processor(processorOptions: ProcessorOptions): ClassDecorator;
|
|
26
|
-
/**
|
|
27
|
-
* Decorator that marks a class as a BullMQ queue processor with processor and worker options.
|
|
28
|
-
*
|
|
29
|
-
* @param processorOptions - Processor configuration options
|
|
30
|
-
* @param workerOptions - Worker configuration options
|
|
31
|
-
*/
|
|
32
9
|
export declare function Processor(processorOptions: ProcessorOptions, workerOptions: NestWorkerOptions): ClassDecorator;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
2
1
|
import { RequestContext } from "@nest-boot/request-context";
|
|
3
2
|
import { JOB_REF, Processor as BaseProcessor, } from "@nestjs/bullmq";
|
|
4
3
|
export function Processor(queueNameOrOptions, maybeWorkerOptions) {
|
|
5
4
|
return (target) => {
|
|
6
5
|
const originalProcess = target.prototype.process;
|
|
7
6
|
if (originalProcess) {
|
|
8
|
-
target.prototype.process = async function (
|
|
7
|
+
target.prototype.process = async function (...args) {
|
|
8
|
+
const [job] = args;
|
|
9
9
|
const ctx = new RequestContext({
|
|
10
10
|
id: job.id,
|
|
11
11
|
type: "queue",
|
|
12
12
|
});
|
|
13
13
|
ctx.set(JOB_REF, job);
|
|
14
|
-
return await RequestContext.run(ctx, () => originalProcess.
|
|
14
|
+
return await RequestContext.run(ctx, () => originalProcess.apply(this, args));
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
BaseProcessor(queueNameOrOptions, maybeWorkerOptions)(target);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processor.decorator.js","sourceRoot":"","sources":["../src/processor.decorator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"processor.decorator.js","sourceRoot":"","sources":["../src/processor.decorator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EACL,OAAO,EACP,SAAS,IAAI,aAAa,GAG3B,MAAM,gBAAgB,CAAC;AAuDxB,MAAM,UAAU,SAAS,CACvB,kBAA8C,EAC9C,kBAAsC;IAEtC,OAAO,CAAC,MAA2B,EAAE,EAAE;QACrC,MAAM,eAAe,GAAG,MAAM,CAAC,SAAS,CAAC,OAA0B,CAAC;QACpE,IAAI,eAAe,EAAE,CAAC;YACpB,MAAM,CAAC,SAAS,CAAC,OAAO,GAAG,KAAK,WAC9B,GAAG,IAAiC;gBAEpC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;gBACnB,MAAM,GAAG,GAAG,IAAI,cAAc,CAAC;oBAC7B,EAAE,EAAE,GAAG,CAAC,EAAE;oBACV,IAAI,EAAE,OAAO;iBACd,CAAC,CAAC;gBAEH,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;gBAEtB,OAAO,MAAM,cAAc,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CACxC,eAAe,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAClC,CAAC;YACJ,CAAC,CAAC;QACJ,CAAC;QAED,aAAa,CAAC,kBAAyB,EAAE,kBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9E,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,30 +1,23 @@
|
|
|
1
|
+
function normalizeHostname(hostname) {
|
|
2
|
+
if (hostname.startsWith("[") && hostname.endsWith("]")) {
|
|
3
|
+
return hostname.slice(1, -1);
|
|
4
|
+
}
|
|
5
|
+
return hostname;
|
|
6
|
+
}
|
|
1
7
|
export function loadConfigFromEnv() {
|
|
2
8
|
if (process.env.REDIS_URL) {
|
|
3
9
|
const url = new URL(process.env.REDIS_URL);
|
|
4
10
|
const port = url.port;
|
|
5
11
|
const database = url.pathname.split("/")[1];
|
|
6
12
|
return {
|
|
7
|
-
host: url.hostname,
|
|
13
|
+
host: normalizeHostname(url.hostname),
|
|
8
14
|
port: port ? +port : undefined,
|
|
9
15
|
db: database ? +database : undefined,
|
|
10
|
-
username: url.username,
|
|
11
|
-
password: url.password,
|
|
16
|
+
username: decodeURIComponent(url.username),
|
|
17
|
+
password: decodeURIComponent(url.password),
|
|
12
18
|
...(url.protocol === "rediss:" ? { tls: {} } : {}),
|
|
13
19
|
};
|
|
14
20
|
}
|
|
15
|
-
|
|
16
|
-
const port = process.env.REDIS_PORT;
|
|
17
|
-
const database = process.env.REDIS_DB ?? process.env.REDIS_DATABASE;
|
|
18
|
-
const username = process.env.REDIS_USER ?? process.env.REDIS_USERNAME;
|
|
19
|
-
const password = process.env.REDIS_PASS ?? process.env.REDIS_PASSWORD;
|
|
20
|
-
const tls = !!process.env.REDIS_TLS;
|
|
21
|
-
return {
|
|
22
|
-
host,
|
|
23
|
-
...(port ? { port: +port } : {}),
|
|
24
|
-
...(database ? { db: +database } : {}),
|
|
25
|
-
username,
|
|
26
|
-
password,
|
|
27
|
-
...(tls ? { tls: {} } : {}),
|
|
28
|
-
};
|
|
21
|
+
return {};
|
|
29
22
|
}
|
|
30
23
|
//# sourceMappingURL=load-config-from-env.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-config-from-env.util.js","sourceRoot":"","sources":["../../src/utils/load-config-from-env.util.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"load-config-from-env.util.js","sourceRoot":"","sources":["../../src/utils/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
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/nest-boot/nest-boot.git",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "",
|
|
16
16
|
"license": "MIT",
|
|
17
|
-
"main": "dist/index.js",
|
|
18
|
-
"types": "dist/index.d.ts",
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
19
|
"directories": {
|
|
20
20
|
"lib": "dist"
|
|
21
21
|
},
|
|
@@ -24,32 +24,33 @@
|
|
|
24
24
|
"templates"
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@nestjs/bullmq": "^
|
|
28
|
-
"@nestjs/common": "
|
|
29
|
-
"@nestjs/core": "
|
|
30
|
-
"@nestjs/testing": "
|
|
27
|
+
"@nestjs/bullmq": "^12.0.0",
|
|
28
|
+
"@nestjs/common": "^12.0.1",
|
|
29
|
+
"@nestjs/core": "^12.0.1",
|
|
30
|
+
"@nestjs/testing": "^12.0.1",
|
|
31
31
|
"@types/node": "^26.0.0",
|
|
32
|
-
"@vitest/coverage-v8": "^4.1.
|
|
32
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
33
33
|
"bullmq": "^5.61.0",
|
|
34
34
|
"dotenv": "^17.2.3",
|
|
35
35
|
"eslint": "^9.39.3",
|
|
36
36
|
"reflect-metadata": "^0.2.2",
|
|
37
37
|
"rxjs": "^7.8.2",
|
|
38
38
|
"typescript": "^6.0.3",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"@nest-boot/
|
|
42
|
-
"@nest-boot/eslint-
|
|
43
|
-
"@nest-boot/
|
|
39
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
40
|
+
"vitest": "^4.1.11",
|
|
41
|
+
"@nest-boot/eslint-config": "^8.0.0-beta.2",
|
|
42
|
+
"@nest-boot/eslint-plugin": "^8.0.0-beta.2",
|
|
43
|
+
"@nest-boot/request-context": "^8.0.0-beta.2",
|
|
44
|
+
"@nest-boot/tsconfig": "^8.0.0-beta.2"
|
|
44
45
|
},
|
|
45
46
|
"peerDependencies": {
|
|
46
|
-
"@nestjs/bullmq": "^
|
|
47
|
-
"@nestjs/common": "^12.0.0
|
|
48
|
-
"@nestjs/core": "^12.0.0
|
|
47
|
+
"@nestjs/bullmq": "^12.0.0",
|
|
48
|
+
"@nestjs/common": "^12.0.0",
|
|
49
|
+
"@nestjs/core": "^12.0.0",
|
|
49
50
|
"bullmq": "^5.0.0",
|
|
50
51
|
"reflect-metadata": "^0.2.2",
|
|
51
52
|
"rxjs": "^7.0.0",
|
|
52
|
-
"@nest-boot/request-context": "^8.0.0-beta.
|
|
53
|
+
"@nest-boot/request-context": "^8.0.0-beta.2"
|
|
53
54
|
},
|
|
54
55
|
"publishConfig": {
|
|
55
56
|
"access": "public"
|
|
@@ -61,6 +62,16 @@
|
|
|
61
62
|
]
|
|
62
63
|
},
|
|
63
64
|
"type": "module",
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=26.0.0"
|
|
67
|
+
},
|
|
68
|
+
"exports": {
|
|
69
|
+
".": {
|
|
70
|
+
"types": "./dist/index.d.ts",
|
|
71
|
+
"import": "./dist/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./package.json": "./package.json"
|
|
74
|
+
},
|
|
64
75
|
"scripts": {
|
|
65
76
|
"build": "tsc -p tsconfig.build.json",
|
|
66
77
|
"clean": "rm -rf .nx && rm -rf node_modules && rm -rf dist",
|