easywork-common-lib 1.0.471 → 1.0.473

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.
@@ -34,7 +34,7 @@ exports.EasyEventService = EasyEventService;
34
34
  exports.EasyEventService = EasyEventService = __decorate([
35
35
  (0, common_1.Injectable)(),
36
36
  __param(1, (0, common_1.Inject)("EXCHANGE_NAME")),
37
- __param(2, (0, common_1.Inject)("SCHEDULER_ROUTING_KEY")),
37
+ __param(2, (0, common_1.Inject)("CALENDAR_ROUTING_KEY")),
38
38
  __metadata("design:paramtypes", [nestjs_rabbitmq_1.AmqpConnection, String, String])
39
39
  ], EasyEventService);
40
40
  //# sourceMappingURL=event.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"event.service.js","sourceRoot":"","sources":["../../../src/modules/queue/event.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAA4D;AAC5D,2CAA4D;AAG5D,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,kBAAkB,CAAC,CAAC;AAGvC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAER;IACyB;IACQ;IAHpD,YACmB,cAA8B,EACL,YAAoB,EACZ,UAAkB;QAFnD,mBAAc,GAAd,cAAc,CAAgB;QACL,iBAAY,GAAZ,YAAY,CAAQ;QACZ,eAAU,GAAV,UAAU,CAAQ;IACnE,CAAC;IAEJ,KAAK,CAAC,WAAW,CAAC,KAA+B;QAC/C,MAAM,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAC3C,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAC/B,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,UAAU,EACf,KAAK,CACN,CAAC;IACJ,CAAC;CACF,CAAA;AAfY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;IAIR,WAAA,IAAA,eAAM,EAAC,eAAe,CAAC,CAAA;IACvB,WAAA,IAAA,eAAM,EAAC,uBAAuB,CAAC,CAAA;qCAFC,gCAAc;GAFtC,gBAAgB,CAe5B"}
