easywork-common-lib 1.0.686 → 1.0.688
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.
|
@@ -10,16 +10,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.EasyQueueModule = void 0;
|
|
11
11
|
const common_1 = require("@nestjs/common");
|
|
12
12
|
const notifier_service_1 = require("./notifier.service");
|
|
13
|
-
const nestjs_rabbitmq_1 = require("@golevelup/nestjs-rabbitmq");
|
|
14
13
|
const scheduler_service_1 = require("./scheduler.service");
|
|
15
14
|
const event_service_1 = require("./event.service");
|
|
16
15
|
const queue_service_1 = require("./queue.service");
|
|
16
|
+
const nestjs_rabbitmq_1 = require("@golevelup/nestjs-rabbitmq");
|
|
17
17
|
let EasyQueueModule = EasyQueueModule_1 = class EasyQueueModule {
|
|
18
18
|
static register(exchangeName, rabbitMQUri, notificationRoutingKey, schedulerRoutingKey, eventRoutingKey) {
|
|
19
|
+
console.log(rabbitMQUri);
|
|
20
|
+
console.log(notificationRoutingKey);
|
|
21
|
+
console.log(schedulerRoutingKey);
|
|
19
22
|
return {
|
|
20
23
|
module: EasyQueueModule_1,
|
|
21
24
|
imports: [
|
|
22
|
-
nestjs_rabbitmq_1.RabbitMQModule.forRoot(
|
|
25
|
+
nestjs_rabbitmq_1.RabbitMQModule.forRoot({
|
|
23
26
|
exchanges: [
|
|
24
27
|
{
|
|
25
28
|
name: exchangeName,
|
|
@@ -51,7 +54,12 @@ let EasyQueueModule = EasyQueueModule_1 = class EasyQueueModule {
|
|
|
51
54
|
event_service_1.EasyEventService,
|
|
52
55
|
queue_service_1.EasyQueueService,
|
|
53
56
|
],
|
|
54
|
-
exports: [
|
|
57
|
+
exports: [
|
|
58
|
+
notifier_service_1.EasyNotifierService,
|
|
59
|
+
scheduler_service_1.EasySchedulerService,
|
|
60
|
+
event_service_1.EasyEventService,
|
|
61
|
+
queue_service_1.EasyQueueService,
|
|
62
|
+
],
|
|
55
63
|
};
|
|
56
64
|
}
|
|
57
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.module.js","sourceRoot":"","sources":["../../../src/modules/queue/queue.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAA+D;AAC/D,yDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"queue.module.js","sourceRoot":"","sources":["../../../src/modules/queue/queue.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAA+D;AAC/D,yDAAyD;AACzD,2DAA2D;AAC3D,mDAAmD;AACnD,mDAAmD;AACnD,gEAA4D;AAIrD,IAAM,eAAe,uBAArB,MAAM,eAAe;IAC1B,MAAM,CAAC,QAAQ,CACb,YAAoB,EACpB,WAAmB,EACnB,sBAA8B,EAC9B,mBAA2B,EAC3B,eAAuB;QAEvB,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACzB,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;QACpC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAEjC,OAAO;YACL,MAAM,EAAE,iBAAe;YACvB,OAAO,EAAE;gBACP,gCAAc,CAAC,OAAO,CAAC;oBACrB,SAAS,EAAE;wBACT;4BACE,IAAI,EAAE,YAAY;4BAClB,IAAI,EAAE,OAAO;yBACd;qBACF;oBACD,GAAG,EAAE,WAAW;iBACjB,CAAC;aACH;YACD,SAAS,EAAE;gBACT;oBACE,OAAO,EAAE,eAAe;oBACxB,QAAQ,EAAE,YAAY;iBACvB;gBACD;oBACE,OAAO,EAAE,sBAAsB;oBAC/B,QAAQ,EAAE,sBAAsB;iBACjC;gBACD;oBACE,OAAO,EAAE,uBAAuB;oBAChC,QAAQ,EAAE,mBAAmB;iBAC9B;gBACD;oBACE,OAAO,EAAE,mBAAmB;oBAC5B,QAAQ,EAAE,eAAe;iBAC1B;gBACD,sCAAmB;gBACnB,wCAAoB;gBACpB,gCAAgB;gBAChB,gCAAgB;aACjB;YACD,OAAO,EAAE;gBACP,sCAAmB;gBACnB,wCAAoB;gBACpB,gCAAgB;gBAChB,gCAAgB;aACjB;SACF,CAAC;IACJ,CAAC;CACF,CAAA;AAvDY,0CAAe;0BAAf,eAAe;IAF3B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,eAAe,CAuD3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easywork-common-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.688",
|
|
4
4
|
"description": "Librería común de Easywork",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/blindariesgos/easywork-common-lib#readme",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@golevelup/nestjs-rabbitmq": "^5.
|
|
25
|
+
"@golevelup/nestjs-rabbitmq": "^5.7.0",
|
|
26
26
|
"@nestjs/common": "^10.4.15",
|
|
27
27
|
"@nestjs/swagger": "^7.4.2",
|
|
28
28
|
"@nestjs/typeorm": "^10.0.2",
|
|
@@ -30,13 +30,14 @@
|
|
|
30
30
|
"class-validator": "^0.14.1",
|
|
31
31
|
"googleapis": "^144.0.0",
|
|
32
32
|
"nanoid": "^3.3.8",
|
|
33
|
+
"nestjs-rabbitmq": "link:@types/@golevelup/nestjs-rabbitmq",
|
|
33
34
|
"rxjs": "^7.8.1",
|
|
34
35
|
"sharp": "^0.33.5",
|
|
35
36
|
"typeorm": "^0.3.20"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@rubiin/tsconfig": "^1.2.1",
|
|
39
|
-
"@types/node": "^20.17.
|
|
40
|
+
"@types/node": "^20.17.16",
|
|
40
41
|
"cpx-fixed": "^1.6.0",
|
|
41
42
|
"ts-loader": "^9.5.2",
|
|
42
43
|
"typescript": "^5.7.3"
|