@servicelabsco/nestjs-utility-services 1.2.122 → 1.2.123
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 +1 -1
- package/dist/app.controller.js +5 -2
- package/dist/app.controller.js.map +1 -1
- package/dist/config/entity.constants.d.ts +2 -0
- package/dist/config/entity.constants.js +2 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/config/source.hash.d.ts +1 -0
- package/dist/config/source.hash.js +1 -0
- package/dist/config/source.hash.js.map +1 -1
- package/dist/migrations/1742242110370-AddIsDownloadableSysReportDetailsTable.ts.d.ts +5 -0
- package/dist/migrations/1742242110370-AddIsDownloadableSysReportDetailsTable.ts.js +15 -0
- package/dist/migrations/1742242110370-AddIsDownloadableSysReportDetailsTable.ts.js.map +1 -0
- package/dist/migrations/1742242204141-CreateReportSheetTable.d.ts +5 -0
- package/dist/migrations/1742242204141-CreateReportSheetTable.js +24 -0
- package/dist/migrations/1742242204141-CreateReportSheetTable.js.map +1 -0
- package/dist/system/dtos/index.d.ts +1 -0
- package/dist/system/dtos/index.js +1 -0
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/dtos/report.sheet.attributes.dto.d.ts +3 -0
- package/dist/system/dtos/report.sheet.attributes.dto.js +8 -0
- package/dist/system/dtos/report.sheet.attributes.dto.js.map +1 -0
- package/dist/system/entities/index.d.ts +1 -0
- package/dist/system/entities/index.js +1 -0
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/entities/report.entity.d.ts +1 -0
- package/dist/system/entities/report.entity.js +4 -0
- package/dist/system/entities/report.entity.js.map +1 -1
- package/dist/system/entities/report.sheet.entity.d.ts +18 -0
- package/dist/system/entities/report.sheet.entity.js +76 -0
- package/dist/system/entities/report.sheet.entity.js.map +1 -0
- package/dist/system/es6.classes.d.ts +9 -4
- package/dist/system/es6.classes.js +12 -0
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/jobs/index.d.ts +1 -0
- package/dist/system/jobs/index.js +1 -0
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/report.sheet.job.d.ts +9 -0
- package/dist/system/jobs/report.sheet.job.js +30 -0
- package/dist/system/jobs/report.sheet.job.js.map +1 -0
- package/dist/system/libraries/generate.downloadable.report.file.d.ts +28 -0
- package/dist/system/libraries/generate.downloadable.report.file.js +120 -0
- package/dist/system/libraries/generate.downloadable.report.file.js.map +1 -0
- package/dist/system/libraries/get.report.query.d.ts +11 -0
- package/dist/system/libraries/get.report.query.js +65 -0
- package/dist/system/libraries/get.report.query.js.map +1 -0
- package/dist/system/libraries/index.d.ts +2 -0
- package/dist/system/libraries/index.js +2 -0
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/services/es6.jobs.service.d.ts +3 -1
- package/dist/system/services/es6.jobs.service.js +5 -1
- package/dist/system/services/es6.jobs.service.js.map +1 -1
- package/dist/system/subscribers/index.d.ts +1 -0
- package/dist/system/subscribers/index.js +1 -0
- package/dist/system/subscribers/index.js.map +1 -1
- package/dist/system/subscribers/report.sheet.subscriber.d.ts +10 -0
- package/dist/system/subscribers/report.sheet.subscriber.js +34 -0
- package/dist/system/subscribers/report.sheet.subscriber.js.map +1 -0
- package/package.json +2 -1
package/dist/app.controller.d.ts
CHANGED
@@ -28,7 +28,7 @@ export declare class AppController {
|
|
28
28
|
getQueueInstance(): Promise<any>;
|
29
29
|
queue(id: string): Promise<any>;
|
30
30
|
set(req: Request): Promise<any>;
|
31
|
-
test(): Promise<
|
31
|
+
test(): Promise<void>;
|
32
32
|
pause(query: any): Promise<any>;
|
33
33
|
resume(query: any): Promise<any>;
|
34
34
|
}
|
package/dist/app.controller.js
CHANGED
@@ -24,6 +24,8 @@ const set_scheduled_event_job_1 = require("./system/jobs/set.scheduled.event.job
|
|
24
24
|
const property_service_1 = require("./system/services/property.service");
|
25
25
|
const sync_all_code_job_1 = require("./system/jobs/sync.all.code.job");
|
26
26
|
const audit_service_1 = require("./platformUtility/services/audit.service");
|
27
|
+
const report_entity_1 = require("./system/entities/report.entity");
|
28
|
+
const generate_downloadable_report_file_1 = require("./system/libraries/generate.downloadable.report.file");
|
27
29
|
let AppController = class AppController {
|
28
30
|
constructor(queueService, testJob, setScheduledEventJob, mailService, propertyService, sqlService, executeCodeFixJob, syncAllCodeJob, auditService) {
|
29
31
|
this.queueService = queueService;
|
@@ -53,11 +55,12 @@ let AppController = class AppController {
|
|
53
55
|
return this.queueService.getJobDetails(id);
|
54
56
|
}
|
55
57
|
async set(req) {
|
58
|
+
const report = await report_entity_1.ReportEntity.first(648);
|
59
|
+
return new generate_downloadable_report_file_1.GenerateDownloadableReportFile(report, this.sqlService).generate({});
|
60
|
+
return this.syncAllCodeJob.dispatch();
|
56
61
|
return this.setScheduledEventJob.dispatch();
|
57
62
|
}
|
58
63
|
async test() {
|
59
|
-
return this.auditService.isLocallyAuditEnabled();
|
60
|
-
return this.syncAllCodeJob.dispatch();
|
61
64
|
}
|
62
65
|
async pause(query) {
|
63
66
|
return this.queueService.pause();
|
@@ -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,6EAAuE;AACvE,mFAA6E;AAC7E,yEAAqE;AACrE,uEAAiE;AACjE,4EAAwE;
|
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;AACrE,uEAAiE;AACjE,4EAAwE;AAExE,mEAA+D;AAC/D,4GAAsG;AAI/F,IAAM,aAAa,GAAnB,MAAM,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AAc;QAChB,4BAAY;GAVxC,aAAa,CAgFzB"}
|
@@ -62,6 +62,7 @@ import { ReportFilterEntity } from '../system/entities/report.filter.entity';
|
|
62
62
|
import { ReportParamEntity } from '../system/entities/report.param.entity';
|
63
63
|
import { ReportRelationshipEntity } from '../system/entities/report.relationship.entity';
|
64
64
|
import { ReportRoleEntity } from '../system/entities/report.role.entity';
|
65
|
+
import { ReportSheetEntity } from '../system/entities/report.sheet.entity';
|
65
66
|
import { ScheduledEventEntity } from '../system/entities/scheduled.event.entity';
|
66
67
|
import { SecondaryAxisEntity } from '../system/entities/secondary.axis.entity';
|
67
68
|
import { SecurityRuleEntity } from '../system/entities/security.rule.entity';
|
@@ -143,6 +144,7 @@ declare const entityConstants: {
|
|
143
144
|
'6edc679d259360e2ece49bef05f1db97': typeof ReportParamEntity;
|
144
145
|
'45c1be0b7838f73932409208d1b410a3': typeof ReportRelationshipEntity;
|
145
146
|
dc12027edb3c185e5048f361f39954c1: typeof ReportRoleEntity;
|
147
|
+
'8368af51d42be9a8b569aa8541b57e1f': typeof ReportSheetEntity;
|
146
148
|
c2b08dc02f61d371c33b7b816503798b: typeof ScheduledEventEntity;
|
147
149
|
'5a9e26a3e98768593496d8198341948c': typeof SecondaryAxisEntity;
|
148
150
|
b8c2814298e294ec2d41bbd40bbcc330: typeof SecurityRuleEntity;
|
@@ -63,6 +63,7 @@ const report_filter_entity_1 = require("../system/entities/report.filter.entity"
|
|
63
63
|
const report_param_entity_1 = require("../system/entities/report.param.entity");
|
64
64
|
const report_relationship_entity_1 = require("../system/entities/report.relationship.entity");
|
65
65
|
const report_role_entity_1 = require("../system/entities/report.role.entity");
|
66
|
+
const report_sheet_entity_1 = require("../system/entities/report.sheet.entity");
|
66
67
|
const scheduled_event_entity_1 = require("../system/entities/scheduled.event.entity");
|
67
68
|
const secondary_axis_entity_1 = require("../system/entities/secondary.axis.entity");
|
68
69
|
const security_rule_entity_1 = require("../system/entities/security.rule.entity");
|
@@ -144,6 +145,7 @@ const entityConstants = {
|
|
144
145
|
'6edc679d259360e2ece49bef05f1db97': report_param_entity_1.ReportParamEntity,
|
145
146
|
'45c1be0b7838f73932409208d1b410a3': report_relationship_entity_1.ReportRelationshipEntity,
|
146
147
|
dc12027edb3c185e5048f361f39954c1: report_role_entity_1.ReportRoleEntity,
|
148
|
+
'8368af51d42be9a8b569aa8541b57e1f': report_sheet_entity_1.ReportSheetEntity,
|
147
149
|
c2b08dc02f61d371c33b7b816503798b: scheduled_event_entity_1.ScheduledEventEntity,
|
148
150
|
'5a9e26a3e98768593496d8198341948c': secondary_axis_entity_1.SecondaryAxisEntity,
|
149
151
|
b8c2814298e294ec2d41bbd40bbcc330: security_rule_entity_1.SecurityRuleEntity,
|
@@ -1 +1 @@
|
|
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;AACtF,kEAA8D;AAC9D,0FAAqF;AACrF,oEAAgE;AAChE,kFAA6E;AAC7E,gFAA0E;AAC1E,sFAAgF;AAChF,0FAAqF;AACrF,oEAAgE;AAChE,sEAAkE;AAClE,kFAA6E;AAC7E,wEAAmE;AACnE,wEAAoE;AACpE,gFAA2E;AAC3E,oFAA+E;AAC/E,gFAA2E;AAC3E,8EAAyE;AACzE,8EAAyE;AACzE,gEAA4D;AAC5D,sFAAiF;AACjF,sFAAiF;AACjF,8EAAyE;AACzE,gFAA2E;AAC3E,4EAAuE;AACvE,wEAAmE;AACnE,oFAA+E;AAC/E,sFAAiF;AACjF,kFAA6E;AAC7E,gEAA4D;AAC5D,0EAAqE;AACrE,0FAAqF;AACrF,gFAA2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pD,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;AACtF,kEAA8D;AAC9D,0FAAqF;AACrF,oEAAgE;AAChE,kFAA6E;AAC7E,gFAA0E;AAC1E,sFAAgF;AAChF,0FAAqF;AACrF,oEAAgE;AAChE,sEAAkE;AAClE,kFAA6E;AAC7E,wEAAmE;AACnE,wEAAoE;AACpE,gFAA2E;AAC3E,oFAA+E;AAC/E,gFAA2E;AAC3E,8EAAyE;AACzE,8EAAyE;AACzE,gEAA4D;AAC5D,sFAAiF;AACjF,sFAAiF;AACjF,8EAAyE;AACzE,gFAA2E;AAC3E,4EAAuE;AACvE,wEAAmE;AACnE,oFAA+E;AAC/E,sFAAiF;AACjF,kFAA6E;AAC7E,gEAA4D;AAC5D,0EAAqE;AACrE,0FAAqF;AACrF,gFAA2E;AAC3E,kEAA8D;AAC9D,4FAAuF;AACvF,4EAAuE;AACvE,o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,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"}
|
@@ -18,6 +18,7 @@ const SourceHash = {
|
|
18
18
|
codeFixExecutionEvent: '66b85ebd2f93d8d9ad74f91dd448fc10',
|
19
19
|
materialView: '6cc76494999951a1ac3631ca815c1786',
|
20
20
|
materialViewEvent: '4231f833daffa443023e954b0eb026c4',
|
21
|
+
reportSheet: '8368af51d42be9a8b569aa8541b57e1f',
|
21
22
|
};
|
22
23
|
module.exports = SourceHash;
|
23
24
|
//# sourceMappingURL=source.hash.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"source.hash.js","sourceRoot":"","sources":["../../src/config/source.hash.ts"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG;IACf,cAAc,EAAE,kCAAkC;IAClD,IAAI,EAAE,kCAAkC;IACxC,KAAK,EAAE,kCAAkC;IACzC,iBAAiB,EAAE,kCAAkC;IACrD,MAAM,EAAE,kCAAkC;IAC1C,MAAM,EAAE,kCAAkC;IAC1C,IAAI,EAAE,kCAAkC;IACxC,SAAS,EAAE,kCAAkC;IAC7C,YAAY,EAAE,kCAAkC;IAChD,gBAAgB,EAAE,kCAAkC;IACpD,OAAO,EAAE,kCAAkC;IAC3C,OAAO,EAAE,kCAAkC;IAC3C,cAAc,EAAE,kCAAkC;IAClD,mBAAmB,EAAE,kCAAkC;IACvD,aAAa,EAAE,kCAAkC;IACjD,qBAAqB,EAAE,kCAAkC;IACzD,YAAY,EAAE,kCAAkC;IAChD,iBAAiB,EAAE,kCAAkC;
|
1
|
+
{"version":3,"file":"source.hash.js","sourceRoot":"","sources":["../../src/config/source.hash.ts"],"names":[],"mappings":";AAAA,MAAM,UAAU,GAAG;IACf,cAAc,EAAE,kCAAkC;IAClD,IAAI,EAAE,kCAAkC;IACxC,KAAK,EAAE,kCAAkC;IACzC,iBAAiB,EAAE,kCAAkC;IACrD,MAAM,EAAE,kCAAkC;IAC1C,MAAM,EAAE,kCAAkC;IAC1C,IAAI,EAAE,kCAAkC;IACxC,SAAS,EAAE,kCAAkC;IAC7C,YAAY,EAAE,kCAAkC;IAChD,gBAAgB,EAAE,kCAAkC;IACpD,OAAO,EAAE,kCAAkC;IAC3C,OAAO,EAAE,kCAAkC;IAC3C,cAAc,EAAE,kCAAkC;IAClD,mBAAmB,EAAE,kCAAkC;IACvD,aAAa,EAAE,kCAAkC;IACjD,qBAAqB,EAAE,kCAAkC;IACzD,YAAY,EAAE,kCAAkC;IAChD,iBAAiB,EAAE,kCAAkC;IACrD,WAAW,EAAE,kCAAkC;CAClD,CAAC;AAEF,iBAAS,UAAU,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddIsDownloadableSysReportDetailsTable1742242110370 = void 0;
|
4
|
+
const migration_utility_1 = require("../common/libraries/migration.utility");
|
5
|
+
class AddIsDownloadableSysReportDetailsTable1742242110370 extends migration_utility_1.MigrationUtility {
|
6
|
+
constructor() {
|
7
|
+
super('sys_report_details');
|
8
|
+
this.process();
|
9
|
+
}
|
10
|
+
process() {
|
11
|
+
this.boolean('is_downloadable', false);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
exports.AddIsDownloadableSysReportDetailsTable1742242110370 = AddIsDownloadableSysReportDetailsTable1742242110370;
|
15
|
+
//# sourceMappingURL=1742242110370-AddIsDownloadableSysReportDetailsTable.ts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"1742242110370-AddIsDownloadableSysReportDetailsTable.ts.js","sourceRoot":"","sources":["../../src/migrations/1742242110370-AddIsDownloadableSysReportDetailsTable.ts.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,mDAAoD,SAAQ,oCAAgB;IACrF;QACI,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC5B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;IAC3C,CAAC;CACJ;AATD,kHASC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateReportSheetTable1742242204141 = void 0;
|
4
|
+
const migration_utility_1 = require("../common/libraries/migration.utility");
|
5
|
+
class CreateReportSheetTable1742242204141 extends migration_utility_1.MigrationUtility {
|
6
|
+
constructor() {
|
7
|
+
super('sys_report_sheets');
|
8
|
+
this.process();
|
9
|
+
}
|
10
|
+
process() {
|
11
|
+
this.primary();
|
12
|
+
this.foreign({ name: 'report_id', foreignTable: 'sys_report_details' });
|
13
|
+
this.string('name');
|
14
|
+
this.foreign({ name: 'query_id', foreignTable: 'sys_system_scripts' });
|
15
|
+
this.foreign({ name: 'pre_script_id', foreignTable: 'sys_system_scripts' });
|
16
|
+
this.foreign({ name: 'post_script_id', foreignTable: 'sys_system_scripts' });
|
17
|
+
this.boolean('active');
|
18
|
+
this.number('priority');
|
19
|
+
this.json('attributes');
|
20
|
+
this.whoColumns();
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.CreateReportSheetTable1742242204141 = CreateReportSheetTable1742242204141;
|
24
|
+
//# sourceMappingURL=1742242204141-CreateReportSheetTable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"1742242204141-CreateReportSheetTable.js","sourceRoot":"","sources":["../../src/migrations/1742242204141-CreateReportSheetTable.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,mCAAoC,SAAQ,oCAAgB;IACrE;QACI,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,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,oBAAoB,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAEpB,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC,CAAC;QACvE,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC,CAAC;QAC5E,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAC,CAAC;QAE7E,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QACvB,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAExB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACxB,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CACJ;AAtBD,kFAsBC"}
|
@@ -23,6 +23,7 @@ export * from './model.allowed.column.dto';
|
|
23
23
|
export * from './model.form.preference.creation.dto';
|
24
24
|
export * from './otp.generation.dto';
|
25
25
|
export * from './recurring.query.attributes.dto';
|
26
|
+
export * from './report.sheet.attributes.dto';
|
26
27
|
export * from './s3.object.info.dto';
|
27
28
|
export * from './s3.upload.options.dto';
|
28
29
|
export * from './sms.message.attributes.dto';
|
@@ -39,6 +39,7 @@ __exportStar(require("./model.allowed.column.dto"), exports);
|
|
39
39
|
__exportStar(require("./model.form.preference.creation.dto"), exports);
|
40
40
|
__exportStar(require("./otp.generation.dto"), exports);
|
41
41
|
__exportStar(require("./recurring.query.attributes.dto"), exports);
|
42
|
+
__exportStar(require("./report.sheet.attributes.dto"), exports);
|
42
43
|
__exportStar(require("./s3.object.info.dto"), exports);
|
43
44
|
__exportStar(require("./s3.upload.options.dto"), exports);
|
44
45
|
__exportStar(require("./sms.message.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,gEAA8C;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,uDAAqC;AAAA,mEAAiD;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,4DAA0C;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,6DAA2C;AAAA,8DAA4C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,iEAA+C;AAAA,sEAAoD;AAAA,0DAAwC;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,uDAAqC;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,uDAAqC;AAAA,0DAAwC;AAAA,+DAA6C;AAAA,iEAA+C;AAAA,2DAAwC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ReportSheetAttributesDto = void 0;
|
4
|
+
const common_attributes_dto_1 = require("../../platformUtility/dtos/common.attributes.dto");
|
5
|
+
class ReportSheetAttributesDto extends common_attributes_dto_1.CommonAttributesDto {
|
6
|
+
}
|
7
|
+
exports.ReportSheetAttributesDto = ReportSheetAttributesDto;
|
8
|
+
//# sourceMappingURL=report.sheet.attributes.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"report.sheet.attributes.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/report.sheet.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,4FAAuF;AAEvF,MAAa,wBAAyB,SAAQ,2CAAmB;CAAG;AAApE,4DAAoE"}
|
@@ -49,6 +49,7 @@ export * from './report.filter.entity';
|
|
49
49
|
export * from './report.param.entity';
|
50
50
|
export * from './report.relationship.entity';
|
51
51
|
export * from './report.role.entity';
|
52
|
+
export * from './report.sheet.entity';
|
52
53
|
export * from './scheduled.event.entity';
|
53
54
|
export * from './secondary.axis.entity';
|
54
55
|
export * from './security.rule.entity';
|
@@ -65,6 +65,7 @@ __exportStar(require("./report.filter.entity"), exports);
|
|
65
65
|
__exportStar(require("./report.param.entity"), exports);
|
66
66
|
__exportStar(require("./report.relationship.entity"), exports);
|
67
67
|
__exportStar(require("./report.role.entity"), exports);
|
68
|
+
__exportStar(require("./report.sheet.entity"), exports);
|
68
69
|
__exportStar(require("./scheduled.event.entity"), exports);
|
69
70
|
__exportStar(require("./secondary.axis.entity"), exports);
|
70
71
|
__exportStar(require("./security.rule.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,wDAAsC;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,kDAAgC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,iDAA+B;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,2DAAyC;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"}
|
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,wDAAsC;AAAA,2DAAyC;AAAA,6DAA2C;AAAA,kDAAgC;AAAA,mDAAiC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,wDAAsC;AAAA,uDAAqC;AAAA,uDAAqC;AAAA,gDAA8B;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,gDAA8B;AAAA,qDAAmC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,iDAA+B;AAAA,8DAA4C;AAAA,sDAAoC;AAAA,kDAAgC;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,kDAAgC;AAAA,yDAAuC;AAAA,wDAAsC;AAAA,+DAA6C;AAAA,uDAAqC;AAAA,wDAAsC;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"}
|
@@ -68,6 +68,10 @@ __decorate([
|
|
68
68
|
(0, typeorm_1.Column)(),
|
69
69
|
__metadata("design:type", String)
|
70
70
|
], ReportEntity.prototype, "includes", void 0);
|
71
|
+
__decorate([
|
72
|
+
(0, typeorm_1.Column)(),
|
73
|
+
__metadata("design:type", Boolean)
|
74
|
+
], ReportEntity.prototype, "is_downloadable", void 0);
|
71
75
|
__decorate([
|
72
76
|
(0, typeorm_1.Column)('json'),
|
73
77
|
__metadata("design:type", Object)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"report.entity.js","sourceRoot":"","sources":["../../../src/system/entities/report.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAkG;AAClG,wEAAoE;AACpE,qEAAiE;AAEjE,mDAA+C;AAE/C,+DAA2D;AAC3D,iEAA4D;AAC5D,iEAA4D;AAC5D,+DAA0D;AAC1D,6EAAwE;AACxE,6DAAwD;AACxD,iEAA4D;AAUrD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;
|
1
|
+
{"version":3,"file":"report.entity.js","sourceRoot":"","sources":["../../../src/system/entities/report.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAkG;AAClG,wEAAoE;AACpE,qEAAiE;AAEjE,mDAA+C;AAE/C,+DAA2D;AAC3D,iEAA4D;AAC5D,iEAA4D;AAC5D,+DAA0D;AAC1D,6EAAwE;AACxE,6DAAwD;AACxD,iEAA4D;AAUrD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;CAwF7C,CAAA;AAxFY,oCAAY;AAErB;IADC,IAAA,gBAAM,GAAE;;0CACI;AAGb;IADC,IAAA,gBAAM,GAAE;;iDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;8CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;mDACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;oDACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;2CACK;AAGd;IADC,IAAA,gBAAM,GAAE;;sDACgB;AAGzB;IADC,IAAA,gBAAM,GAAE;;wDACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;uDACiB;AAG1B;IADC,IAAA,gBAAM,GAAE;;sDACgB;AAGzB;IADC,IAAA,gBAAM,GAAE;;8CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;qDACgB;AAET;IAAf,IAAA,gBAAM,EAAC,MAAM,CAAC;;gDAAiB;AAKhC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IACnC,IAAA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C;AAGpC;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAgB,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC;;kDACxC;AAE+B;IAA/D,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;;6CAA+B;AAQ9F;IANC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;IAC5B,IAAA,mBAAS,EAAC;QACP,IAAI,EAAE,kBAAkB;QACxB,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;QACjC,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KACzC,CAAC;;2CACkB;uBAnFX,YAAY;IADxB,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,YAAY,CAwFxB"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { CommonEntity } from '../../common/libraries/common.entity';
|
2
|
+
import { ReportSheetAttributesDto } from '../dtos/report.sheet.attributes.dto';
|
3
|
+
import { ReportEntity } from './report.entity';
|
4
|
+
import { SystemScriptEntity } from './system.script.entity';
|
5
|
+
export declare class ReportSheetEntity extends CommonEntity {
|
6
|
+
name: string;
|
7
|
+
report_id: number;
|
8
|
+
query_id: number;
|
9
|
+
pre_script_id: number;
|
10
|
+
post_script_id: number;
|
11
|
+
active: boolean;
|
12
|
+
priority: number;
|
13
|
+
attributes: ReportSheetAttributesDto;
|
14
|
+
query: SystemScriptEntity;
|
15
|
+
pre_script: SystemScriptEntity;
|
16
|
+
post_script: SystemScriptEntity;
|
17
|
+
report: ReportEntity;
|
18
|
+
}
|
@@ -0,0 +1,76 @@
|
|
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.ReportSheetEntity = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_entity_1 = require("../../common/libraries/common.entity");
|
15
|
+
const report_sheet_attributes_dto_1 = require("../dtos/report.sheet.attributes.dto");
|
16
|
+
const report_entity_1 = require("./report.entity");
|
17
|
+
const system_script_entity_1 = require("./system.script.entity");
|
18
|
+
let ReportSheetEntity = class ReportSheetEntity extends common_entity_1.CommonEntity {
|
19
|
+
};
|
20
|
+
exports.ReportSheetEntity = ReportSheetEntity;
|
21
|
+
__decorate([
|
22
|
+
(0, typeorm_1.Column)(),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], ReportSheetEntity.prototype, "name", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, typeorm_1.Column)(),
|
27
|
+
__metadata("design:type", Number)
|
28
|
+
], ReportSheetEntity.prototype, "report_id", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, typeorm_1.Column)(),
|
31
|
+
__metadata("design:type", Number)
|
32
|
+
], ReportSheetEntity.prototype, "query_id", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, typeorm_1.Column)(),
|
35
|
+
__metadata("design:type", Number)
|
36
|
+
], ReportSheetEntity.prototype, "pre_script_id", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, typeorm_1.Column)(),
|
39
|
+
__metadata("design:type", Number)
|
40
|
+
], ReportSheetEntity.prototype, "post_script_id", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, typeorm_1.Column)(),
|
43
|
+
__metadata("design:type", Boolean)
|
44
|
+
], ReportSheetEntity.prototype, "active", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, typeorm_1.Column)(),
|
47
|
+
__metadata("design:type", Number)
|
48
|
+
], ReportSheetEntity.prototype, "priority", void 0);
|
49
|
+
__decorate([
|
50
|
+
(0, typeorm_1.Column)('json'),
|
51
|
+
__metadata("design:type", report_sheet_attributes_dto_1.ReportSheetAttributesDto)
|
52
|
+
], ReportSheetEntity.prototype, "attributes", void 0);
|
53
|
+
__decorate([
|
54
|
+
(0, typeorm_1.ManyToOne)(() => system_script_entity_1.SystemScriptEntity),
|
55
|
+
(0, typeorm_1.JoinColumn)({ name: 'query_id' }),
|
56
|
+
__metadata("design:type", system_script_entity_1.SystemScriptEntity)
|
57
|
+
], ReportSheetEntity.prototype, "query", void 0);
|
58
|
+
__decorate([
|
59
|
+
(0, typeorm_1.ManyToOne)(() => system_script_entity_1.SystemScriptEntity),
|
60
|
+
(0, typeorm_1.JoinColumn)({ name: 'pre_script_id' }),
|
61
|
+
__metadata("design:type", system_script_entity_1.SystemScriptEntity)
|
62
|
+
], ReportSheetEntity.prototype, "pre_script", void 0);
|
63
|
+
__decorate([
|
64
|
+
(0, typeorm_1.ManyToOne)(() => system_script_entity_1.SystemScriptEntity),
|
65
|
+
(0, typeorm_1.JoinColumn)({ name: 'post_script_id' }),
|
66
|
+
__metadata("design:type", system_script_entity_1.SystemScriptEntity)
|
67
|
+
], ReportSheetEntity.prototype, "post_script", void 0);
|
68
|
+
__decorate([
|
69
|
+
(0, typeorm_1.ManyToOne)(() => report_entity_1.ReportEntity),
|
70
|
+
(0, typeorm_1.JoinColumn)({ name: 'report_id' }),
|
71
|
+
__metadata("design:type", report_entity_1.ReportEntity)
|
72
|
+
], ReportSheetEntity.prototype, "report", void 0);
|
73
|
+
exports.ReportSheetEntity = ReportSheetEntity = __decorate([
|
74
|
+
(0, typeorm_1.Entity)('sys_report_sheets')
|
75
|
+
], ReportSheetEntity);
|
76
|
+
//# sourceMappingURL=report.sheet.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"report.sheet.entity.js","sourceRoot":"","sources":["../../../src/system/entities/report.sheet.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,wEAAoE;AACpE,qFAA+E;AAC/E,mDAA+C;AAC/C,iEAA4D;AASrD,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,4BAAY;CAwClD,CAAA;AAxCY,8CAAiB;AAE1B;IADC,IAAA,gBAAM,GAAE;;+CACI;AAGb;IADC,IAAA,gBAAM,GAAE;;oDACS;AAElB;IADC,IAAA,gBAAM,GAAE;;mDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;wDACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;yDACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;iDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;mDACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,sDAAwB;qDAAC;AAKrC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IACnC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAC1B,yCAAkB;gDAAC;AAI1B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IACnC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;8BAC1B,yCAAkB;qDAAC;AAI/B;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IACnC,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAC1B,yCAAkB;sDAAC;AAIhC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IAC7B,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC1B,4BAAY;iDAAC;4BAvCZ,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;GACf,iBAAiB,CAwC7B"}
|
@@ -77,6 +77,7 @@ import { ReportEntity } from './entities/report.entity';
|
|
77
77
|
import { ReportFilterEntity } from './entities/report.filter.entity';
|
78
78
|
import { ReportRelationshipEntity } from './entities/report.relationship.entity';
|
79
79
|
import { ReportRoleEntity } from './entities/report.role.entity';
|
80
|
+
import { ReportSheetEntity } from './entities/report.sheet.entity';
|
80
81
|
import { ScheduledEventEntity } from './entities/scheduled.event.entity';
|
81
82
|
import { SecurityRuleEntity } from './entities/security.rule.entity';
|
82
83
|
import { ServiceEntity } from './entities/service.entity';
|
@@ -117,6 +118,7 @@ import { RefreshMaterialViewJob } from './jobs/refresh.material.view.job';
|
|
117
118
|
import { RefreshPropertyCacheJob } from './jobs/refresh.property.cache.job';
|
118
119
|
import { RelationshipMapperJob } from './jobs/relationship.mapper.job';
|
119
120
|
import { ReportColumnSyncJob } from './jobs/report.column.sync.job';
|
121
|
+
import { ReportSheetJob } from './jobs/report.sheet.job';
|
120
122
|
import { ScheduledEventJob } from './jobs/scheduled.event.job';
|
121
123
|
import { SetCodefixScriptEventJob } from './jobs/set.codefix.script.event.job';
|
122
124
|
import { SetEventQueueJob } from './jobs/set.event.queue.job';
|
@@ -133,6 +135,8 @@ import { BusinessRuleQueryEvaluator } from './libraries/business.rule.query.eval
|
|
133
135
|
import { CodeEvaluator } from './libraries/code.evaluator';
|
134
136
|
import { ColumnManager } from './libraries/column.manager';
|
135
137
|
import { ExecuteCodeFix } from './libraries/execute.code.fix';
|
138
|
+
import { GenerateDownloadableReportFile } from './libraries/generate.downloadable.report.file';
|
139
|
+
import { GetReportQuery } from './libraries/get.report.query';
|
136
140
|
import { ModelSync } from './libraries/model.sync';
|
137
141
|
import { ProcessMenuCreation } from './libraries/process.menu.creation';
|
138
142
|
import { SecurityRuleEvaluator } from './libraries/security.rule.evaluator';
|
@@ -183,6 +187,7 @@ import { MobileValidationSubscriber } from './subscribers/mobile.validation.subs
|
|
183
187
|
import { PropertySubscriber } from './subscribers/property.subscriber';
|
184
188
|
import { RecurringQuerySubscriber } from './subscribers/recurring.query.subscriber';
|
185
189
|
import { RelationshipSubscriber } from './subscribers/relationship.subscriber';
|
190
|
+
import { ReportSheetSubscriber } from './subscribers/report.sheet.subscriber';
|
186
191
|
import { ScheduledEventSubscriber } from './subscribers/scheduled.event.subscriber';
|
187
192
|
import { SmsMessageSubscriber } from './subscribers/sms.message.subscriber';
|
188
193
|
import { UserGroupMemberSubscriber } from './subscribers/user.group.member.subscriber';
|
@@ -192,12 +197,12 @@ declare const es6Classes: {
|
|
192
197
|
commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SesEventTrackingCommand | typeof SyncAllCommand)[];
|
193
198
|
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
194
199
|
dtos: (typeof ClientCredentialAttributesDto | typeof FileUploadSpecDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof AddDirectMenuDto | typeof ModelFormPreferenceCreationDto | typeof UserPreferenceCreationDto | typeof FileUploadDto | typeof AddCommentDto | typeof ClientCredentialDto | typeof JobRecordParamDto | typeof MailValidationDto | typeof MobileValidationDto | typeof ModelAllowedColumnDto | typeof OtpGenerationDto | typeof ValidationOptionsDto)[];
|
195
|
-
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof ClientScriptEntity | typeof CodeFixScriptEntity | typeof CodeFixLogEntity | typeof DocumentEntity | typeof CommentEntity | typeof DataLogEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MailEventEntity | typeof MailRecipientEntity | typeof MailValidationEntity | typeof MaterialViewEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof RecurringQueryEntity | typeof ReportFilterEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
200
|
+
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientEntity | typeof ClientCredentialEntity | typeof CredentialIpEntity | typeof ClientScriptEntity | typeof CodeFixScriptEntity | typeof CodeFixLogEntity | typeof DocumentEntity | typeof CommentEntity | typeof DataLogEntity | typeof DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MailEventEntity | typeof MailRecipientEntity | typeof MailValidationEntity | typeof MaterialViewEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof MobileValidationEntity | typeof OpenPropertyEntity | typeof RecurringQueryEntity | typeof ReportFilterEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ReportSheetEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
196
201
|
interceptors: (typeof SentryInterceptor)[];
|
197
|
-
jobs: (typeof ExecuteCodeFixJob | typeof SetScheduledEventJob | typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof SyncAllCodeJob | typeof ClientCredentialJob | typeof ClientJob | typeof CodeFixLogJob | typeof SetCodefixScriptEventJob | typeof CodeFixScriptJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DataLogJob | typeof DocumentJob | typeof ExecuteMaterialViewJob | typeof ExecuteRecurringQueryJob | typeof MailEventJob | typeof MailRecipientJob | typeof MailValidationJob | typeof RefreshMaterialViewJob | typeof MaterialViewJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof SetRecurringQueryEventJob | typeof RecurringQueryJob | typeof RelationshipMapperJob | typeof ScheduledEventJob | typeof SetEventQueueJob | typeof SmsMessageJob | typeof SqsPollingJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
198
|
-
libraries: (typeof ExecuteCodeFix | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof
|
202
|
+
jobs: (typeof ExecuteCodeFixJob | typeof SetScheduledEventJob | typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof SyncAllCodeJob | typeof ClientCredentialJob | typeof ClientJob | typeof CodeFixLogJob | typeof SetCodefixScriptEventJob | typeof CodeFixScriptJob | typeof ColumnMapperJob | typeof CommentJob | typeof CredentialIpJob | typeof DataLogJob | typeof DocumentJob | typeof ExecuteMaterialViewJob | typeof ExecuteRecurringQueryJob | typeof MailEventJob | typeof MailRecipientJob | typeof MailValidationJob | typeof RefreshMaterialViewJob | typeof MaterialViewJob | typeof MobileValidationJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof SetRecurringQueryEventJob | typeof RecurringQueryJob | typeof RelationshipMapperJob | typeof ReportSheetJob | typeof ScheduledEventJob | typeof SetEventQueueJob | typeof SmsMessageJob | typeof SqsPollingJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
203
|
+
libraries: (typeof ExecuteCodeFix | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof CodeEvaluator | typeof GetReportQuery | typeof GenerateDownloadableReportFile | typeof SyncDynamoTables | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation)[];
|
199
204
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
200
205
|
services: (typeof PropertyService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof CommonService | typeof EventDetailService | typeof EventQueueService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof ClientCredentialService | typeof ColumnService | typeof DocumentService | typeof CommentService | typeof Es6JobsService | typeof InternalServerConnectService | typeof MailValidationService | typeof MobileValidationService | typeof Es6Service)[];
|
201
|
-
subscribers: (typeof ClientCredentialSubscriber | typeof ClientSubscriber | typeof CodeFixLogSubscriber | typeof CodeFixScriptSubscriber | typeof ColumnSubscriber | typeof CommentSubscriber | typeof CredentialIpSubscriber | typeof DataLogSubscriber | typeof DocumentSubscriber | typeof MailEventSubscriber | typeof MailRecipientSubscriber | typeof MailValidationSubscriber | typeof MaterialViewSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RecurringQuerySubscriber | typeof RelationshipSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
|
206
|
+
subscribers: (typeof ClientCredentialSubscriber | typeof ClientSubscriber | typeof CodeFixLogSubscriber | typeof CodeFixScriptSubscriber | typeof ColumnSubscriber | typeof CommentSubscriber | typeof CredentialIpSubscriber | typeof DataLogSubscriber | typeof DocumentSubscriber | typeof MailEventSubscriber | typeof MailRecipientSubscriber | typeof MailValidationSubscriber | typeof MaterialViewSubscriber | typeof MobileValidationSubscriber | typeof PropertySubscriber | typeof RecurringQuerySubscriber | typeof RelationshipSubscriber | typeof ReportSheetSubscriber | typeof ScheduledEventSubscriber | typeof SmsMessageSubscriber | typeof UserGroupMemberSubscriber | typeof UserGroupPermissionSubscriber | typeof UserGroupRoleSubscriber)[];
|
202
207
|
};
|
203
208
|
export default es6Classes;
|
@@ -42,6 +42,7 @@ const model_allowed_column_dto_1 = require("./dtos/model.allowed.column.dto");
|
|
42
42
|
const model_form_preference_creation_dto_1 = require("./dtos/model.form.preference.creation.dto");
|
43
43
|
const otp_generation_dto_1 = require("./dtos/otp.generation.dto");
|
44
44
|
const recurring_query_attributes_dto_1 = require("./dtos/recurring.query.attributes.dto");
|
45
|
+
const report_sheet_attributes_dto_1 = require("./dtos/report.sheet.attributes.dto");
|
45
46
|
const s3_object_info_dto_1 = require("./dtos/s3.object.info.dto");
|
46
47
|
const s3_upload_options_dto_1 = require("./dtos/s3.upload.options.dto");
|
47
48
|
const sms_message_attributes_dto_1 = require("./dtos/sms.message.attributes.dto");
|
@@ -98,6 +99,7 @@ const report_filter_entity_1 = require("./entities/report.filter.entity");
|
|
98
99
|
const report_param_entity_1 = require("./entities/report.param.entity");
|
99
100
|
const report_relationship_entity_1 = require("./entities/report.relationship.entity");
|
100
101
|
const report_role_entity_1 = require("./entities/report.role.entity");
|
102
|
+
const report_sheet_entity_1 = require("./entities/report.sheet.entity");
|
101
103
|
const scheduled_event_entity_1 = require("./entities/scheduled.event.entity");
|
102
104
|
const secondary_axis_entity_1 = require("./entities/secondary.axis.entity");
|
103
105
|
const security_rule_entity_1 = require("./entities/security.rule.entity");
|
@@ -139,6 +141,7 @@ const refresh_material_view_job_1 = require("./jobs/refresh.material.view.job");
|
|
139
141
|
const refresh_property_cache_job_1 = require("./jobs/refresh.property.cache.job");
|
140
142
|
const relationship_mapper_job_1 = require("./jobs/relationship.mapper.job");
|
141
143
|
const report_column_sync_job_1 = require("./jobs/report.column.sync.job");
|
144
|
+
const report_sheet_job_1 = require("./jobs/report.sheet.job");
|
142
145
|
const scheduled_event_job_1 = require("./jobs/scheduled.event.job");
|
143
146
|
const set_codefix_script_event_job_1 = require("./jobs/set.codefix.script.event.job");
|
144
147
|
const set_event_queue_job_1 = require("./jobs/set.event.queue.job");
|
@@ -155,6 +158,8 @@ const business_rule_query_evaluator_1 = require("./libraries/business.rule.query
|
|
155
158
|
const code_evaluator_1 = require("./libraries/code.evaluator");
|
156
159
|
const column_manager_1 = require("./libraries/column.manager");
|
157
160
|
const execute_code_fix_1 = require("./libraries/execute.code.fix");
|
161
|
+
const generate_downloadable_report_file_1 = require("./libraries/generate.downloadable.report.file");
|
162
|
+
const get_report_query_1 = require("./libraries/get.report.query");
|
158
163
|
const model_sync_1 = require("./libraries/model.sync");
|
159
164
|
const process_menu_creation_1 = require("./libraries/process.menu.creation");
|
160
165
|
const security_rule_evaluator_1 = require("./libraries/security.rule.evaluator");
|
@@ -205,6 +210,7 @@ const mobile_validation_subscriber_1 = require("./subscribers/mobile.validation.
|
|
205
210
|
const property_subscriber_1 = require("./subscribers/property.subscriber");
|
206
211
|
const recurring_query_subscriber_1 = require("./subscribers/recurring.query.subscriber");
|
207
212
|
const relationship_subscriber_1 = require("./subscribers/relationship.subscriber");
|
213
|
+
const report_sheet_subscriber_1 = require("./subscribers/report.sheet.subscriber");
|
208
214
|
const scheduled_event_subscriber_1 = require("./subscribers/scheduled.event.subscriber");
|
209
215
|
const sms_message_subscriber_1 = require("./subscribers/sms.message.subscriber");
|
210
216
|
const user_group_member_subscriber_1 = require("./subscribers/user.group.member.subscriber");
|
@@ -258,6 +264,7 @@ const es6Classes = {
|
|
258
264
|
model_form_preference_creation_dto_1.ModelFormPreferenceCreationDto,
|
259
265
|
otp_generation_dto_1.OtpGenerationDto,
|
260
266
|
recurring_query_attributes_dto_1.RecurringQueryAttributesDto,
|
267
|
+
report_sheet_attributes_dto_1.ReportSheetAttributesDto,
|
261
268
|
s3_object_info_dto_1.S3ObjectInfoDto,
|
262
269
|
s3_upload_options_dto_1.S3UploadOptionsDto,
|
263
270
|
sms_message_attributes_dto_1.SmsMessageAttributesDto,
|
@@ -316,6 +323,7 @@ const es6Classes = {
|
|
316
323
|
report_param_entity_1.ReportParamEntity,
|
317
324
|
report_relationship_entity_1.ReportRelationshipEntity,
|
318
325
|
report_role_entity_1.ReportRoleEntity,
|
326
|
+
report_sheet_entity_1.ReportSheetEntity,
|
319
327
|
scheduled_event_entity_1.ScheduledEventEntity,
|
320
328
|
secondary_axis_entity_1.SecondaryAxisEntity,
|
321
329
|
security_rule_entity_1.SecurityRuleEntity,
|
@@ -359,6 +367,7 @@ const es6Classes = {
|
|
359
367
|
refresh_property_cache_job_1.RefreshPropertyCacheJob,
|
360
368
|
relationship_mapper_job_1.RelationshipMapperJob,
|
361
369
|
report_column_sync_job_1.ReportColumnSyncJob,
|
370
|
+
report_sheet_job_1.ReportSheetJob,
|
362
371
|
scheduled_event_job_1.ScheduledEventJob,
|
363
372
|
set_codefix_script_event_job_1.SetCodefixScriptEventJob,
|
364
373
|
set_event_queue_job_1.SetEventQueueJob,
|
@@ -377,6 +386,8 @@ const es6Classes = {
|
|
377
386
|
code_evaluator_1.CodeEvaluator,
|
378
387
|
column_manager_1.ColumnManager,
|
379
388
|
execute_code_fix_1.ExecuteCodeFix,
|
389
|
+
generate_downloadable_report_file_1.GenerateDownloadableReportFile,
|
390
|
+
get_report_query_1.GetReportQuery,
|
380
391
|
model_sync_1.ModelSync,
|
381
392
|
process_menu_creation_1.ProcessMenuCreation,
|
382
393
|
security_rule_evaluator_1.SecurityRuleEvaluator,
|
@@ -430,6 +441,7 @@ const es6Classes = {
|
|
430
441
|
property_subscriber_1.PropertySubscriber,
|
431
442
|
recurring_query_subscriber_1.RecurringQuerySubscriber,
|
432
443
|
relationship_subscriber_1.RelationshipSubscriber,
|
444
|
+
report_sheet_subscriber_1.ReportSheetSubscriber,
|
433
445
|
scheduled_event_subscriber_1.ScheduledEventSubscriber,
|
434
446
|
sms_message_subscriber_1.SmsMessageSubscriber,
|
435
447
|
user_group_member_subscriber_1.UserGroupMemberSubscriber,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,sFAAgF;AAChF,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4DAAuD;AACvD,oEAA8D;AAC9D,wEAAmE;AACnE,8FAAwF;AACxF,wEAAmE;AACnE,oFAA6E;AAC7E,0FAAmF;AACnF,0EAAqE;AACrE,sFAAgF;AAChF,4EAAsE;AACtE,4EAAuE;AACvE,4DAAuD;AACvD,sEAAgE;AAChE,sEAAg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ACP,4DAA2B;QAC3B,0DAA0B;QAC1B,8BAAa;QACb,8BAAa;QACb,iCAAc;QACd,sBAAS;QACT,2CAAmB;QACnB,+CAAqB;QACrB,qCAAgB;KACnB;IACD,SAAS,EAAE,CAAC,qCAAgB,EAAE,yCAAkB,CAAC;IACjD,QAAQ,EAAE;QACN,6BAAY;QACZ,2CAAmB;QACnB,mDAAuB;QACvB,2CAAmB;QACnB,8BAAa;QACb,gCAAc;QACd,8BAAa;QACb,kCAAe;QACf,iCAAc;QACd,wBAAU;QACV,yCAAkB;QAClB,uCAAiB;QACjB,0BAAW;QACX,8DAA4B;QAC5B,0BAAW;QACX,+CAAqB;QACrB,0BAAW;QACX,mDAAuB;QACvB,4BAAY;QACZ,sCAAiB;QACjB,kCAAe;QACf,8BAAa;QACb,+CAAqB;QACrB,2CAAmB;QACnB,mCAAe;QACf,8BAAa;QACb,+CAAqB;KACxB;IACD,WAAW,EAAE;QACT,yDAA0B;QAC1B,oCAAgB;QAChB,8CAAoB;QACpB,oDAAuB;QACvB,oCAAgB;QAChB,sCAAiB;QACjB,iDAAsB;QACtB,uCAAiB;QACjB,wCAAkB;QAClB,2CAAmB;QACnB,mDAAuB;QACvB,qDAAwB;QACxB,iDAAsB;QACtB,yDAA0B;QAC1B,wCAAkB;QAClB,qDAAwB;QACxB,gDAAsB;QACtB,qDAAwB;QACxB,6CAAoB;QACpB,wDAAyB;QACzB,gEAA6B;QAC7B,oDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,sFAAgF;AAChF,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E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ACtB,+CAAqB;QACrB,qDAAwB;QACxB,6CAAoB;QACpB,wDAAyB;QACzB,gEAA6B;QAC7B,oDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
@@ -22,6 +22,7 @@ export * from './refresh.material.view.job';
|
|
22
22
|
export * from './refresh.property.cache.job';
|
23
23
|
export * from './relationship.mapper.job';
|
24
24
|
export * from './report.column.sync.job';
|
25
|
+
export * from './report.sheet.job';
|
25
26
|
export * from './scheduled.event.job';
|
26
27
|
export * from './set.codefix.script.event.job';
|
27
28
|
export * from './set.event.queue.job';
|
@@ -38,6 +38,7 @@ __exportStar(require("./refresh.material.view.job"), exports);
|
|
38
38
|
__exportStar(require("./refresh.property.cache.job"), exports);
|
39
39
|
__exportStar(require("./relationship.mapper.job"), exports);
|
40
40
|
__exportStar(require("./report.column.sync.job"), exports);
|
41
|
+
__exportStar(require("./report.sheet.job"), exports);
|
41
42
|
__exportStar(require("./scheduled.event.job"), exports);
|
42
43
|
__exportStar(require("./set.codefix.script.event.job"), exports);
|
43
44
|
__exportStar(require("./set.event.queue.job"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AAAA,+CAA6B;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,iDAA+B;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,wDAAsC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,wDAAqC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AAAA,+CAA6B;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,iDAA+B;AAAA,yDAAuC;AAAA,8DAA4C;AAAA,gEAA8C;AAAA,mDAAiC;AAAA,uDAAqC;AAAA,wDAAsC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,sDAAoC;AAAA,iDAA+B;AAAA,wDAAsC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,2DAAyC;AAAA,qDAAmC;AAAA,wDAAsC;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,kEAAgD;AAAA,4DAA0C;AAAA,oDAAkC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,wDAAqC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ReportSheetEntity } from '../entities/report.sheet.entity';
|
2
|
+
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
3
|
+
import { CommonJob } from '../../common/libraries/common.job';
|
4
|
+
import { QueueService } from '../../platformUtility/services/queue.service';
|
5
|
+
export declare class ReportSheetJob extends CommonJob {
|
6
|
+
protected readonly queueService: QueueService;
|
7
|
+
constructor(queueService: QueueService);
|
8
|
+
handle(evt: DatabaseEventDto<ReportSheetEntity>): Promise<ReportSheetEntity>;
|
9
|
+
}
|
@@ -0,0 +1,30 @@
|
|
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.ReportSheetJob = void 0;
|
13
|
+
const common_1 = require("@nestjs/common");
|
14
|
+
const common_job_1 = require("../../common/libraries/common.job");
|
15
|
+
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
16
|
+
let ReportSheetJob = class ReportSheetJob extends common_job_1.CommonJob {
|
17
|
+
constructor(queueService) {
|
18
|
+
super('e6b4539ef34469f1818e1742479b2144');
|
19
|
+
this.queueService = queueService;
|
20
|
+
}
|
21
|
+
async handle(evt) {
|
22
|
+
return evt.entity;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
exports.ReportSheetJob = ReportSheetJob;
|
26
|
+
exports.ReportSheetJob = ReportSheetJob = __decorate([
|
27
|
+
(0, common_1.Injectable)(),
|
28
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService])
|
29
|
+
], ReportSheetJob);
|
30
|
+
//# sourceMappingURL=report.sheet.job.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"report.sheet.job.js","sourceRoot":"","sources":["../../../src/system/jobs/report.sheet.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAG5C,kEAA8D;AAC9D,gFAA4E;AAErE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,sBAAS;IACzC,YAA+B,YAA0B;QACrD,KAAK,CAAC,kCAAkC,CAAC,CAAC;QADf,iBAAY,GAAZ,YAAY,CAAc;IAEzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAAwC;QACjD,OAAO,GAAG,CAAC,MAAM,CAAC;IACtB,CAAC;CACJ,CAAA;AAPY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;qCAEoC,4BAAY;GADhD,cAAc,CAO1B"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { SqlService } from '../../platformUtility/services/sql.service';
|
2
|
+
import { ReportEntity } from '../entities/report.entity';
|
3
|
+
interface ReportParams {
|
4
|
+
[key: string]: any;
|
5
|
+
}
|
6
|
+
export declare class GenerateDownloadableReportFile {
|
7
|
+
private readonly report;
|
8
|
+
private readonly sqlService;
|
9
|
+
private readonly codeEvaluator;
|
10
|
+
private readonly BATCH_SIZE;
|
11
|
+
private readonly MAX_ITERATIONS;
|
12
|
+
private readonly TEMP_DIR;
|
13
|
+
constructor(report: ReportEntity, sqlService: SqlService);
|
14
|
+
generate(params: ReportParams): Promise<string>;
|
15
|
+
private getActiveSheets;
|
16
|
+
private executePreScript;
|
17
|
+
private processSheet;
|
18
|
+
private getSheetColumns;
|
19
|
+
private executeSheetPreScript;
|
20
|
+
private writeSheetData;
|
21
|
+
private writeHeader;
|
22
|
+
private writeRows;
|
23
|
+
private executeQuery;
|
24
|
+
private evaluateParams;
|
25
|
+
private saveWorkbook;
|
26
|
+
private ensureTempDirectory;
|
27
|
+
}
|
28
|
+
export {};
|
@@ -0,0 +1,120 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GenerateDownloadableReportFile = void 0;
|
4
|
+
const fs_1 = require("fs");
|
5
|
+
const path_1 = require("path");
|
6
|
+
const ExcelJS = require("exceljs");
|
7
|
+
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
8
|
+
const column_entity_1 = require("../entities/column.entity");
|
9
|
+
const report_sheet_entity_1 = require("../entities/report.sheet.entity");
|
10
|
+
const system_script_entity_1 = require("../entities/system.script.entity");
|
11
|
+
const code_evaluator_1 = require("./code.evaluator");
|
12
|
+
const get_report_query_1 = require("./get.report.query");
|
13
|
+
const SourceHash = require("../../config/source.hash");
|
14
|
+
class GenerateDownloadableReportFile {
|
15
|
+
constructor(report, sqlService) {
|
16
|
+
this.report = report;
|
17
|
+
this.sqlService = sqlService;
|
18
|
+
this.BATCH_SIZE = 100;
|
19
|
+
this.MAX_ITERATIONS = 100000;
|
20
|
+
this.TEMP_DIR = (0, path_1.join)(__dirname, '../../../../../../tmp');
|
21
|
+
this.codeEvaluator = new code_evaluator_1.CodeEvaluator();
|
22
|
+
}
|
23
|
+
async generate(params) {
|
24
|
+
try {
|
25
|
+
const workbook = new ExcelJS.Workbook();
|
26
|
+
const sheets = await this.getActiveSheets();
|
27
|
+
params = await this.executePreScript(params);
|
28
|
+
for (const sheet of sheets) {
|
29
|
+
await this.processSheet(workbook, sheet, params);
|
30
|
+
}
|
31
|
+
return this.saveWorkbook(workbook);
|
32
|
+
}
|
33
|
+
catch (error) {
|
34
|
+
throw new Error(`Failed to generate report: ${error.message}`);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
async getActiveSheets() {
|
38
|
+
return report_sheet_entity_1.ReportSheetEntity.find({
|
39
|
+
where: { report_id: this.report.id, active: true },
|
40
|
+
order: { priority: 'desc' },
|
41
|
+
relations: ['query', 'pre_script', 'post_script'],
|
42
|
+
});
|
43
|
+
}
|
44
|
+
async executePreScript(params) {
|
45
|
+
if (!this.report.pre_script_id)
|
46
|
+
return params;
|
47
|
+
const script = await system_script_entity_1.SystemScriptEntity.first(this.report.pre_script_id);
|
48
|
+
if (script?.script) {
|
49
|
+
return this.evaluateParams(script.script, params);
|
50
|
+
}
|
51
|
+
return params;
|
52
|
+
}
|
53
|
+
async processSheet(workbook, sheet, params) {
|
54
|
+
let clonedParams = structuredClone(params);
|
55
|
+
await this.executeSheetPreScript(sheet, clonedParams);
|
56
|
+
const worksheet = workbook.addWorksheet(sheet.name);
|
57
|
+
const columns = await this.getSheetColumns(sheet);
|
58
|
+
this.writeHeader(worksheet, columns);
|
59
|
+
return this.writeSheetData(worksheet, sheet, columns, clonedParams);
|
60
|
+
}
|
61
|
+
async getSheetColumns(sheet) {
|
62
|
+
return column_entity_1.ColumnEntity.find({
|
63
|
+
where: { source_id: sheet.id, source_type: SourceHash.reportSheet },
|
64
|
+
order: { ordinal_position: 'asc' },
|
65
|
+
});
|
66
|
+
}
|
67
|
+
async executeSheetPreScript(sheet, params) {
|
68
|
+
if (sheet.pre_script_id && sheet.pre_script?.script) {
|
69
|
+
return this.evaluateParams(sheet.pre_script.script, params);
|
70
|
+
}
|
71
|
+
return params;
|
72
|
+
}
|
73
|
+
async writeSheetData(worksheet, sheet, columns, params) {
|
74
|
+
const sql = await new get_report_query_1.GetReportQuery(this.report).process(sheet.query?.script, params);
|
75
|
+
for (let i = 0; i < this.MAX_ITERATIONS; i++) {
|
76
|
+
const offset = this.BATCH_SIZE * i;
|
77
|
+
const query = `${sql} limit ${this.BATCH_SIZE} offset ${offset}`;
|
78
|
+
const items = await this.executeQuery(query, sheet.post_script?.script);
|
79
|
+
if (!items.length)
|
80
|
+
return;
|
81
|
+
this.writeRows(worksheet, items, columns);
|
82
|
+
if (items.length < this.BATCH_SIZE)
|
83
|
+
return;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
writeHeader(worksheet, columns) {
|
87
|
+
worksheet.addRow(columns.map((column) => column.display_name));
|
88
|
+
}
|
89
|
+
writeRows(worksheet, records, columns) {
|
90
|
+
records.forEach((record) => {
|
91
|
+
worksheet.addRow(columns.map((column) => record[column.name] ?? ''));
|
92
|
+
});
|
93
|
+
}
|
94
|
+
async executeQuery(query, postScript) {
|
95
|
+
const records = await this.sqlService.read(query);
|
96
|
+
if (postScript) {
|
97
|
+
await this.codeEvaluator.execute(postScript, { data: records });
|
98
|
+
}
|
99
|
+
return records;
|
100
|
+
}
|
101
|
+
async evaluateParams(script, params) {
|
102
|
+
await this.codeEvaluator.execute(script, { data: params });
|
103
|
+
return params;
|
104
|
+
}
|
105
|
+
async saveWorkbook(workbook) {
|
106
|
+
const dir = await this.ensureTempDirectory();
|
107
|
+
const fileName = `${platform_utility_1.PlatformUtility.generateRandomAlpha(6).toLowerCase()}.xlsx`;
|
108
|
+
const tempPath = (0, path_1.join)(dir, fileName);
|
109
|
+
await workbook.xlsx.writeFile(tempPath);
|
110
|
+
return tempPath;
|
111
|
+
}
|
112
|
+
async ensureTempDirectory() {
|
113
|
+
if (!(0, fs_1.existsSync)(this.TEMP_DIR)) {
|
114
|
+
(0, fs_1.mkdirSync)(this.TEMP_DIR);
|
115
|
+
}
|
116
|
+
return this.TEMP_DIR;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
exports.GenerateDownloadableReportFile = GenerateDownloadableReportFile;
|
120
|
+
//# sourceMappingURL=generate.downloadable.report.file.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"generate.downloadable.report.file.js","sourceRoot":"","sources":["../../../src/system/libraries/generate.downloadable.report.file.ts"],"names":[],"mappings":";;;AAAA,2BAA2C;AAC3C,+BAA4B;AAC5B,mCAAmC;AACnC,8EAA0E;AAE1E,6DAAyD;AAEzD,yEAAoE;AACpE,2EAAsE;AACtE,qDAAiD;AACjD,yDAAoD;AACpD,uDAAwD;AAiBxD,MAAa,8BAA8B;IAMvC,YACqB,MAAoB,EACpB,UAAsB;QADtB,WAAM,GAAN,MAAM,CAAc;QACpB,eAAU,GAAV,UAAU,CAAY;QAN1B,eAAU,GAAG,GAAG,CAAC;QACjB,mBAAc,GAAG,MAAM,CAAC;QACxB,aAAQ,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;QAMjE,IAAI,CAAC,aAAa,GAAG,IAAI,8BAAa,EAAE,CAAC;IAC7C,CAAC;IAQD,KAAK,CAAC,QAAQ,CAAC,MAAoB;QAC/B,IAAI,CAAC;YACD,MAAM,QAAQ,GAAG,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;YA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C;QAED,OAAO,OAAO,CAAC;IACnB,CAAC;IAQO,KAAK,CAAC,cAAc,CAAC,MAAc,EAAE,MAAoB;QAC7D,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QAC3D,OAAO,MAAM,CAAC;IAClB,CAAC;IAOO,KAAK,CAAC,YAAY,CAAC,QAA0B;QACjD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAC7C,MAAM,QAAQ,GAAG,GAAG,kCAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,OAAO,CAAC;QAChF,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QAErC,MAAM,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QACxC,OAAO,QAAQ,CAAC;IACpB,CAAC;IAMO,KAAK,CAAC,mBAAmB;QAC7B,IAAI,CAAC,IAAA,eAAU,EAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC7B,IAAA,cAAS,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC7B,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;CACJ;AA9MD,wEA8MC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { ReportEntity } from '../entities/report.entity';
|
2
|
+
export declare class GetReportQuery {
|
3
|
+
private readonly report;
|
4
|
+
protected filter: Record<string, any>;
|
5
|
+
protected restrictions: string[];
|
6
|
+
constructor(report: ReportEntity);
|
7
|
+
process(sql: string, filter: any): Promise<string>;
|
8
|
+
private setQuery;
|
9
|
+
private setFilterRestriction;
|
10
|
+
private getEmbeddedFilterRestriction;
|
11
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetReportQuery = void 0;
|
4
|
+
const report_filter_entity_1 = require("../entities/report.filter.entity");
|
5
|
+
class GetReportQuery {
|
6
|
+
constructor(report) {
|
7
|
+
this.report = report;
|
8
|
+
this.restrictions = [];
|
9
|
+
}
|
10
|
+
async process(sql, filter) {
|
11
|
+
this.filter = filter;
|
12
|
+
const query = await this.setQuery(sql);
|
13
|
+
return `select * from ${query}`;
|
14
|
+
}
|
15
|
+
async setQuery(sql) {
|
16
|
+
for (const [key, value] of Object.entries(this.filter)) {
|
17
|
+
let newValue = null;
|
18
|
+
if (Array.isArray(value) && value?.length > 0 && typeof value[0] === 'string') {
|
19
|
+
newValue = `'${value.join("','")}'`;
|
20
|
+
}
|
21
|
+
sql = sql.replace(new RegExp(`:${key}`, 'ig'), newValue ?? value);
|
22
|
+
}
|
23
|
+
const paramRestrictions = await this.getEmbeddedFilterRestriction();
|
24
|
+
sql = this.setFilterRestriction(sql, paramRestrictions);
|
25
|
+
if (this.filter.filter_query)
|
26
|
+
return `(${sql}) sq where ${this.filter.filter_query}`;
|
27
|
+
return `(${sql}) sq`;
|
28
|
+
}
|
29
|
+
setFilterRestriction(sql, restriction) {
|
30
|
+
const placeHolder = ':filter_restrictions';
|
31
|
+
const hasRestrictionPlaceholder = sql.includes(placeHolder);
|
32
|
+
if (this.filter.injected_query)
|
33
|
+
restriction = `${restriction} and (${this.filter.injected_query})`;
|
34
|
+
if (hasRestrictionPlaceholder) {
|
35
|
+
if (!restriction)
|
36
|
+
return sql.replace(placeHolder, '');
|
37
|
+
return sql.replace(placeHolder, `and ${restriction}`);
|
38
|
+
}
|
39
|
+
if (!restriction)
|
40
|
+
return sql;
|
41
|
+
return `${sql} and ${restriction}`;
|
42
|
+
}
|
43
|
+
async getEmbeddedFilterRestriction() {
|
44
|
+
const filters = await report_filter_entity_1.ReportFilterEntity.find({ where: { report_id: this.report.id } });
|
45
|
+
if (!filters.length)
|
46
|
+
return;
|
47
|
+
const restrictions = [];
|
48
|
+
for (const filter of filters) {
|
49
|
+
const data = this.filter[filter.column];
|
50
|
+
if (typeof data === 'undefined')
|
51
|
+
continue;
|
52
|
+
if (Array.isArray(data)) {
|
53
|
+
const d = data.map((item) => `'${item}'`);
|
54
|
+
restrictions.push(`${filter.identifier} in (${d.join(',')})`);
|
55
|
+
}
|
56
|
+
else
|
57
|
+
restrictions.push(`${filter.identifier} = '${data}'`);
|
58
|
+
}
|
59
|
+
if (restrictions.length)
|
60
|
+
return `${restrictions.join(' and ')}`;
|
61
|
+
return '';
|
62
|
+
}
|
63
|
+
}
|
64
|
+
exports.GetReportQuery = GetReportQuery;
|
65
|
+
//# sourceMappingURL=get.report.query.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"get.report.query.js","sourceRoot":"","sources":["../../../src/system/libraries/get.report.query.ts"],"names":[],"mappings":";;;AACA,2EAAsE;AAEtE,MAAa,cAAc;IAgBvB,YAA6B,MAAoB;QAApB,WAAM,GAAN,MAAM,CAAc;QAPvC,iBAAY,GAAa,EAAE,CAAC;IAOc,CAAC;IAQrD,KAAK,CAAC,OAAO,CAAC,GAAW,EAAE,MAAW;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAEvC,OAAO,iBAAiB,KAAK,EAAE,CAAC;IACpC,CAAC;IAQO,KAAK,CAAC,QAAQ,CAAC,GAAW;QAC9B,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACrD,IAAI,QAAQ,GAAG,IAAI,CAAC;YAEpB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,EAAE,MAAM,GAAG,CAAC,IAAI,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;gBAG5E,QAAQ,GAAG,I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AAI,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACxF,IAAI,CAAC,OAAO,CAAC,MAAM;YAAE,OAAO;QAE5B,MAAM,YAAY,GAAG,EAAE,CAAC;QACxB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAExC,IAAI,OAAO,IAAI,KAAK,WAAW;gBAAE,SAAS;YAE1C,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;gBACtB,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,GAAG,CAAC,CAAC;gBAE1C,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,UAAU,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAClE,CAAC;;gBAAM,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,UAAU,OAAO,IAAI,GAAG,CAAC,CAAC;QACjE,CAAC;QAED,IAAI,YAAY,CAAC,MAAM;YAAE,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;QAEhE,OAAO,EAAE,CAAC;IACd,CAAC;CACJ;AA/GD,wCA+GC"}
|
@@ -3,6 +3,8 @@ export * from './business.rule.query.evaluator';
|
|
3
3
|
export * from './code.evaluator';
|
4
4
|
export * from './column.manager';
|
5
5
|
export * from './execute.code.fix';
|
6
|
+
export * from './generate.downloadable.report.file';
|
7
|
+
export * from './get.report.query';
|
6
8
|
export * from './model.sync';
|
7
9
|
export * from './process.menu.creation';
|
8
10
|
export * from './security.rule.evaluator';
|
@@ -19,6 +19,8 @@ __exportStar(require("./business.rule.query.evaluator"), exports);
|
|
19
19
|
__exportStar(require("./code.evaluator"), exports);
|
20
20
|
__exportStar(require("./column.manager"), exports);
|
21
21
|
__exportStar(require("./execute.code.fix"), exports);
|
22
|
+
__exportStar(require("./generate.downloadable.report.file"), exports);
|
23
|
+
__exportStar(require("./get.report.query"), exports);
|
22
24
|
__exportStar(require("./model.sync"), exports);
|
23
25
|
__exportStar(require("./process.menu.creation"), exports);
|
24
26
|
__exportStar(require("./security.rule.evaluator"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,kEAAgD;AAAA,mDAAiC;AAAA,mDAAiC;AAAA,qDAAmC;AAAA,+CAA6B;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,uDAAoC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,kEAAgD;AAAA,mDAAiC;AAAA,mDAAiC;AAAA,qDAAmC;AAAA,sEAAoD;AAAA,qDAAmC;AAAA,+CAA6B;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,uDAAoC"}
|
@@ -22,6 +22,7 @@ import { RefreshMaterialViewJob } from '../jobs/refresh.material.view.job';
|
|
22
22
|
import { RefreshPropertyCacheJob } from '../jobs/refresh.property.cache.job';
|
23
23
|
import { RelationshipMapperJob } from '../jobs/relationship.mapper.job';
|
24
24
|
import { ReportColumnSyncJob } from '../jobs/report.column.sync.job';
|
25
|
+
import { ReportSheetJob } from '../jobs/report.sheet.job';
|
25
26
|
import { ScheduledEventJob } from '../jobs/scheduled.event.job';
|
26
27
|
import { SetCodefixScriptEventJob } from '../jobs/set.codefix.script.event.job';
|
27
28
|
import { SetEventQueueJob } from '../jobs/set.event.queue.job';
|
@@ -58,6 +59,7 @@ export declare class Es6JobsService {
|
|
58
59
|
private readonly refreshPropertyCacheJob;
|
59
60
|
private readonly relationshipMapperJob;
|
60
61
|
private readonly reportColumnSyncJob;
|
62
|
+
private readonly reportSheetJob;
|
61
63
|
private readonly scheduledEventJob;
|
62
64
|
private readonly setCodefixScriptEventJob;
|
63
65
|
private readonly setEventQueueJob;
|
@@ -70,7 +72,7 @@ export declare class Es6JobsService {
|
|
70
72
|
private readonly userGroupPermissionJob;
|
71
73
|
private readonly userGroupRoleJob;
|
72
74
|
private jobs;
|
73
|
-
constructor(clientCredentialJob: ClientCredentialJob, clientJob: ClientJob, codeFixLogJob: CodeFixLogJob, codeFixScriptJob: CodeFixScriptJob, columnMapperJob: ColumnMapperJob, commentJob: CommentJob, credentialIpJob: CredentialIpJob, dataLogJob: DataLogJob, documentJob: DocumentJob, executeCodeFixJob: ExecuteCodeFixJob, executeMaterialViewJob: ExecuteMaterialViewJob, executeRecurringQueryJob: ExecuteRecurringQueryJob, mailEventJob: MailEventJob, mailRecipientJob: MailRecipientJob, mailValidationJob: MailValidationJob, materialViewJob: MaterialViewJob, mobileValidationJob: MobileValidationJob, modelScannerJob: ModelScannerJob, propertyJob: PropertyJob, recurringQueryJob: RecurringQueryJob, refreshMaterialViewJob: RefreshMaterialViewJob, refreshPropertyCacheJob: RefreshPropertyCacheJob, relationshipMapperJob: RelationshipMapperJob, reportColumnSyncJob: ReportColumnSyncJob, scheduledEventJob: ScheduledEventJob, setCodefixScriptEventJob: SetCodefixScriptEventJob, setEventQueueJob: SetEventQueueJob, setRecurringQueryEventJob: SetRecurringQueryEventJob, setScheduledEventJob: SetScheduledEventJob, smsMessageJob: SmsMessageJob, sqsPollingJob: SqsPollingJob, syncAllCodeJob: SyncAllCodeJob, userGroupMemberJob: UserGroupMemberJob, userGroupPermissionJob: UserGroupPermissionJob, userGroupRoleJob: UserGroupRoleJob);
|
75
|
+
constructor(clientCredentialJob: ClientCredentialJob, clientJob: ClientJob, codeFixLogJob: CodeFixLogJob, codeFixScriptJob: CodeFixScriptJob, columnMapperJob: ColumnMapperJob, commentJob: CommentJob, credentialIpJob: CredentialIpJob, dataLogJob: DataLogJob, documentJob: DocumentJob, executeCodeFixJob: ExecuteCodeFixJob, executeMaterialViewJob: ExecuteMaterialViewJob, executeRecurringQueryJob: ExecuteRecurringQueryJob, mailEventJob: MailEventJob, mailRecipientJob: MailRecipientJob, mailValidationJob: MailValidationJob, materialViewJob: MaterialViewJob, mobileValidationJob: MobileValidationJob, modelScannerJob: ModelScannerJob, propertyJob: PropertyJob, recurringQueryJob: RecurringQueryJob, refreshMaterialViewJob: RefreshMaterialViewJob, refreshPropertyCacheJob: RefreshPropertyCacheJob, relationshipMapperJob: RelationshipMapperJob, reportColumnSyncJob: ReportColumnSyncJob, reportSheetJob: ReportSheetJob, scheduledEventJob: ScheduledEventJob, setCodefixScriptEventJob: SetCodefixScriptEventJob, setEventQueueJob: SetEventQueueJob, setRecurringQueryEventJob: SetRecurringQueryEventJob, setScheduledEventJob: SetScheduledEventJob, smsMessageJob: SmsMessageJob, sqsPollingJob: SqsPollingJob, syncAllCodeJob: SyncAllCodeJob, userGroupMemberJob: UserGroupMemberJob, userGroupPermissionJob: UserGroupPermissionJob, userGroupRoleJob: UserGroupRoleJob);
|
74
76
|
alignJobs(): void;
|
75
77
|
setJobs(): void;
|
76
78
|
}
|
@@ -35,6 +35,7 @@ const refresh_material_view_job_1 = require("../jobs/refresh.material.view.job")
|
|
35
35
|
const refresh_property_cache_job_1 = require("../jobs/refresh.property.cache.job");
|
36
36
|
const relationship_mapper_job_1 = require("../jobs/relationship.mapper.job");
|
37
37
|
const report_column_sync_job_1 = require("../jobs/report.column.sync.job");
|
38
|
+
const report_sheet_job_1 = require("../jobs/report.sheet.job");
|
38
39
|
const scheduled_event_job_1 = require("../jobs/scheduled.event.job");
|
39
40
|
const set_codefix_script_event_job_1 = require("../jobs/set.codefix.script.event.job");
|
40
41
|
const set_event_queue_job_1 = require("../jobs/set.event.queue.job");
|
@@ -48,7 +49,7 @@ const user_group_permission_job_1 = require("../jobs/user.group.permission.job")
|
|
48
49
|
const user_group_role_job_1 = require("../jobs/user.group.role.job");
|
49
50
|
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
50
51
|
let Es6JobsService = class Es6JobsService {
|
51
|
-
constructor(clientCredentialJob, clientJob, codeFixLogJob, codeFixScriptJob, columnMapperJob, commentJob, credentialIpJob, dataLogJob, documentJob, executeCodeFixJob, executeMaterialViewJob, executeRecurringQueryJob, mailEventJob, mailRecipientJob, mailValidationJob, materialViewJob, mobileValidationJob, modelScannerJob, propertyJob, recurringQueryJob, refreshMaterialViewJob, refreshPropertyCacheJob, relationshipMapperJob, reportColumnSyncJob, scheduledEventJob, setCodefixScriptEventJob, setEventQueueJob, setRecurringQueryEventJob, setScheduledEventJob, smsMessageJob, sqsPollingJob, syncAllCodeJob, userGroupMemberJob, userGroupPermissionJob, userGroupRoleJob) {
|
52
|
+
constructor(clientCredentialJob, clientJob, codeFixLogJob, codeFixScriptJob, columnMapperJob, commentJob, credentialIpJob, dataLogJob, documentJob, executeCodeFixJob, executeMaterialViewJob, executeRecurringQueryJob, mailEventJob, mailRecipientJob, mailValidationJob, materialViewJob, mobileValidationJob, modelScannerJob, propertyJob, recurringQueryJob, refreshMaterialViewJob, refreshPropertyCacheJob, relationshipMapperJob, reportColumnSyncJob, reportSheetJob, scheduledEventJob, setCodefixScriptEventJob, setEventQueueJob, setRecurringQueryEventJob, setScheduledEventJob, smsMessageJob, sqsPollingJob, syncAllCodeJob, userGroupMemberJob, userGroupPermissionJob, userGroupRoleJob) {
|
52
53
|
this.clientCredentialJob = clientCredentialJob;
|
53
54
|
this.clientJob = clientJob;
|
54
55
|
this.codeFixLogJob = codeFixLogJob;
|
@@ -73,6 +74,7 @@ let Es6JobsService = class Es6JobsService {
|
|
73
74
|
this.refreshPropertyCacheJob = refreshPropertyCacheJob;
|
74
75
|
this.relationshipMapperJob = relationshipMapperJob;
|
75
76
|
this.reportColumnSyncJob = reportColumnSyncJob;
|
77
|
+
this.reportSheetJob = reportSheetJob;
|
76
78
|
this.scheduledEventJob = scheduledEventJob;
|
77
79
|
this.setCodefixScriptEventJob = setCodefixScriptEventJob;
|
78
80
|
this.setEventQueueJob = setEventQueueJob;
|
@@ -114,6 +116,7 @@ let Es6JobsService = class Es6JobsService {
|
|
114
116
|
b7d57d912c9514786071e4e4e804db13: this.refreshPropertyCacheJob,
|
115
117
|
'64724c02cc076f23566976dc765eb6b6': this.relationshipMapperJob,
|
116
118
|
'7676ffc477bc85ccfd8418b70f2377c9': this.reportColumnSyncJob,
|
119
|
+
e6b4539ef34469f1818e1742479b2144: this.reportSheetJob,
|
117
120
|
bb97644f2c505dc135d01f4c6959ec1f: this.scheduledEventJob,
|
118
121
|
'60a459ee4607fbd64325b00fe6952f44': this.setCodefixScriptEventJob,
|
119
122
|
eedbbd37e8ca956ab13f24b5028aaa83: this.setEventQueueJob,
|
@@ -158,6 +161,7 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
158
161
|
refresh_property_cache_job_1.RefreshPropertyCacheJob,
|
159
162
|
relationship_mapper_job_1.RelationshipMapperJob,
|
160
163
|
report_column_sync_job_1.ReportColumnSyncJob,
|
164
|
+
report_sheet_job_1.ReportSheetJob,
|
161
165
|
scheduled_event_job_1.ScheduledEventJob,
|
162
166
|
set_codefix_script_event_job_1.SetCodefixScriptEventJob,
|
163
167
|
set_event_queue_job_1.SetEventQueueJob,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/system/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAAoE;AACpE,mDAA+C;AAC/C,+DAAyD;AACzD,qEAA+D;AAC/D,iEAA4D;AAC5D,qDAAiD;AACjD,iEAA4D;AAC5D,uDAAkD;AAClD,uDAAmD;AACnD,uEAAiE;AACjE,iFAA2E;AAC3E,qFAA+E;AAC/E,2DAAsD;AACtD,mEAA8D;AAC9D,qEAAgE;AAChE,iEAA4D;AAC5D,yEAAoE;AACpE,iEAA4D;AAC5D,uDAAmD;AACnD,qEAAgE;AAChE,iFAA2E;AAC3E,mFAA6E;AAC7E,6EAAwE;AACxE,2EAAqE;AACrE,qEAAgE;AAChE,uFAAgF;AAChF,qEAA+D;AAC/D,yFAAkF;AAClF,6EAAuE;AACvE,6DAAwD;AACxD,6DAAwD;AACxD,iEAA2D;AAC3D,yEAAmE;AACnE,iFAA2E;AAC3E,qEAA+D;AAC/D,8EAA0E;AAQnE,IAAM,cAAc,GAApB,MAAM,cAAc;IAGvB,YACqB,mBAAwC,EACxC,SAAoB,EACpB,aAA4B,EAC5B,gBAAkC,EAClC,eAAgC,EAChC,UAAsB,EACtB,eAAgC,EAChC,UAAsB,EACtB,WAAwB,EACxB,iBAAoC,EACpC,sBAA8C,EAC9C,wBAAkD,EAClD,YAA0B,EAC1B,gBAAkC,EAClC,iBAAoC,EACpC,eAAgC,EAChC,mBAAwC,EACxC,eAAgC,EAChC,WAAwB,EACxB,iBAAoC,EACpC,sBAA8C,EAC9C,uBAAgD,EAChD,qBAA4C,EAC5C,mBAAwC,EACxC,iBAAoC,EACpC,wBAAkD,EAClD,gBAAkC,EAClC,yBAAoD,EACpD,oBAA0C,EAC1C,aAA4B,EAC5B,aAA4B,EAC5B,cAA8B,EAC9B,kBAAsC,EACtC,sBAA8C,EAC9C,gBAAkC;
|
1
|
+
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/system/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAAoE;AACpE,mDAA+C;AAC/C,+DAAyD;AACzD,qEAA+D;AAC/D,iEAA4D;AAC5D,qDAAiD;AACjD,iEAA4D;AAC5D,uDAAkD;AAClD,uDAAmD;AACnD,uEAAiE;AACjE,iFAA2E;AAC3E,qFAA+E;AAC/E,2DAAsD;AACtD,mEAA8D;AAC9D,qEAAgE;AAChE,iEAA4D;AAC5D,yEAAoE;AACpE,iEAA4D;AAC5D,uDAAmD;AACnD,qEAAgE;AAChE,iFAA2E;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AAC;IAMD,OAAO;QACH,kCAAe,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACJ,CAAA;AAjGY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;qCAKiC,2CAAmB;QAC7B,sBAAS;QACL,gCAAa;QACV,sCAAgB;QACjB,mCAAe;QACpB,wBAAU;QACL,mCAAe;QACpB,yBAAU;QACT,0BAAW;QACL,wCAAiB;QACZ,kDAAsB;QACpB,sDAAwB;QACpC,6BAAY;QACR,qCAAgB;QACf,uCAAiB;QACnB,mCAAe;QACX,2CAAmB;QACvB,mCAAe;QACnB,0BAAW;QACL,uCAAiB;QACZ,kDAAsB;QACrB,oDAAuB;QACzB,+CAAqB;QACvB,4CAAmB;QACxB,iCAAc;QACX,uCAAiB;QACV,uDAAwB;QAChC,sCAAgB;QACP,yDAAyB;QAC9B,8CAAoB;QAC3B,+BAAa;QACb,+BAAa;QACZ,kCAAc;QACV,0CAAkB;QACd,kDAAsB;QAC5B,sCAAgB;GAvC9C,cAAc,CAiG1B"}
|
@@ -15,6 +15,7 @@ export * from './mobile.validation.subscriber';
|
|
15
15
|
export * from './property.subscriber';
|
16
16
|
export * from './recurring.query.subscriber';
|
17
17
|
export * from './relationship.subscriber';
|
18
|
+
export * from './report.sheet.subscriber';
|
18
19
|
export * from './scheduled.event.subscriber';
|
19
20
|
export * from './sms.message.subscriber';
|
20
21
|
export * from './user.group.member.subscriber';
|
@@ -31,6 +31,7 @@ __exportStar(require("./mobile.validation.subscriber"), exports);
|
|
31
31
|
__exportStar(require("./property.subscriber"), exports);
|
32
32
|
__exportStar(require("./recurring.query.subscriber"), exports);
|
33
33
|
__exportStar(require("./relationship.subscriber"), exports);
|
34
|
+
__exportStar(require("./report.sheet.subscriber"), exports);
|
34
35
|
__exportStar(require("./scheduled.event.subscriber"), exports);
|
35
36
|
__exportStar(require("./sms.message.subscriber"), exports);
|
36
37
|
__exportStar(require("./user.group.member.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,4DAA0C;AAAA,+DAA6C;AAAA,sDAAoC;AAAA,uDAAqC;AAAA,6DAA2C;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,+DAA6C;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,wDAAsC;AAAA,0DAAwC;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,6DAA2C;AAAA,iEAA+C;AAAA,wDAAsC;AAAA,+DAA6C;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,2DAAyC;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+DAA4C"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { DataSource } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
3
|
+
import { ReportSheetEntity } from '../entities/report.sheet.entity';
|
4
|
+
import { ReportSheetJob } from '../jobs/report.sheet.job';
|
5
|
+
export declare class ReportSheetSubscriber extends CommonSubscriber<ReportSheetEntity> {
|
6
|
+
private readonly dataSource;
|
7
|
+
protected readonly entityJob: ReportSheetJob;
|
8
|
+
constructor(dataSource: DataSource, entityJob: ReportSheetJob);
|
9
|
+
listenTo(): typeof ReportSheetEntity;
|
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.ReportSheetSubscriber = void 0;
|
13
|
+
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
15
|
+
const report_sheet_entity_1 = require("../entities/report.sheet.entity");
|
16
|
+
const report_sheet_job_1 = require("../jobs/report.sheet.job");
|
17
|
+
let ReportSheetSubscriber = class ReportSheetSubscriber 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 report_sheet_entity_1.ReportSheetEntity;
|
26
|
+
}
|
27
|
+
};
|
28
|
+
exports.ReportSheetSubscriber = ReportSheetSubscriber;
|
29
|
+
exports.ReportSheetSubscriber = ReportSheetSubscriber = __decorate([
|
30
|
+
(0, typeorm_1.EventSubscriber)(),
|
31
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
32
|
+
report_sheet_job_1.ReportSheetJob])
|
33
|
+
], ReportSheetSubscriber);
|
34
|
+
//# sourceMappingURL=report.sheet.subscriber.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"report.sheet.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/report.sheet.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,gFAA4E;AAC5E,yEAAoE;AACpE,+DAA0D;AAGnD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,oCAAmC;IAC1E,YACqB,UAAsB,EACpB,SAAyB;QAE5C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACpB,cAAS,GAAT,SAAS,CAAgB;QAG5C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,uCAAiB,CAAC;IAC7B,CAAC;CACJ,CAAA;AAXY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,iCAAc;GAHvC,qBAAqB,CAWjC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicelabsco/nestjs-utility-services",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.123",
|
4
4
|
"description": "NestJS generic packages to support development",
|
5
5
|
"author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -83,6 +83,7 @@
|
|
83
83
|
"csurf": "^1.11.0",
|
84
84
|
"date-fns": "^2.30.0",
|
85
85
|
"dotenv": "^16.3.1",
|
86
|
+
"exceljs": "^4.4.0",
|
86
87
|
"express-http-context": "^1.2.4",
|
87
88
|
"express-rate-limit": "^7.0.1",
|
88
89
|
"handlebars": "^4.7.8",
|