@servicelabsco/nestjs-utility-services 1.2.104 → 1.2.106
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/app.controller.d.ts +6 -3
- package/dist/app.controller.js +9 -6
- package/dist/app.controller.js.map +1 -1
- package/dist/config/entity.constants.d.ts +4 -0
- package/dist/config/entity.constants.js +4 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1732960894547-CreateCodeFixScriptTable.d.ts +5 -0
- package/dist/migrations/1732960894547-CreateCodeFixScriptTable.js +22 -0
- package/dist/migrations/1732960894547-CreateCodeFixScriptTable.js.map +1 -0
- package/dist/migrations/1732961040333-CreateCodeFixLogTable.d.ts +5 -0
- package/dist/migrations/1732961040333-CreateCodeFixLogTable.js +24 -0
- package/dist/migrations/1732961040333-CreateCodeFixLogTable.js.map +1 -0
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.d.ts +5 -0
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.js +15 -0
- package/dist/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.js.map +1 -0
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.d.ts +5 -0
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js +15 -0
- package/dist/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js.map +1 -0
- package/dist/system/dtos/code.fix.log.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/code.fix.log.attributes.dto.js +8 -0
- package/dist/system/dtos/code.fix.log.attributes.dto.js.map +1 -0
- package/dist/system/dtos/code.fix.script.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/code.fix.script.attributes.dto.js +8 -0
- package/dist/system/dtos/code.fix.script.attributes.dto.js.map +1 -0
- package/dist/system/dtos/index.d.ts +2 -0
- package/dist/system/dtos/index.js +2 -0
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/entities/code.fix.log.entity.d.ts +16 -0
- package/dist/system/entities/code.fix.log.entity.js +68 -0
- package/dist/system/entities/code.fix.log.entity.js.map +1 -0
- package/dist/system/entities/code.fix.script.entity.d.ts +11 -0
- package/dist/system/entities/code.fix.script.entity.js +48 -0
- package/dist/system/entities/code.fix.script.entity.js.map +1 -0
- package/dist/system/entities/event.queue.entity.d.ts +1 -0
- package/dist/system/entities/event.queue.entity.js +4 -0
- package/dist/system/entities/event.queue.entity.js.map +1 -1
- package/dist/system/entities/index.d.ts +2 -0
- package/dist/system/entities/index.js +2 -0
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/entities/scheduled.event.entity.d.ts +1 -0
- package/dist/system/entities/scheduled.event.entity.js +4 -0
- package/dist/system/entities/scheduled.event.entity.js.map +1 -1
- package/dist/system/es6.classes.d.ts +14 -5
- package/dist/system/es6.classes.js +22 -0
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/jobs/code.fix.log.job.d.ts +9 -0
- package/dist/system/jobs/code.fix.log.job.js +30 -0
- package/dist/system/jobs/code.fix.log.job.js.map +1 -0
- package/dist/system/jobs/code.fix.script.job.d.ts +9 -0
- package/dist/system/jobs/code.fix.script.job.js +30 -0
- package/dist/system/jobs/code.fix.script.job.js.map +1 -0
- package/dist/system/jobs/execute.code.fix.job.d.ts +12 -0
- package/dist/system/jobs/execute.code.fix.job.js +35 -0
- package/dist/system/jobs/execute.code.fix.job.js.map +1 -0
- package/dist/system/jobs/index.d.ts +4 -0
- package/dist/system/jobs/index.js +4 -0
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/set.event.queue.job.d.ts +1 -0
- package/dist/system/jobs/set.event.queue.job.js +13 -7
- package/dist/system/jobs/set.event.queue.job.js.map +1 -1
- package/dist/system/jobs/sync.all.code.job.d.ts +45 -0
- package/dist/system/jobs/sync.all.code.job.js +330 -0
- package/dist/system/jobs/sync.all.code.job.js.map +1 -0
- package/dist/system/libraries/execute.code.fix.d.ts +13 -0
- package/dist/system/libraries/execute.code.fix.js +60 -0
- package/dist/system/libraries/execute.code.fix.js.map +1 -0
- package/dist/system/libraries/index.d.ts +1 -0
- package/dist/system/libraries/index.js +1 -0
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/services/es6.jobs.service.d.ts +9 -1
- package/dist/system/services/es6.jobs.service.js +17 -1
- package/dist/system/services/es6.jobs.service.js.map +1 -1
- package/dist/system/services/scheduled.event.service.js +1 -0
- package/dist/system/services/scheduled.event.service.js.map +1 -1
- package/dist/system/services/upload.service.d.ts +1 -1
- package/dist/system/subscribers/code.fix.log.subscriber.d.ts +10 -0
- package/dist/system/subscribers/code.fix.log.subscriber.js +34 -0
- package/dist/system/subscribers/code.fix.log.subscriber.js.map +1 -0
- package/dist/system/subscribers/code.fix.script.subscriber.d.ts +10 -0
- package/dist/system/subscribers/code.fix.script.subscriber.js +34 -0
- package/dist/system/subscribers/code.fix.script.subscriber.js.map +1 -0
- package/dist/system/subscribers/index.d.ts +2 -0
- package/dist/system/subscribers/index.js +2 -0
- package/dist/system/subscribers/index.js.map +1 -1
- package/package.json +1 -1
@@ -9,7 +9,7 @@ export declare class UploadService {
|
|
9
9
|
constructor(awsS3Service: AwsS3Service, awsConfigService: AwsConfigService);
|
10
10
|
upload(file: FileUploadSpecDto, options?: S3UploadOptionsDto): Promise<string>;
|
11
11
|
private getFileName;
|
12
|
-
getBufferFromUrl(url: string): Promise<Buffer
|
12
|
+
getBufferFromUrl(url: string): Promise<Buffer<ArrayBuffer>>;
|
13
13
|
uploadFile(params: any): Promise<string>;
|
14
14
|
saveLocalFileOnS3(options: LocalFileS3UploadDto): Promise<string>;
|
15
15
|
getParam(file: any): Promise<any>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { DataSource } from 'typeorm';
|
2
|
+
import { CodeFixLogEntity } from '../entities/code.fix.log.entity';
|
3
|
+
import { CodeFixLogJob } from '../jobs/code.fix.log.job';
|
4
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
5
|
+
export declare class CodeFixLogSubscriber extends CommonSubscriber<CodeFixLogEntity> {
|
6
|
+
private readonly dataSource;
|
7
|
+
protected readonly entityJob: CodeFixLogJob;
|
8
|
+
constructor(dataSource: DataSource, entityJob: CodeFixLogJob);
|
9
|
+
listenTo(): typeof CodeFixLogEntity;
|
10
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.CodeFixLogSubscriber = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const code_fix_log_entity_1 = require("../entities/code.fix.log.entity");
|
15
|
+
const code_fix_log_job_1 = require("../jobs/code.fix.log.job");
|
16
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
17
|
+
let CodeFixLogSubscriber = class CodeFixLogSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
|
+
constructor(dataSource, entityJob) {
|
19
|
+
super();
|
20
|
+
this.dataSource = dataSource;
|
21
|
+
this.entityJob = entityJob;
|
22
|
+
dataSource.subscribers.push(this);
|
23
|
+
}
|
24
|
+
listenTo() {
|
25
|
+
return code_fix_log_entity_1.CodeFixLogEntity;
|
26
|
+
}
|
27
|
+
};
|
28
|
+
exports.CodeFixLogSubscriber = CodeFixLogSubscriber;
|
29
|
+
exports.CodeFixLogSubscriber = CodeFixLogSubscriber = __decorate([
|
30
|
+
(0, typeorm_1.EventSubscriber)(),
|
31
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
32
|
+
code_fix_log_job_1.CodeFixLogJob])
|
33
|
+
], CodeFixLogSubscriber);
|
34
|
+
//# sourceMappingURL=code.fix.log.subscriber.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.log.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/code.fix.log.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,yEAAmE;AACnE,+DAAyD;AACzD,gFAA4E;AAGrE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oCAAkC;IACxE,YACqB,UAAsB,EACpB,SAAwB;QAE3C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACpB,cAAS,GAAT,SAAS,CAAe;QAG3C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,sCAAgB,CAAC;IAC5B,CAAC;CACJ,CAAA;AAXY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,gCAAa;GAHtC,oBAAoB,CAWhC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { DataSource } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
3
|
+
import { CodeFixScriptEntity } from '../entities/code.fix.script.entity';
|
4
|
+
import { CodeFixScriptJob } from '../jobs/code.fix.script.job';
|
5
|
+
export declare class CodeFixScriptSubscriber extends CommonSubscriber<CodeFixScriptEntity> {
|
6
|
+
private readonly dataSource;
|
7
|
+
protected readonly entityJob: CodeFixScriptJob;
|
8
|
+
constructor(dataSource: DataSource, entityJob: CodeFixScriptJob);
|
9
|
+
listenTo(): typeof CodeFixScriptEntity;
|
10
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.CodeFixScriptSubscriber = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
15
|
+
const code_fix_script_entity_1 = require("../entities/code.fix.script.entity");
|
16
|
+
const code_fix_script_job_1 = require("../jobs/code.fix.script.job");
|
17
|
+
let CodeFixScriptSubscriber = class CodeFixScriptSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
|
+
constructor(dataSource, entityJob) {
|
19
|
+
super();
|
20
|
+
this.dataSource = dataSource;
|
21
|
+
this.entityJob = entityJob;
|
22
|
+
dataSource.subscribers.push(this);
|
23
|
+
}
|
24
|
+
listenTo() {
|
25
|
+
return code_fix_script_entity_1.CodeFixScriptEntity;
|
26
|
+
}
|
27
|
+
};
|
28
|
+
exports.CodeFixScriptSubscriber = CodeFixScriptSubscriber;
|
29
|
+
exports.CodeFixScriptSubscriber = CodeFixScriptSubscriber = __decorate([
|
30
|
+
(0, typeorm_1.EventSubscriber)(),
|
31
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
32
|
+
code_fix_script_job_1.CodeFixScriptJob])
|
33
|
+
], CodeFixScriptSubscriber);
|
34
|
+
//# sourceMappingURL=code.fix.script.subscriber.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.script.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/code.fix.script.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,gFAA4E;AAC5E,+EAAyE;AACzE,qEAA+D;AAGxD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,oCAAqC;IAC9E,YACqB,UAAsB,EACpB,SAA2B;QAE9C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACpB,cAAS,GAAT,SAAS,CAAkB;QAG9C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,4CAAmB,CAAC;IAC/B,CAAC;CACJ,CAAA;AAXY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,sCAAgB;GAHzC,uBAAuB,CAWnC"}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
export * from './client.credential.subscriber';
|
2
2
|
export * from './client.subscriber';
|
3
|
+
export * from './code.fix.log.subscriber';
|
4
|
+
export * from './code.fix.script.subscriber';
|
3
5
|
export * from './column.subscriber';
|
4
6
|
export * from './comment.subscriber';
|
5
7
|
export * from './credential.ip.subscriber';
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./client.credential.subscriber"), exports);
|
18
18
|
__exportStar(require("./client.subscriber"), exports);
|
19
|
+
__exportStar(require("./code.fix.log.subscriber"), exports);
|
20
|
+
__exportStar(require("./code.fix.script.subscriber"), exports);
|
19
21
|
__exportStar(require("./column.subscriber"), exports);
|
20
22
|
__exportStar(require("./comment.subscriber"), exports);
|
21
23
|
__exportStar(require("./credential.ip.subscriber"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAAA,sDAAoC;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+DAA4C"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAAA,sDAAoC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+DAA4C"}
|
package/package.json
CHANGED