@servicelabsco/nestjs-utility-services 1.2.53 → 1.2.54
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.
@@ -2,13 +2,15 @@ import { QueueService } from '../../platformUtility/services/queue.service';
|
|
2
2
|
import { PropertyService } from '../../system/services/property.service';
|
3
3
|
import { CommonSqsPolling } from '../libraries/common.sqs.polling';
|
4
4
|
import { SqlService } from '../services/sql.service';
|
5
|
+
import { SqsService } from '../services/sqs.service';
|
5
6
|
import { MaintenanceService } from './../services/maintenance.service';
|
6
7
|
export declare class SqsWorkerCommand extends CommonSqsPolling {
|
7
8
|
private readonly queueService;
|
8
9
|
protected readonly maintenanceService: MaintenanceService;
|
9
10
|
private readonly propertyService;
|
10
11
|
protected readonly sqlService: SqlService;
|
11
|
-
|
12
|
+
protected readonly sqsService: SqsService;
|
13
|
+
constructor(queueService: QueueService, maintenanceService: MaintenanceService, propertyService: PropertyService, sqlService: SqlService, sqsService: SqsService);
|
12
14
|
process(type: string): Promise<void>;
|
13
15
|
private processJob;
|
14
16
|
}
|
@@ -21,14 +21,16 @@ const queue_service_1 = require("../../platformUtility/services/queue.service");
|
|
21
21
|
const property_service_1 = require("../../system/services/property.service");
|
22
22
|
const common_sqs_polling_1 = require("../libraries/common.sqs.polling");
|
23
23
|
const sql_service_1 = require("../services/sql.service");
|
24
|
+
const sqs_service_1 = require("../services/sqs.service");
|
24
25
|
const maintenance_service_1 = require("./../services/maintenance.service");
|
25
26
|
let SqsWorkerCommand = class SqsWorkerCommand extends common_sqs_polling_1.CommonSqsPolling {
|
26
|
-
constructor(queueService, maintenanceService, propertyService, sqlService) {
|
27
|
+
constructor(queueService, maintenanceService, propertyService, sqlService, sqsService) {
|
27
28
|
super();
|
28
29
|
this.queueService = queueService;
|
29
30
|
this.maintenanceService = maintenanceService;
|
30
31
|
this.propertyService = propertyService;
|
31
32
|
this.sqlService = sqlService;
|
33
|
+
this.sqsService = sqsService;
|
32
34
|
this.callingFunction = this.processJob;
|
33
35
|
}
|
34
36
|
async process(type) {
|
@@ -66,6 +68,7 @@ exports.SqsWorkerCommand = SqsWorkerCommand = __decorate([
|
|
66
68
|
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
67
69
|
maintenance_service_1.MaintenanceService,
|
68
70
|
property_service_1.PropertyService,
|
69
|
-
sql_service_1.SqlService
|
71
|
+
sql_service_1.SqlService,
|
72
|
+
sqs_service_1.SqsService])
|
70
73
|
], SqsWorkerCommand);
|
71
74
|
//# sourceMappingURL=sqs.worker.command.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sqs.worker.command.js","sourceRoot":"","sources":["../../../src/platformUtility/commands/sqs.worker.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,mDAAiD;AACjD,qFAAiF;AACjF,wEAAgE;AAChE,gFAA4E;AAC5E,6EAAyE;AACzE,wEAAmE;AACnE,yDAAqD;AACrD,2EAAuE;AAQhE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,qCAAgB;IAMlD,YACqB,YAA0B,EACxB,kBAAsC,EACxC,eAAgC,EAC9B,UAAsB;QAEzC,KAAK,EAAE,CAAC;
|
1
|
+
{"version":3,"file":"sqs.worker.command.js","sourceRoot":"","sources":["../../../src/platformUtility/commands/sqs.worker.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,mDAAiD;AACjD,qFAAiF;AACjF,wEAAgE;AAChE,gFAA4E;AAC5E,6EAAyE;AACzE,wEAAmE;AACnE,yDAAqD;AACrD,yDAAqD;AACrD,2EAAuE;AAQhE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,qCAAgB;IAMlD,YACqB,YAA0B,EACxB,kBAAsC,EACxC,eAAgC,EAC9B,UAAsB,EACtB,UAAsB;QAEzC,KAAK,EAAE,CAAC;QANS,iBAAY,GAAZ,YAAY,CAAc;QACxB,uBAAkB,GAAlB,k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