@servicelabsco/nestjs-utility-services 1.2.104 → 1.2.105
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 +4 -3
- package/dist/app.controller.js +6 -8
- 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 +12 -4
- package/dist/system/es6.classes.js +20 -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 +3 -0
- package/dist/system/jobs/index.js +3 -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/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 +7 -1
- package/dist/system/services/es6.jobs.service.js +13 -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
package/dist/app.controller.d.ts
CHANGED
@@ -3,9 +3,9 @@ import { TestJob } from './platformUtility/jobs/test.job';
|
|
3
3
|
import { MailService } from './platformUtility/services/mail.service';
|
4
4
|
import { QueueService } from './platformUtility/services/queue.service';
|
5
5
|
import { SqlService } from './platformUtility/services/sql.service';
|
6
|
+
import { ExecuteCodeFixJob } from './system/jobs/execute.code.fix.job';
|
6
7
|
import { SetScheduledEventJob } from './system/jobs/set.scheduled.event.job';
|
7
8
|
import { PropertyService } from './system/services/property.service';
|
8
|
-
import { CommentEntity } from './system/entities/comment.entity';
|
9
9
|
export declare class AppController {
|
10
10
|
private readonly queueService;
|
11
11
|
protected readonly testJob: TestJob;
|
@@ -13,7 +13,8 @@ export declare class AppController {
|
|
13
13
|
protected readonly mailService: MailService;
|
14
14
|
protected readonly propertyService: PropertyService;
|
15
15
|
protected readonly sqlService: SqlService;
|
16
|
-
|
16
|
+
protected readonly executeCodeFixJob: ExecuteCodeFixJob;
|
17
|
+
constructor(queueService: QueueService, testJob: TestJob, setScheduledEventJob: SetScheduledEventJob, mailService: MailService, propertyService: PropertyService, sqlService: SqlService, executeCodeFixJob: ExecuteCodeFixJob);
|
17
18
|
get(): Promise<{
|
18
19
|
message: string;
|
19
20
|
}>;
|
@@ -23,7 +24,7 @@ export declare class AppController {
|
|
23
24
|
getQueueInstance(): Promise<any>;
|
24
25
|
queue(id: string): Promise<any>;
|
25
26
|
set(req: Request): Promise<any>;
|
26
|
-
test(): Promise<
|
27
|
+
test(): Promise<void>;
|
27
28
|
pause(query: any): Promise<any>;
|
28
29
|
resume(query: any): Promise<any>;
|
29
30
|
}
|
package/dist/app.controller.js
CHANGED
@@ -19,17 +19,18 @@ const test_job_1 = require("./platformUtility/jobs/test.job");
|
|
19
19
|
const mail_service_1 = require("./platformUtility/services/mail.service");
|
20
20
|
const queue_service_1 = require("./platformUtility/services/queue.service");
|
21
21
|
const sql_service_1 = require("./platformUtility/services/sql.service");
|
22
|
+
const execute_code_fix_job_1 = require("./system/jobs/execute.code.fix.job");
|
22
23
|
const set_scheduled_event_job_1 = require("./system/jobs/set.scheduled.event.job");
|
23
24
|
const property_service_1 = require("./system/services/property.service");
|
24
|
-
const comment_entity_1 = require("./system/entities/comment.entity");
|
25
25
|
let AppController = class AppController {
|
26
|
-
constructor(queueService, testJob, setScheduledEventJob, mailService, propertyService, sqlService) {
|
26
|
+
constructor(queueService, testJob, setScheduledEventJob, mailService, propertyService, sqlService, executeCodeFixJob) {
|
27
27
|
this.queueService = queueService;
|
28
28
|
this.testJob = testJob;
|
29
29
|
this.setScheduledEventJob = setScheduledEventJob;
|
30
30
|
this.mailService = mailService;
|
31
31
|
this.propertyService = propertyService;
|
32
32
|
this.sqlService = sqlService;
|
33
|
+
this.executeCodeFixJob = executeCodeFixJob;
|
33
34
|
}
|
34
35
|
async get() {
|
35
36
|
return { message: 'Hello World!' };
|
@@ -50,11 +51,7 @@ let AppController = class AppController {
|
|
50
51
|
async set(req) {
|
51
52
|
return this.setScheduledEventJob.dispatch();
|
52
53
|
}
|
53
|
-
async test() {
|
54
|
-
const user = await comment_entity_1.CommentEntity.first(1);
|
55
|
-
user.attributes = { test: 'test1' };
|
56
|
-
return user.save();
|
57
|
-
}
|
54
|
+
async test() { }
|
58
55
|
async pause(query) {
|
59
56
|
return this.queueService.pause();
|
60
57
|
}
|
@@ -135,6 +132,7 @@ exports.AppController = AppController = __decorate([
|
|
135
132
|
set_scheduled_event_job_1.SetScheduledEventJob,
|
136
133
|
mail_service_1.MailService,
|
137
134
|
property_service_1.PropertyService,
|
138
|
-
sql_service_1.SqlService
|
135
|
+
sql_service_1.SqlService,
|
136
|
+
execute_code_fix_job_1.ExecuteCodeFixJob])
|
139
137
|
], AppController);
|
140
138
|
//# sourceMappingURL=app.controller.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA0E;AAE1E,kDAA+C;AAC/C,8DAA0D;AAC1D,0EAAsE;AACtE,4EAAwE;AACxE,wEAAoE;AACpE,mFAA6E;AAC7E,yEAAqE;
|
1
|
+
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA0E;AAE1E,kDAA+C;AAC/C,8DAA0D;AAC1D,0EAAsE;AACtE,4EAAwE;AACxE,wEAAoE;AACpE,6EAAuE;AACvE,mFAA6E;AAC7E,yEAAqE;AAI9D,IAAM,aAAa,GAAnB,MAAM,aAAa;IACtB,YACqB,YAA0B,EACxB,OAAgB,EAChB,oBAA0C,EAC1C,WAAwB,EACxB,eAAgC,EAChC,UAAsB,EACtB,iBAAoC;QANtC,iBAAY,GAAZ,YAAY,CAAc;QACxB,YAAO,GAAP,OAAO,CAAS;QAChB,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,gBAAW,GAAX,WAAW,CAAa;QACxB,oBAAe,GAAf,eAAe,CAAiB;QAChC,eAAU,GAAV,UAAU,CAA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A,YAAG,EAAC,OAAO,CAAC;;;;qDAGZ;AAGK;IADL,IAAA,YAAG,EAAC,WAAW,CAAC;IACJ,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;0CAEvB;AAGK;IADL,IAAA,aAAI,EAAC,MAAM,CAAC;IACF,WAAA,IAAA,YAAG,GAAE,CAAA;;;;wCAEf;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;;;;yCACI;AAGT;IADL,IAAA,YAAG,EAAC,OAAO,CAAC;IACA,WAAA,IAAA,cAAK,GAAE,CAAA;;;;0CAEnB;AAGK;IADL,IAAA,YAAG,EAAC,QAAQ,CAAC;IACA,WAAA,IAAA,cAAK,GAAE,CAAA;;;;2CAEpB;wBA5DQ,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAG0B,4BAAY;QACf,kBAAO;QACM,8CAAoB;QAC7B,0BAAW;QACP,kCAAe;QACpB,wBAAU;QACH,wCAAiB;GARlD,aAAa,CA6DzB"}
|
@@ -17,6 +17,8 @@ import { ChartEntity } from '../system/entities/chart.entity';
|
|
17
17
|
import { ClientCredentialEntity } from '../system/entities/client.credential.entity';
|
18
18
|
import { ClientEntity } from '../system/entities/client.entity';
|
19
19
|
import { ClientScriptEntity } from '../system/entities/client.script.entity';
|
20
|
+
import { CodeFixLogEntity } from '../system/entities/code.fix.log.entity';
|
21
|
+
import { CodeFixScriptEntity } from '../system/entities/code.fix.script.entity';
|
20
22
|
import { ColumnDefinitionEntity } from '../system/entities/column.definition.entity';
|
21
23
|
import { ColumnEntity } from '../system/entities/column.entity';
|
22
24
|
import { CommentEntity } from '../system/entities/comment.entity';
|
@@ -93,6 +95,8 @@ declare const entityConstants: {
|
|
93
95
|
'0da32dca5cfe41361e9c70abe5612715': typeof ClientCredentialEntity;
|
94
96
|
'6a8cb18109729b2e967e76fe20d0fe67': typeof ClientEntity;
|
95
97
|
'9f0fcca8134cc028334a2fe358765ab3': typeof ClientScriptEntity;
|
98
|
+
'0703788fbd64625f86f6491c183cc1bc': typeof CodeFixLogEntity;
|
99
|
+
'66ccbf09614ffec0303f4fa625358fe4': typeof CodeFixScriptEntity;
|
96
100
|
'1f2c63ba5c423ba3267be34928b2c4fb': typeof ColumnDefinitionEntity;
|
97
101
|
'09e3f4fa64b56c119292be9e3faae89a': typeof ColumnEntity;
|
98
102
|
d77868f65dfb326a4cfb0378ff0c3ad8: typeof CommentEntity;
|
@@ -18,6 +18,8 @@ const chart_entity_1 = require("../system/entities/chart.entity");
|
|
18
18
|
const client_credential_entity_1 = require("../system/entities/client.credential.entity");
|
19
19
|
const client_entity_1 = require("../system/entities/client.entity");
|
20
20
|
const client_script_entity_1 = require("../system/entities/client.script.entity");
|
21
|
+
const code_fix_log_entity_1 = require("../system/entities/code.fix.log.entity");
|
22
|
+
const code_fix_script_entity_1 = require("../system/entities/code.fix.script.entity");
|
21
23
|
const column_definition_entity_1 = require("../system/entities/column.definition.entity");
|
22
24
|
const column_entity_1 = require("../system/entities/column.entity");
|
23
25
|
const comment_entity_1 = require("../system/entities/comment.entity");
|
@@ -94,6 +96,8 @@ const entityConstants = {
|
|
94
96
|
'0da32dca5cfe41361e9c70abe5612715': client_credential_entity_1.ClientCredentialEntity,
|
95
97
|
'6a8cb18109729b2e967e76fe20d0fe67': client_entity_1.ClientEntity,
|
96
98
|
'9f0fcca8134cc028334a2fe358765ab3': client_script_entity_1.ClientScriptEntity,
|
99
|
+
'0703788fbd64625f86f6491c183cc1bc': code_fix_log_entity_1.CodeFixLogEntity,
|
100
|
+
'66ccbf09614ffec0303f4fa625358fe4': code_fix_script_entity_1.CodeFixScriptEntity,
|
97
101
|
'1f2c63ba5c423ba3267be34928b2c4fb': column_definition_entity_1.ColumnDefinitionEntity,
|
98
102
|
'09e3f4fa64b56c119292be9e3faae89a': column_entity_1.ColumnEntity,
|
99
103
|
d77868f65dfb326a4cfb0378ff0c3ad8: comment_entity_1.CommentEntity,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entity.constants.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D,kCAAkC,EAAE,mCAAe;IACnD,kCAAkC,EAAE,4BAAY;IAChD,kCAAkC,EAAE,qCAAgB;IACpD,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,6CAAoB;IACxD,gCAAgC,EAAE,qCAAgB;IAClD,kCAAkC,EAAE,uCAAiB;IACrD,kCAAkC,EAAE,gCAAc;IAClD,gCAAgC,EAAE,wCAAkB;IACpD,kCAAkC,EAAE,yCAAkB;IACtD,gCAAgC,EAAE,4BAAY;IAC9C,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,uCAAiB;IACrD,kCAAkC,EAAE,qDAAwB;IAC5D,gCAAgC,EAAE,qCAAgB;IAClD,gCAAgC,EAAE,6CAAoB;IACtD,kCAAkC,EAAE,2CAAmB;IACvD,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,8BAAa;IACjD,gCAAgC,EAAE,qCAAgB;IAClD,kCAAkC,EAAE,uCAAiB;IACrD,kCAAkC,EAAE,yCAAkB;IACtD,kCAAkC,EAAE,iCAAc;IAClD,kCAAkC,EAAE,sDAAwB;IAC5D,kCAAkC,EAAE,0CAAkB;IACtD,kCAAkC,EAAE,mCAAe;IACnD,kCAAkC,EAAE,gDAAqB;IACzD,kCAAkC,EAAE,wDAAyB;IAC7D,kCAAkC,EAAE,4CAAmB;IACvD,gCAAgC,EAAE,6CAAoB;IACtD,kCAAkC,EAAE,iDAAsB;CAC7D,CAAC;AAEF,iBAAS,eAAe,CAAC"}
|
1
|
+
{"version":3,"file":"entity.constants.js","sourceRoot":"","sources":["../../src/config/entity.constants.ts"],"names":[],"mappings":";AAAA,oEAAgE;AAChE,oEAAgE;AAChE,8EAAyE;AACzE,gFAA2E;AAC3E,0FAAqF;AACrF,8DAA0D;AAC1D,gFAA2E;AAC3E,+FAAyF;AACzF,iGAA2F;AAC3F,8EAA0E;AAC1E,kEAA8D;AAC9D,wFAAmF;AACnF,4EAAuE;AACvE,kFAA6E;AAC7E,4FAAsF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,uCAAiB;IACrD,kCAAkC,EAAE,gCAAc;IAClD,gCAAgC,EAAE,wCAAkB;IACpD,kCAAkC,EAAE,yCAAkB;IACtD,gCAAgC,EAAE,4BAAY;IAC9C,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,uCAAiB;IACrD,kCAAkC,EAAE,qDAAwB;IAC5D,gCAAgC,EAAE,qCAAgB;IAClD,gCAAgC,EAAE,6CAAoB;IACtD,kCAAkC,EAAE,2CAAmB;IACvD,gCAAgC,EAAE,yCAAkB;IACpD,kCAAkC,EAAE,8BAAa;IACjD,gCAAgC,EAAE,qCAAgB;IAClD,kCAAkC,EAAE,uCAAiB;IACrD,kCAAkC,EAAE,yCAAkB;IACtD,kCAAkC,EAAE,iCAAc;IAClD,kCAAkC,EAAE,sDAAwB;IAC5D,kCAAkC,EAAE,0CAAkB;IACtD,kCAAkC,EAAE,mCAAe;IACnD,kCAAkC,EAAE,gDAAqB;IACzD,kCAAkC,EAAE,wDAAyB;IAC7D,kCAAkC,EAAE,4CAAmB;IACvD,gCAAgC,EAAE,6CAAoB;IACtD,kCAAkC,EAAE,iDAAsB;CAC7D,CAAC;AAEF,iBAAS,eAAe,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateCodeFixScriptTable1732960894547 = void 0;
|
4
|
+
const migration_utility_1 = require("../common/libraries/migration.utility");
|
5
|
+
class CreateCodeFixScriptTable1732960894547 extends migration_utility_1.MigrationUtility {
|
6
|
+
constructor() {
|
7
|
+
super('sys_codefix_scripts');
|
8
|
+
this.process();
|
9
|
+
}
|
10
|
+
process() {
|
11
|
+
this.primary();
|
12
|
+
this.string('name');
|
13
|
+
this.string('identifier');
|
14
|
+
this.boolean('active');
|
15
|
+
this.foreign({ name: 'script_id', foreignTable: 'sys_system_scripts', foreignColumn: 'id' });
|
16
|
+
this.json('attributes');
|
17
|
+
this.whoColumns();
|
18
|
+
this.index(['identifier']);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
exports.CreateCodeFixScriptTable1732960894547 = CreateCodeFixScriptTable1732960894547;
|
22
|
+
//# sourceMappingURL=1732960894547-CreateCodeFixScriptTable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"1732960894547-CreateCodeFixScriptTable.js","sourceRoot":"","sources":["../../src/migrations/1732960894547-CreateCodeFixScriptTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,qCAAsC,SAAQ,oCAAgB;IACvE;QACI,KAAK,CAAC,qBAAqB,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpB,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAC1B,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAEvB,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;QAE7F,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;QAElB,IAAI,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/B,CAAC;CACJ;AApBD,sFAoBC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateCodeFixLogTable1732961040333 = void 0;
|
4
|
+
const migration_utility_1 = require("../common/libraries/migration.utility");
|
5
|
+
class CreateCodeFixLogTable1732961040333 extends migration_utility_1.MigrationUtility {
|
6
|
+
constructor() {
|
7
|
+
super('sys_codefix_logs');
|
8
|
+
this.process();
|
9
|
+
}
|
10
|
+
process() {
|
11
|
+
this.primary();
|
12
|
+
this.foreign({ name: 'script_id', foreignTable: 'sys_codefix_scripts', foreignColumn: 'id' });
|
13
|
+
this.source();
|
14
|
+
this.dateTime('start_time');
|
15
|
+
this.dateTime('end_time');
|
16
|
+
this.number('impacted_records');
|
17
|
+
this.json('stats');
|
18
|
+
this.json('data');
|
19
|
+
this.json('attributes');
|
20
|
+
this.whoColumns();
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.CreateCodeFixLogTable1732961040333 = CreateCodeFixLogTable1732961040333;
|
24
|
+
//# sourceMappingURL=1732961040333-CreateCodeFixLogTable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"1732961040333-CreateCodeFixLogTable.js","sourceRoot":"","sources":["../../src/migrations/1732961040333-CreateCodeFixLogTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,kCAAmC,SAAQ,oCAAgB;IACpE;QACI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC1B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;QAEf,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;QAE9F,IAAI,CAAC,MAAM,EAAE,CAAC;QAEd,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;QAC5B,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAE1B,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAChC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnB,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAElB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AAvBD,gFAuBC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddJsonDataSysScheduledEventsTable1732962774052 = void 0;
|
4
|
+
const migration_utility_1 = require("../common/libraries/migration.utility");
|
5
|
+
class AddJsonDataSysScheduledEventsTable1732962774052 extends migration_utility_1.MigrationUtility {
|
6
|
+
constructor() {
|
7
|
+
super('sys_scheduled_events');
|
8
|
+
this.process();
|
9
|
+
}
|
10
|
+
process() {
|
11
|
+
this.json('payload');
|
12
|
+
}
|
13
|
+
}
|
14
|
+
exports.AddJsonDataSysScheduledEventsTable1732962774052 = AddJsonDataSysScheduledEventsTable1732962774052;
|
15
|
+
//# sourceMappingURL=1732962774052-AddJsonDataSysScheduledEventsTable.ts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"1732962774052-AddJsonDataSysScheduledEventsTable.ts.js","sourceRoot":"","sources":["../../src/migrations/1732962774052-AddJsonDataSysScheduledEventsTable.ts.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,+CAAgD,SAAQ,oCAAgB;IACjF;QACI,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAC9B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC;CACJ;AATD,0GASC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddJsonPayloadSysEventQueuesTable1732962856845 = void 0;
|
4
|
+
const migration_utility_1 = require("../common/libraries/migration.utility");
|
5
|
+
class AddJsonPayloadSysEventQueuesTable1732962856845 extends migration_utility_1.MigrationUtility {
|
6
|
+
constructor() {
|
7
|
+
super('sys_event_queues');
|
8
|
+
this.process();
|
9
|
+
}
|
10
|
+
process() {
|
11
|
+
this.json('payload');
|
12
|
+
}
|
13
|
+
}
|
14
|
+
exports.AddJsonPayloadSysEventQueuesTable1732962856845 = AddJsonPayloadSysEventQueuesTable1732962856845;
|
15
|
+
//# sourceMappingURL=1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"1732962856845-AddJsonPayloadSysEventQueuesTable.ts.js","sourceRoot":"","sources":["../../src/migrations/1732962856845-AddJsonPayloadSysEventQueuesTable.ts.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,8CAA+C,SAAQ,oCAAgB;IAChF;QACI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC1B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC;CACJ;AATD,wGASC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CodeFixLogAttributesDto = void 0;
|
4
|
+
const common_attributes_dto_1 = require("../../platformUtility/dtos/common.attributes.dto");
|
5
|
+
class CodeFixLogAttributesDto extends common_attributes_dto_1.CommonAttributesDto {
|
6
|
+
}
|
7
|
+
exports.CodeFixLogAttributesDto = CodeFixLogAttributesDto;
|
8
|
+
//# sourceMappingURL=code.fix.log.attributes.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.log.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/code.fix.log.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,uBAAwB,SAAQ,2CAAmB;CAAG;AAAnE,0DAAmE"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CodeFixScriptAttributesDto = void 0;
|
4
|
+
const common_attributes_dto_1 = require("../../platformUtility/dtos/common.attributes.dto");
|
5
|
+
class CodeFixScriptAttributesDto extends common_attributes_dto_1.CommonAttributesDto {
|
6
|
+
}
|
7
|
+
exports.CodeFixScriptAttributesDto = CodeFixScriptAttributesDto;
|
8
|
+
//# sourceMappingURL=code.fix.script.attributes.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.script.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/code.fix.script.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,0BAA2B,SAAQ,2CAAmB;CAAG;AAAtE,gEAAsE"}
|
@@ -3,6 +3,8 @@ export * from './add.direct.menu.dto';
|
|
3
3
|
export * from './client.attributes.dto';
|
4
4
|
export * from './client.credential.attributes.dto';
|
5
5
|
export * from './client.credential.dto';
|
6
|
+
export * from './code.fix.log.attributes.dto';
|
7
|
+
export * from './code.fix.script.attributes.dto';
|
6
8
|
export * from './comment.attributes.dto';
|
7
9
|
export * from './credential.ip.attributes.dto';
|
8
10
|
export * from './document.attributes.dto';
|
@@ -19,6 +19,8 @@ __exportStar(require("./add.direct.menu.dto"), exports);
|
|
19
19
|
__exportStar(require("./client.attributes.dto"), exports);
|
20
20
|
__exportStar(require("./client.credential.attributes.dto"), exports);
|
21
21
|
__exportStar(require("./client.credential.dto"), exports);
|
22
|
+
__exportStar(require("./code.fix.log.attributes.dto"), exports);
|
23
|
+
__exportStar(require("./code.fix.script.attributes.dto"), exports);
|
22
24
|
__exportStar(require("./comment.attributes.dto"), exports);
|
23
25
|
__exportStar(require("./credential.ip.attributes.dto"), exports);
|
24
26
|
__exportStar(require("./document.attributes.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,qEAAmD;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,sEAAoD;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,2DAAwC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,qEAAmD;AAAA,0DAAwC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,sEAAoD;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,2DAAwC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { CodeFixLogAttributesDto } from '../dtos/code.fix.log.attributes.dto';
|
3
|
+
import { CodeFixScriptEntity } from './code.fix.script.entity';
|
4
|
+
export declare class CodeFixLogEntity extends CommonEntity {
|
5
|
+
protected enableRecordWatcher: boolean;
|
6
|
+
script_id: number;
|
7
|
+
source_type: string;
|
8
|
+
source_id: string;
|
9
|
+
start_time: Date;
|
10
|
+
end_time: Date;
|
11
|
+
impacted_records: number;
|
12
|
+
data: any;
|
13
|
+
stats: any;
|
14
|
+
attributes: CodeFixLogAttributesDto;
|
15
|
+
script: CodeFixScriptEntity;
|
16
|
+
}
|
@@ -0,0 +1,68 @@
|
|
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.CodeFixLogEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const code_fix_log_attributes_dto_1 = require("../dtos/code.fix.log.attributes.dto");
|
16
|
+
const code_fix_script_entity_1 = require("./code.fix.script.entity");
|
17
|
+
let CodeFixLogEntity = class CodeFixLogEntity extends common_entity_1.CommonEntity {
|
18
|
+
constructor() {
|
19
|
+
super(...arguments);
|
20
|
+
this.enableRecordWatcher = false;
|
21
|
+
}
|
22
|
+
};
|
23
|
+
exports.CodeFixLogEntity = CodeFixLogEntity;
|
24
|
+
__decorate([
|
25
|
+
(0, typeorm_1.Column)(),
|
26
|
+
__metadata("design:type", Number)
|
27
|
+
], CodeFixLogEntity.prototype, "script_id", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, typeorm_1.Column)(),
|
30
|
+
__metadata("design:type", String)
|
31
|
+
], CodeFixLogEntity.prototype, "source_type", void 0);
|
32
|
+
__decorate([
|
33
|
+
(0, typeorm_1.Column)(),
|
34
|
+
__metadata("design:type", String)
|
35
|
+
], CodeFixLogEntity.prototype, "source_id", void 0);
|
36
|
+
__decorate([
|
37
|
+
(0, typeorm_1.Column)(),
|
38
|
+
__metadata("design:type", Date)
|
39
|
+
], CodeFixLogEntity.prototype, "start_time", void 0);
|
40
|
+
__decorate([
|
41
|
+
(0, typeorm_1.Column)(),
|
42
|
+
__metadata("design:type", Date)
|
43
|
+
], CodeFixLogEntity.prototype, "end_time", void 0);
|
44
|
+
__decorate([
|
45
|
+
(0, typeorm_1.Column)(),
|
46
|
+
__metadata("design:type", Number)
|
47
|
+
], CodeFixLogEntity.prototype, "impacted_records", void 0);
|
48
|
+
__decorate([
|
49
|
+
(0, typeorm_1.Column)('json'),
|
50
|
+
__metadata("design:type", Object)
|
51
|
+
], CodeFixLogEntity.prototype, "data", void 0);
|
52
|
+
__decorate([
|
53
|
+
(0, typeorm_1.Column)('json'),
|
54
|
+
__metadata("design:type", Object)
|
55
|
+
], CodeFixLogEntity.prototype, "stats", void 0);
|
56
|
+
__decorate([
|
57
|
+
(0, typeorm_1.Column)('json'),
|
58
|
+
__metadata("design:type", code_fix_log_attributes_dto_1.CodeFixLogAttributesDto)
|
59
|
+
], CodeFixLogEntity.prototype, "attributes", void 0);
|
60
|
+
__decorate([
|
61
|
+
(0, typeorm_1.ManyToOne)(() => code_fix_script_entity_1.CodeFixScriptEntity),
|
62
|
+
(0, typeorm_1.JoinColumn)({ name: 'script_id' }),
|
63
|
+
__metadata("design:type", code_fix_script_entity_1.CodeFixScriptEntity)
|
64
|
+
], CodeFixLogEntity.prototype, "script", void 0);
|
65
|
+
exports.CodeFixLogEntity = CodeFixLogEntity = __decorate([
|
66
|
+
(0, typeorm_1.Entity)('sys_codefix_logs')
|
67
|
+
], CodeFixLogEntity);
|
68
|
+
//# sourceMappingURL=code.fix.log.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.log.entity.js","sourceRoot":"","sources":["../../../src/system/entities/code.fix.log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,qFAA8E;AAC9E,qEAA+D;AASxD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;IAA3C;;QACO,wBAAmB,GAAG,KAAK,CAAC;IAiC1C,CAAC;CAAA,CAAA;AAlCY,4CAAgB;AAIzB;IADC,IAAA,gBAAM,GAAE;;mDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;mDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;oDAAC;AAGjB;IADC,IAAA,gBAAM,GAAE;8BACC,IAAI;kDAAC;AAGf;IADC,IAAA,gBAAM,GAAE;;0DACgB;AAGzB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;8CACL;AAGV;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;+CACJ;AAGX;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,qDAAuB;oDAAC;AAKpC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4CAAmB,CAAC;IACpC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC1B,4CAAmB;gDAAC;2BAjCnB,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CAkC5B"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { CodeFixScriptAttributesDto } from '../dtos/code.fix.script.attributes.dto';
|
3
|
+
import { SystemScriptEntity } from './system.script.entity';
|
4
|
+
export declare class CodeFixScriptEntity extends CommonEntity {
|
5
|
+
name: string;
|
6
|
+
identifier: string;
|
7
|
+
active: boolean;
|
8
|
+
script_id: number;
|
9
|
+
attributes: CodeFixScriptAttributesDto;
|
10
|
+
script: SystemScriptEntity;
|
11
|
+
}
|
@@ -0,0 +1,48 @@
|
|
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.CodeFixScriptEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const code_fix_script_attributes_dto_1 = require("../dtos/code.fix.script.attributes.dto");
|
16
|
+
const system_script_entity_1 = require("./system.script.entity");
|
17
|
+
let CodeFixScriptEntity = class CodeFixScriptEntity extends common_entity_1.CommonEntity {
|
18
|
+
};
|
19
|
+
exports.CodeFixScriptEntity = CodeFixScriptEntity;
|
20
|
+
__decorate([
|
21
|
+
(0, typeorm_1.Column)(),
|
22
|
+
__metadata("design:type", String)
|
23
|
+
], CodeFixScriptEntity.prototype, "name", void 0);
|
24
|
+
__decorate([
|
25
|
+
(0, typeorm_1.Column)(),
|
26
|
+
__metadata("design:type", String)
|
27
|
+
], CodeFixScriptEntity.prototype, "identifier", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, typeorm_1.Column)(),
|
30
|
+
__metadata("design:type", Boolean)
|
31
|
+
], CodeFixScriptEntity.prototype, "active", void 0);
|
32
|
+
__decorate([
|
33
|
+
(0, typeorm_1.Column)(),
|
34
|
+
__metadata("design:type", Number)
|
35
|
+
], CodeFixScriptEntity.prototype, "script_id", void 0);
|
36
|
+
__decorate([
|
37
|
+
(0, typeorm_1.Column)('json'),
|
38
|
+
__metadata("design:type", code_fix_script_attributes_dto_1.CodeFixScriptAttributesDto)
|
39
|
+
], CodeFixScriptEntity.prototype, "attributes", void 0);
|
40
|
+
__decorate([
|
41
|
+
(0, typeorm_1.ManyToOne)(() => system_script_entity_1.SystemScriptEntity),
|
42
|
+
(0, typeorm_1.JoinColumn)({ name: 'script_id' }),
|
43
|
+
__metadata("design:type", system_script_entity_1.SystemScriptEntity)
|
44
|
+
], CodeFixScriptEntity.prototype, "script", void 0);
|
45
|
+
exports.CodeFixScriptEntity = CodeFixScriptEntity = __decorate([
|
46
|
+
(0, typeorm_1.Entity)('sys_codefix_scripts')
|
47
|
+
], CodeFixScriptEntity);
|
48
|
+
//# sourceMappingURL=code.fix.script.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"code.fix.script.entity.js","sourceRoot":"","sources":["../../../src/system/entities/code.fix.script.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,2FAAoF;AACpF,iEAA4D;AASrD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,4BAAY;CAoBpD,CAAA;AApBY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;sDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,2DAA0B;uDAAC;AAKvC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IACnC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC1B,yCAAkB;mDAAC;8BAnBlB,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,mBAAmB,CAoB/B"}
|
@@ -32,6 +32,10 @@ __decorate([
|
|
32
32
|
(0, typeorm_1.Column)(),
|
33
33
|
__metadata("design:type", String)
|
34
34
|
], EventQueueEntity.prototype, "parameter", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, typeorm_1.Column)('json'),
|
37
|
+
__metadata("design:type", Object)
|
38
|
+
], EventQueueEntity.prototype, "payload", void 0);
|
35
39
|
__decorate([
|
36
40
|
(0, typeorm_1.Column)(),
|
37
41
|
__metadata("design:type", Date)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"event.queue.entity.js","sourceRoot":"","sources":["../../../src/system/entities/event.queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,+DAA0D;AASnD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;IAA3C;;QAMO,wBAAmB,GAAG,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"event.queue.entity.js","sourceRoot":"","sources":["../../../src/system/entities/event.queue.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,+DAA0D;AASnD,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,4BAAY;IAA3C;;QAMO,wBAAmB,GAAG,KAAK,CAAC;IAmC1C,CAAC;CAAA,CAAA;AAzCY,4CAAgB;AASzB;IADC,IAAA,gBAAM,GAAE;;8CACI;AAGb;IADC,IAAA,gBAAM,GAAE;;kDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;mDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;iDACF;AAGb;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;oDAAC;AAGjB;IADC,IAAA,gBAAM,GAAE;8BACC,IAAI;kDAAC;AAGf;IADC,IAAA,gBAAM,GAAE;8BACa,IAAI;8DAAC;AAG3B;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;mDACS;AAEF;IAAf,IAAA,gBAAM,EAAC,MAAM,CAAC;;oDAAiB;AAKhC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAClC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAC1B,uCAAiB;+CAAC;2BAxChB,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CAyC5B"}
|
@@ -4,6 +4,8 @@ export * from './chart.entity';
|
|
4
4
|
export * from './client.credential.entity';
|
5
5
|
export * from './client.entity';
|
6
6
|
export * from './client.script.entity';
|
7
|
+
export * from './code.fix.log.entity';
|
8
|
+
export * from './code.fix.script.entity';
|
7
9
|
export * from './column.definition.entity';
|
8
10
|
export * from './column.entity';
|
9
11
|
export * from './comment.entity';
|
@@ -20,6 +20,8 @@ __exportStar(require("./chart.entity"), exports);
|
|
20
20
|
__exportStar(require("./client.credential.entity"), exports);
|
21
21
|
__exportStar(require("./client.entity"), exports);
|
22
22
|
__exportStar(require("./client.script.entity"), exports);
|
23
|
+
__exportStar(require("./code.fix.log.entity"), exports);
|
24
|
+
__exportStar(require("./code.fix.script.entity"), exports);
|
23
25
|
__exportStar(require("./column.definition.entity"), exports);
|
24
26
|
__exportStar(require("./column.entity"), exports);
|
25
27
|
__exportStar(require("./comment.entity"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,iDAA+B;AAAA,6DAA2C;AAAA,kDAAgC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,kDAAgC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,uDA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iDAA+B;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,kDAAgC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,+DAA6C;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,qDAAmC;AAAA,gEAA8C;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,iEAA+C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,6DAA0C"}
|
@@ -32,6 +32,10 @@ __decorate([
|
|
32
32
|
(0, typeorm_1.Column)(),
|
33
33
|
__metadata("design:type", String)
|
34
34
|
], ScheduledEventEntity.prototype, "parameter", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, typeorm_1.Column)('json'),
|
37
|
+
__metadata("design:type", Object)
|
38
|
+
], ScheduledEventEntity.prototype, "payload", void 0);
|
35
39
|
__decorate([
|
36
40
|
(0, typeorm_1.Column)(),
|
37
41
|
__metadata("design:type", String)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scheduled.event.entity.js","sourceRoot":"","sources":["../../../src/system/entities/scheduled.event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,+DAA0D;AASnD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAY;
|
1
|
+
{"version":3,"file":"scheduled.event.entity.js","sourceRoot":"","sources":["../../../src/system/entities/scheduled.event.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,+DAA0D;AASnD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAY;CAqCrD,CAAA;AArCY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;yDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;sDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;uDACS;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;qDACF;AAGb;IADC,IAAA,gBAAM,GAAE;;oDACM;AAGf;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;wDAAC;AAGjB;IADC,IAAA,gBAAM,GAAE;8BACC,IAAI;sDAAC;AAGf;IADC,IAAA,gBAAM,GAAE;8BACY,IAAI;iEAAC;AAG1B;IADC,IAAA,gBAAM,GAAE;;oDACO;AAEA;IAAf,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDAAiB;AAKhC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAClC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAC1B,uCAAiB;mDAAC;+BApChB,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAqChC"}
|