@servicelabsco/nestjs-utility-services 1.2.122 → 1.2.124
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 +1 -3
- package/dist/app.controller.js.map +1 -1
- package/dist/common/libraries/date.util.d.ts +10 -0
- package/dist/common/libraries/date.util.js +40 -0
- package/dist/common/libraries/date.util.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/platformUtility/es6.classes.d.ts +1 -1
- package/dist/platformUtility/jobs/test.job.d.ts +5 -1
- package/dist/platformUtility/jobs/test.job.js +17 -3
- package/dist/platformUtility/jobs/test.job.js.map +1 -1
- 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 +31 -0
- package/dist/system/libraries/generate.downloadable.report.file.js +156 -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
@@ -53,11 +53,9 @@ let AppController = class AppController {
|
|
53
53
|
return this.queueService.getJobDetails(id);
|
54
54
|
}
|
55
55
|
async set(req) {
|
56
|
-
return this.
|
56
|
+
return this.testJob.dispatch(1);
|
57
57
|
}
|
58
58
|
async test() {
|
59
|
-
return this.auditService.isLocallyAuditEnabled();
|
60
|
-
return this.syncAllCodeJob.dispatch();
|
61
59
|
}
|
62
60
|
async pause(query) {
|
63
61
|
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;AAOjE,IAAM,aAAa,GAAnB,MAAM,aAAa;IACtB,YACqB,YAA0B,EACxB,OAAgB,EAChB,oBAA0C,EAC1C,WAAwB,EACxB,eAAgC,EAChC,UAAsB,EACtB,iBAAoC,EACpC,cAA8B,EAC9B,YAA0B;QAR5B,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,CAAY;QACtB,s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CAAC;IACD,WAAA,IAAA,cAAK,GAAE,CAAA;;;;0CAA6B;AAG3C;IADL,IAAA,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;;;;wCAmBf;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;;;;yCAGV;AAGK;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;wBAjFQ,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAG0B,4BAAY;QACf,kBAAO;QACM,8CAAoB;QAC7B,0BAAW;QACP,kCAAe;QACpB,wBAAU;QACH,wCAAiB;QACpB,kCAAc;QAChB,4BAAY;GAVxC,aAAa,CAkFzB"}
|
@@ -14,4 +14,14 @@ export declare class DateUtil {
|
|
14
14
|
static now(): number;
|
15
15
|
static getTimezoneDate(date?: Date, offsetMinutes?: number): string;
|
16
16
|
static getUtcDate(date?: Date, offsetMinutes?: number): string;
|
17
|
+
static addMonths(date?: Date, months?: number): Date;
|
18
|
+
static subMonths(date?: Date, months?: number): Date;
|
19
|
+
static subDays(date?: Date, days?: number): Date;
|
20
|
+
static startOfMonth(date?: Date): Date;
|
21
|
+
static startOfWeek(date?: Date): Date;
|
22
|
+
static endOfMonth(date?: Date): Date;
|
23
|
+
static endOfWeek(date?: Date): Date;
|
24
|
+
static endOfDay(date?: Date): Date;
|
25
|
+
static startOfDay(date?: Date): Date;
|
26
|
+
static getUtcTime(date?: Date): Date;
|
17
27
|
}
|
@@ -51,6 +51,46 @@ class DateUtil {
|
|
51
51
|
date = date instanceof Date ? date : new Date();
|
52
52
|
return this.getDateInFormat((0, date_fns_1.subMinutes)(date, offsetMinutes));
|
53
53
|
}
|
54
|
+
static addMonths(date, months = 1) {
|
55
|
+
date = date instanceof Date ? date : new Date();
|
56
|
+
return (0, date_fns_1.addMonths)(date, months);
|
57
|
+
}
|
58
|
+
static subMonths(date, months = 1) {
|
59
|
+
date = date instanceof Date ? date : new Date();
|
60
|
+
return (0, date_fns_1.subMonths)(date, months);
|
61
|
+
}
|
62
|
+
static subDays(date, days = 1) {
|
63
|
+
date = date instanceof Date ? date : new Date();
|
64
|
+
return (0, date_fns_1.subDays)(date, days);
|
65
|
+
}
|
66
|
+
static startOfMonth(date) {
|
67
|
+
date = date instanceof Date ? date : new Date();
|
68
|
+
return (0, date_fns_1.startOfMonth)(date);
|
69
|
+
}
|
70
|
+
static startOfWeek(date) {
|
71
|
+
date = date instanceof Date ? date : new Date();
|
72
|
+
return (0, date_fns_1.startOfWeek)(date, { weekStartsOn: 1 });
|
73
|
+
}
|
74
|
+
static endOfMonth(date) {
|
75
|
+
date = date instanceof Date ? date : new Date();
|
76
|
+
return (0, date_fns_1.endOfMonth)(date);
|
77
|
+
}
|
78
|
+
static endOfWeek(date) {
|
79
|
+
date = date instanceof Date ? date : new Date();
|
80
|
+
return (0, date_fns_1.endOfWeek)(date, { weekStartsOn: 1 });
|
81
|
+
}
|
82
|
+
static endOfDay(date) {
|
83
|
+
date = date instanceof Date ? date : new Date();
|
84
|
+
return (0, date_fns_1.endOfDay)(date);
|
85
|
+
}
|
86
|
+
static startOfDay(date) {
|
87
|
+
date = date instanceof Date ? date : new Date();
|
88
|
+
return (0, date_fns_1.startOfDay)(date);
|
89
|
+
}
|
90
|
+
static getUtcTime(date) {
|
91
|
+
date = date instanceof Date ? date : new Date();
|
92
|
+
return (0, date_fns_1.subMinutes)(date, 330);
|
93
|
+
}
|
54
94
|
}
|
55
95
|
exports.DateUtil = DateUtil;
|
56
96
|
DateUtil.dateFormat = 'yyyy-MM-dd';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"date.util.js","sourceRoot":"","sources":["../../../src/common/libraries/date.util.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"date.util.js","sourceRoot":"","sources":["../../../src/common/libraries/date.util.ts"],"names":[],"mappings":";;;AAAA,uCAgBkB;AAQlB,MAAa,QAAQ;IAcjB,MAAM,CAAC,WAAW;QACd,OAAO,IAAI,IAAI,EAAE,CAAC;IACtB,CAAC;IAUD,MAAM,CAAC,mBAAmB,CAAC,IAAW,EAAE,cAAuB;QAC3D,IAAI,GAAG,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;QAChD,cAAc,GAAG,cAAc,IAAI,IAAI,CAAC,cAAc,CAAC;QAEvD,OAAO,IAAA,iBAAM,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IACxC,CAAC;IAUD,MAAM,CAAC,eAAe,CAAC,IAAW,EAAE,UAAmB;QACnD,IAAI,GAAG,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;QAChD,UAAU,GAAG,UAAU,IAAI,IAAI,CAAC,UAAU,CAAC;QAE3C,OAAO,IAAA,iBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACpC,CAAC;IASD,MAAM,CAAC,gBAAgB,CAAC,IAAW;QAC/B,IAAI,GAAG,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;QAChD,OAAO,IAAA,iBAAM,EAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAC1C,CAAC;IAUD,MAAM,CAAC,iBAAiB,CAAC,OAAe,EAAE,IAAW;QACjD,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QAE1B,OAAO,IAAA,cAAG,E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RC;AA7RkB,mBAAU,GAAG,YAAY,CAAC;AAE1B,uBAAc,GAAG,qBAAqB,CAAC;AAEvC,oBAAW,GAAG,QAAQ,CAAC"}
|
@@ -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,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AAoB;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;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;A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,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"}
|
@@ -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"}
|
@@ -73,7 +73,7 @@ declare const es6Classes: {
|
|
73
73
|
jobs: (typeof TestJob | typeof LoadFailedBullJob | typeof ProcessSesDeliveryWebhookJob | typeof ProcessTrackingWebhookJob | typeof RecordWatcherJob | typeof ReloadPendingBullJob)[];
|
74
74
|
libraries: (typeof ProcessCommonMail | typeof ProcessSesMail | typeof ProcessSesRawMail | typeof ProcessSmtpMail | typeof ProcessAuditLogData | typeof CommonSqsPolling | typeof FileSystemUtility | typeof CreateEs6ClassesFile | typeof CreateEs6JobsFile | typeof CreateEntityConstantsFile | typeof CreateEs6ServiceFile | typeof CreateIndexFile | typeof ProcessKaleyraCallbackResponse | typeof ProcessKaleyraSms | typeof SetSmsMessage)[];
|
75
75
|
middlewares: (typeof MaintenanceMiddleware | typeof TrimPipe)[];
|
76
|
-
services: (typeof CacheService | typeof LocalPropertyService | typeof AwsConfigService | typeof SqsService | typeof QueueService | typeof
|
76
|
+
services: (typeof CacheService | typeof LocalPropertyService | typeof AwsConfigService | typeof SqsService | typeof QueueService | typeof SqlService | typeof MailService | typeof DynamoService | typeof AuditService | typeof MaintenanceService | typeof RemoteRequestService | typeof SesMailNotificationService | typeof AwsSecretService | typeof Es6JobsService | typeof FcmNotificationService | typeof ShutdownService | typeof SmsService | typeof StartupService | typeof Es6Service)[];
|
77
77
|
subscribers: (typeof BaseSubscriber)[];
|
78
78
|
};
|
79
79
|
export default es6Classes;
|
@@ -1,8 +1,12 @@
|
|
1
1
|
import { Job } from 'bullmq';
|
2
2
|
import { CommonJob } from './../../common/libraries/common.job';
|
3
3
|
import { QueueService } from './../services/queue.service';
|
4
|
+
import { SqlService } from '../services/sql.service';
|
5
|
+
import { UploadService } from '../../system/services/upload.service';
|
4
6
|
export declare class TestJob extends CommonJob {
|
5
7
|
protected readonly queueService: QueueService;
|
6
|
-
|
8
|
+
protected readonly uploadService: UploadService;
|
9
|
+
protected readonly sqlService: SqlService;
|
10
|
+
constructor(queueService: QueueService, uploadService: UploadService, sqlService: SqlService);
|
7
11
|
handle(data: any, job: Job): Promise<void>;
|
8
12
|
}
|
@@ -13,18 +13,32 @@ exports.TestJob = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
14
14
|
const common_job_1 = require("./../../common/libraries/common.job");
|
15
15
|
const queue_service_1 = require("./../services/queue.service");
|
16
|
+
const report_entity_1 = require("../../system/entities/report.entity");
|
17
|
+
const generate_downloadable_report_file_1 = require("../../system/libraries/generate.downloadable.report.file");
|
18
|
+
const sql_service_1 = require("../services/sql.service");
|
19
|
+
const upload_service_1 = require("../../system/services/upload.service");
|
16
20
|
let TestJob = class TestJob extends common_job_1.CommonJob {
|
17
|
-
constructor(queueService) {
|
21
|
+
constructor(queueService, uploadService, sqlService) {
|
18
22
|
super('ba4c3857dfa9feac842416d9c39d0edd');
|
19
23
|
this.queueService = queueService;
|
24
|
+
this.uploadService = uploadService;
|
25
|
+
this.sqlService = sqlService;
|
20
26
|
}
|
21
27
|
async handle(data, job) {
|
22
|
-
|
28
|
+
const report = await report_entity_1.ReportEntity.first(256);
|
29
|
+
const download = await new generate_downloadable_report_file_1.GenerateDownloadableReportFile(report, this.sqlService, this.uploadService).generate({
|
30
|
+
business_id: 3,
|
31
|
+
start_time: '2025-03-01 00:00:00',
|
32
|
+
end_time: '2025-03-02 00:00:00',
|
33
|
+
});
|
34
|
+
global.console.log('download', download);
|
23
35
|
}
|
24
36
|
};
|
25
37
|
exports.TestJob = TestJob;
|
26
38
|
exports.TestJob = TestJob = __decorate([
|
27
39
|
(0, common_1.Injectable)(),
|
28
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService
|
40
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
41
|
+
upload_service_1.UploadService,
|
42
|
+
sql_service_1.SqlService])
|
29
43
|
], TestJob);
|
30
44
|
//# sourceMappingURL=test.job.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"test.job.js","sourceRoot":"","sources":["../../../src/platformUtility/jobs/test.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,oEAAgE;AAChE,+DAA2D;
|
1
|
+
{"version":3,"file":"test.job.js","sourceRoot":"","sources":["../../../src/platformUtility/jobs/test.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,oEAAgE;AAChE,+DAA2D;AAC3D,uEAAmE;AACnE,gHAA0G;AAC1G,yDAAqD;AACrD,yEAAqE;AAG9D,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,sBAAS;IAGlC,YACuB,YAA0B,EAC1B,aAA4B,EAC5B,UAAsB;QAEzC,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAJvB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAa,GAAb,aAAa,CAAe;QAC5B,eAAU,GAAV,UAAU,CAAY;IAG7C,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAS,EAAE,GAAQ;QAC5B,MAAM,MAAM,GAAG,MAAM,4BAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC7C,MAAM,QAAQ,GAAG,MAAM,IAAI,kEAA8B,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC;YAC5G,WAAW,EAAE,CAAC;YACd,UAAU,EAAE,qBAAqB;YACjC,QAAQ,EAAE,qBAAqB;SAClC,CAAC,CAAC;QAEH,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC7C,CAAC;CACJ,CAAA;AApBY,0BAAO;kBAAP,OAAO;IADnB,IAAA,mBAAU,GAAE;qCAK4B,4BAAY;QACX,8BAAa;QAChB,wBAAU;GANpC,OAAO,CAoBnB"}
|
@@ -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,y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A,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,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BAC1B,yCAAkB;2CAAC;AAEk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AAE,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 SyncDynamoTables | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation
|
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 CodeEvaluator | typeof GetReportQuery | typeof GenerateDownloadableReportFile | typeof ExecuteCodeFix | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | 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;
|