1
+ {"version":3,"file":"event.service.js","sourceRoot":"","sources":["../../../src/modules/queue/event.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAA4D;AAC5D,2CAA4D;AAG5D,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,kBAAkB,CAAC,CAAC;AAGvC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAER;IACyB;IACO;IAHnD,YACmB,cAA8B,EACL,YAAoB,EACb,UAAkB;QAFlD,mBAAc,GAAd,cAAc,CAAgB;QACL,iBAAY,GAAZ,YAAY,CAAQ;QACb,eAAU,GAAV,UAAU,CAAQ;IAClE,CAAC;IAEJ,KAAK,CAAC,WAAW,CAAC,KAA+B;QAC/C,MAAM,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAC3C,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAC/B,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,UAAU,EACf,KAAK,CACN,CAAC;IACJ,CAAC;CACF,CAAA;AAfY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;IAIR,WAAA,IAAA,eAAM,EAAC,eAAe,CAAC,CAAA;IACvB,WAAA,IAAA,eAAM,EAAC,sBAAsB,CAAC,CAAA;qCAFE,gCAAc;GAFtC,gBAAgB,CAe5B"}
@@ -1,4 +1,4 @@
1
1
  import { DynamicModule } from "@nestjs/common";
2
2
  export declare class EasyQueueModule {
3
- static register(exchangeName: string, rabbitMQUri: string, notificationRoutingKey: string, schedulerRoutingKey: string): DynamicModule;
3
+ static register(exchangeName: string, rabbitMQUri: string, notificationRoutingKey: string, schedulerRoutingKey: string, eventRoutingKey: string): DynamicModule;
4
4
  }
@@ -14,7 +14,7 @@ const nestjs_rabbitmq_1 = require("@golevelup/nestjs-rabbitmq");
14
14
  const scheduler_service_1 = require("./scheduler.service");
15
15
  const event_service_1 = require("./event.service");
16
16
  let EasyQueueModule = EasyQueueModule_1 = class EasyQueueModule {
17
- static register(exchangeName, rabbitMQUri, notificationRoutingKey, schedulerRoutingKey) {
17
+ static register(exchangeName, rabbitMQUri, notificationRoutingKey, schedulerRoutingKey, eventRoutingKey) {
18
18
  return {
19
19
  module: EasyQueueModule_1,
20
20
  imports: [
@@ -41,6 +41,10 @@ let EasyQueueModule = EasyQueueModule_1 = class EasyQueueModule {
41
41
  provide: "SCHEDULER_ROUTING_KEY",
42
42
  useValue: schedulerRoutingKey,
43
43
  },
44
+ {
45
+ provide: "EVENT_ROUTING_KEY",
46
+ useValue: eventRoutingKey,
47
+ },
44
48
  notifier_service_1.EasyNotifierService,
45
49
  scheduler_service_1.EasySchedulerService,
46
50
  event_service_1.EasyEventService,
@@ -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,gEAA4D;AAC5D,2DAA2D;AAC3D,mDAAmD;AAI5C,IAAM,eAAe,uBAArB,MAAM,eAAe;IAC1B,MAAM,CAAC,QAAQ,CACb,YAAoB,EACpB,WAAmB,EACnB,sBAA8B,EAC9B,mBAA2B;QAE3B,OAAO;YACL,MAAM,EAAE,iBAAe;YACvB,OAAO,EAAE;gBACP,gCAAc,CAAC,OAAO,CAAC,gCAAc,EAAE;oBACrC,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,sCAAmB;gBACnB,wCAAoB;gBACpB,gCAAgB;aACjB;YACD,OAAO,EAAE,CAAC,sCAAmB,EAAE,wCAAoB,EAAE,gCAAgB,CAAC;SACvE,CAAC;IACJ,CAAC;CACF,CAAA;AAxCY,0CAAe;0BAAf,eAAe;IAF3B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,eAAe,CAwC3B"}
1
+ {"version":3,"file":"queue.module.js","sourceRoot":"","sources":["../../../src/modules/queue/queue.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAA+D;AAC/D,yDAAyD;AACzD,gEAA4D;AAC5D,2DAA2D;AAC3D,mDAAmD;AAI5C,IAAM,eAAe,uBAArB,MAAM,eAAe;IAC1B,MAAM,CAAC,QAAQ,CACb,YAAoB,EACpB,WAAmB,EACnB,sBAA8B,EAC9B,mBAA2B,EAC3B,eAAuB;QAEvB,OAAO;YACL,MAAM,EAAE,iBAAe;YACvB,OAAO,EAAE;gBACP,gCAAc,CAAC,OAAO,CAAC,gCAAc,EAAE;oBACrC,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;aACjB;YACD,OAAO,EAAE,CAAC,sCAAmB,EAAE,wCAAoB,EAAE,gCAAgB,CAAC;SACvE,CAAC;IACJ,CAAC;CACF,CAAA;AA7CY,0CAAe;0BAAf,eAAe;IAF3B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,eAAe,CA6C3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.471",
3
+ "version": "1.0.473",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/criptopreto/easywork-common-lib.git"
13
+ "url": "git+https://github.com/blindariesgos/easywork-common-lib.git"
14
14
  },
15
15
  "keywords": [
16
16
  "nodejs"
@@ -18,9 +18,9 @@
18
18
  "author": "Rosmer Campos",
19
19
  "license": "MIT",
20
20
  "bugs": {
21
- "url": "https://github.com/criptopreto/easywork-common-lib/issues"
21
+ "url": "https://github.com/blindariesgos/easywork-common-lib/issues"
22
22
  },
23
- "homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
23
+ "homepage": "https://github.com/blindariesgos/easywork-common-lib#readme",
24
24
  "dependencies": {
25
25
  "@golevelup/nestjs-rabbitmq": "^5.3.0",
26
26
  "@nestjs/common": "^10.3.8",