@servicelabsco/nestjs-utility-services 1.2.132 → 1.2.134
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 +2 -3
- package/dist/app.controller.js +7 -31
- package/dist/app.controller.js.map +1 -1
- package/dist/app.module.js +2 -0
- package/dist/app.module.js.map +1 -1
- package/dist/auth/auth.module.js +1 -2
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/auth/services/access.service.d.ts +3 -1
- package/dist/auth/services/access.service.js +6 -1
- package/dist/auth/services/access.service.js.map +1 -1
- package/dist/auth/services/auth.service.d.ts +3 -1
- package/dist/auth/services/auth.service.js +4 -1
- package/dist/auth/services/auth.service.js.map +1 -1
- package/dist/auth/services/es6.service.d.ts +1 -7
- package/dist/auth/services/es6.service.js +1 -13
- package/dist/auth/services/es6.service.js.map +1 -1
- package/dist/auth/services/user.service.d.ts +3 -1
- package/dist/auth/services/user.service.js +4 -1
- package/dist/auth/services/user.service.js.map +1 -1
- package/dist/common/es6.classes.js +2 -0
- package/dist/common/es6.classes.js.map +1 -1
- package/dist/common/libraries/common.mongo.entity.d.ts +2 -1
- package/dist/common/libraries/common.mongo.entity.js +3 -2
- package/dist/common/libraries/common.mongo.entity.js.map +1 -1
- package/dist/common/libraries/common.service.d.ts +3 -0
- package/dist/common/libraries/common.service.js +10 -0
- package/dist/common/libraries/common.service.js.map +1 -0
- package/dist/common/libraries/common.subscriber.d.ts +2 -0
- package/dist/common/libraries/common.subscriber.js +16 -5
- package/dist/common/libraries/common.subscriber.js.map +1 -1
- package/dist/common/libraries/index.d.ts +1 -0
- package/dist/common/libraries/index.js +1 -0
- package/dist/common/libraries/index.js.map +1 -1
- package/dist/config/mongo.config.js +3 -6
- package/dist/config/mongo.config.js.map +1 -1
- package/dist/platformUtility/dtos/common.attributes.dto.d.ts +1 -0
- package/dist/platformUtility/dtos/common.attributes.dto.js.map +1 -1
- package/dist/platformUtility/es6.classes.d.ts +2 -2
- package/dist/platformUtility/services/cache.service.d.ts +3 -1
- package/dist/platformUtility/services/cache.service.js +4 -1
- package/dist/platformUtility/services/cache.service.js.map +1 -1
- package/dist/platformUtility/services/es6.service.d.ts +1 -27
- package/dist/platformUtility/services/es6.service.js +3 -55
- package/dist/platformUtility/services/es6.service.js.map +1 -1
- package/dist/platformUtility/services/queue.service.d.ts +3 -1
- package/dist/platformUtility/services/queue.service.js +4 -1
- package/dist/platformUtility/services/queue.service.js.map +1 -1
- package/dist/platformUtility/services/remote.request.service.d.ts +3 -1
- package/dist/platformUtility/services/remote.request.service.js +4 -1
- package/dist/platformUtility/services/remote.request.service.js.map +1 -1
- package/dist/platformUtility/services/sql.service.d.ts +3 -1
- package/dist/platformUtility/services/sql.service.js +4 -1
- package/dist/platformUtility/services/sql.service.js.map +1 -1
- package/dist/security/security.module.js +1 -3
- package/dist/security/security.module.js.map +1 -1
- package/dist/system/es6.classes.d.ts +7 -14
- package/dist/system/es6.classes.js +6 -22
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/index.d.ts +1 -1
- package/dist/system/index.js +1 -1
- package/dist/system/index.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/sync.all.code.job.d.ts +2 -2
- package/dist/system/jobs/sync.all.code.job.js +2 -3
- package/dist/system/jobs/sync.all.code.job.js.map +1 -1
- package/dist/system/jobs/test.mongo.job.d.ts +9 -0
- package/dist/system/jobs/test.mongo.job.js +30 -0
- package/dist/system/jobs/test.mongo.job.js.map +1 -0
- package/dist/system/libraries/business.rule.query.evaluator.d.ts +2 -2
- package/dist/system/libraries/business.rule.query.evaluator.js.map +1 -1
- package/dist/system/libraries/generate.downloadable.report.file.js.map +1 -1
- package/dist/system/mentities/index.d.ts +1 -0
- package/dist/system/{commands → mentities}/index.js +1 -9
- package/dist/system/mentities/index.js.map +1 -0
- package/dist/system/mentities/test.mentity.d.ts +7 -0
- package/dist/system/mentities/test.mentity.js +37 -0
- package/dist/system/mentities/test.mentity.js.map +1 -0
- package/dist/system/services/{common.service.d.ts → base.service.d.ts} +2 -2
- package/dist/system/services/{common.service.js → base.service.js} +7 -7
- package/dist/system/services/base.service.js.map +1 -0
- package/dist/system/services/business.rule.service.d.ts +5 -3
- package/dist/system/services/business.rule.service.js +6 -3
- package/dist/system/services/business.rule.service.js.map +1 -1
- package/dist/system/services/comment.service.d.ts +3 -1
- package/dist/system/services/comment.service.js +4 -1
- package/dist/system/services/comment.service.js.map +1 -1
- package/dist/system/services/document.service.d.ts +3 -1
- package/dist/system/services/document.service.js +6 -1
- package/dist/system/services/document.service.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/services/es6.service.d.ts +1 -41
- package/dist/system/services/es6.service.js +3 -83
- package/dist/system/services/es6.service.js.map +1 -1
- package/dist/system/services/index.d.ts +1 -1
- package/dist/system/services/index.js +1 -1
- package/dist/system/services/index.js.map +1 -1
- package/dist/system/services/property.service.d.ts +3 -1
- package/dist/system/services/property.service.js +4 -1
- package/dist/system/services/property.service.js.map +1 -1
- package/dist/system/services/upload.service.d.ts +3 -1
- package/dist/system/services/upload.service.js +4 -1
- package/dist/system/services/upload.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/test.mongo.subscriber.d.ts +6 -0
- package/dist/system/subscribers/test.mongo.subscriber.js +26 -0
- package/dist/system/subscribers/test.mongo.subscriber.js.map +1 -0
- package/dist/system/system.module.js +2 -3
- package/dist/system/system.module.js.map +1 -1
- package/package.json +2 -1
- package/dist/system/commands/db.scanner.command.d.ts +0 -30
- package/dist/system/commands/db.scanner.command.js +0 -286
- package/dist/system/commands/db.scanner.command.js.map +0 -1
- package/dist/system/commands/dynamo.scanner.command.d.ts +0 -8
- package/dist/system/commands/dynamo.scanner.command.js +0 -43
- package/dist/system/commands/dynamo.scanner.command.js.map +0 -1
- package/dist/system/commands/event.queue.command.d.ts +0 -16
- package/dist/system/commands/event.queue.command.js +0 -91
- package/dist/system/commands/event.queue.command.js.map +0 -1
- package/dist/system/commands/index.d.ts +0 -9
- package/dist/system/commands/index.js.map +0 -1
- package/dist/system/commands/jobs.scanner.command.d.ts +0 -8
- package/dist/system/commands/jobs.scanner.command.js +0 -47
- package/dist/system/commands/jobs.scanner.command.js.map +0 -1
- package/dist/system/commands/model.scanner.command.d.ts +0 -10
- package/dist/system/commands/model.scanner.command.js +0 -59
- package/dist/system/commands/model.scanner.command.js.map +0 -1
- package/dist/system/commands/report.scanner.command.d.ts +0 -8
- package/dist/system/commands/report.scanner.command.js +0 -50
- package/dist/system/commands/report.scanner.command.js.map +0 -1
- package/dist/system/commands/service.scanner.command.d.ts +0 -9
- package/dist/system/commands/service.scanner.command.js +0 -48
- package/dist/system/commands/service.scanner.command.js.map +0 -1
- package/dist/system/commands/ses.event.tracking.command.d.ts +0 -14
- package/dist/system/commands/ses.event.tracking.command.js +0 -75
- package/dist/system/commands/ses.event.tracking.command.js.map +0 -1
- package/dist/system/commands/sync.all.command.d.ts +0 -18
- package/dist/system/commands/sync.all.command.js +0 -76
- package/dist/system/commands/sync.all.command.js.map +0 -1
- package/dist/system/services/common.service.js.map +0 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
-
const path_1 = require("path");
|
3
2
|
require("dotenv/config");
|
3
|
+
const path_1 = require("path");
|
4
4
|
const dbConfig = {
|
5
5
|
name: 'mongodb',
|
6
6
|
type: 'mongodb',
|
@@ -8,17 +8,14 @@ const dbConfig = {
|
|
8
8
|
database: process.env.MONGO_DATABASE,
|
9
9
|
entities: [(0, path_1.join)(__dirname, '/../**/**/*.mentity.{ts,js}'), (0, path_1.join)(__dirname, '..', '..', 'node_modules/@servicelabsco/**/*.mentity.{ts,js}')],
|
10
10
|
subscribers: [
|
11
|
-
(0, path_1.join)(__dirname, '/../**/**/*.
|
12
|
-
(0, path_1.join)(__dirname, '..', '..', 'node_modules/@servicelabsco/**/*.
|
11
|
+
(0, path_1.join)(__dirname, '/../**/**/*.mongo.subscriber.{ts,js}'),
|
12
|
+
(0, path_1.join)(__dirname, '..', '..', 'node_modules/@servicelabsco/**/*.mongo.subscriber.{ts,js}'),
|
13
13
|
],
|
14
14
|
synchronize: false,
|
15
15
|
migrationsRun: false,
|
16
16
|
logging: 'all',
|
17
17
|
logger: 'file',
|
18
18
|
autoLoadEntities: true,
|
19
|
-
extra: {
|
20
|
-
charset: 'utf8_unicode_ci',
|
21
|
-
},
|
22
19
|
};
|
23
20
|
module.exports = dbConfig;
|
24
21
|
//# sourceMappingURL=mongo.config.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mongo.config.js","sourceRoot":"","sources":["../../src/config/mongo.config.ts"],"names":[],"mappings":";AACA,+BAA4B;
|
1
|
+
{"version":3,"file":"mongo.config.js","sourceRoot":"","sources":["../../src/config/mongo.config.ts"],"names":[],"mappings":";AACA,yBAAuB;AACvB,+BAA4B;AAG5B,MAAM,QAAQ,GAAyB;IACnC,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS;IAC1B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc;IACpC,QAAQ,EAAE,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,6BAA6B,CAAC,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,kDAAkD,CAAC,CAAC;IAC3I,WAAW,EAAE;QACT,IAAA,WAAI,EAAC,SAAS,EAAE,sCAAsC,CAAC;QACvD,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,2DAA2D,CAAC;KAC3F;IAED,WAAW,EAAE,KAAK;IAIlB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,MAAM;IACd,gBAAgB,EAAE,IAAI;CACzB,CAAC;AAEF,iBAAS,QAAQ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.attributes.dto.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/common.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAwD;AACxD,MAAa,mBAAmB;
|
1
|
+
{"version":3,"file":"common.attributes.dto.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/common.attributes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAwD;AACxD,MAAa,mBAAmB;CAoB/B;AApBD,kDAoBC;AAhBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;oDACM;AAKlB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACY;AAKxB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uDACS"}
|
@@ -71,9 +71,9 @@ declare const es6Classes: {
|
|
71
71
|
dtos: (typeof SourceColumnDto | typeof CommonAttributesDto | typeof AwsConfigDto | typeof JobPayloadDto | typeof QueueOptionsDto | typeof MailOptionsDto | typeof SmtpConfigDto | typeof RemoteRawResponseDto | typeof FcmResponseDto | typeof KaleyraCallbackPayloadDto | typeof PushNotificationResponseDto | typeof PushNotificationTemplateDto | typeof SetSmsPayloadDto | typeof SmsPayloadDto | typeof StringSearchDto)[];
|
72
72
|
entities: (typeof FailedBullJobEntity | typeof PendingBullJobEntity)[];
|
73
73
|
jobs: (typeof TestJob | typeof LoadFailedBullJob | typeof ProcessSesDeliveryWebhookJob | typeof ProcessTrackingWebhookJob | typeof RecordWatcherJob | typeof ReloadPendingBullJob)[];
|
74
|
-
libraries: (typeof
|
74
|
+
libraries: (typeof ProcessAuditLogData | typeof ProcessCommonMail | typeof ProcessSesMail | typeof ProcessSesRawMail | typeof ProcessSmtpMail | 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 SqlService | typeof CacheService | typeof AwsConfigService | typeof LocalPropertyService | typeof SqsService | typeof QueueService | typeof
|
76
|
+
services: (typeof SqlService | typeof CacheService | typeof AwsConfigService | typeof LocalPropertyService | typeof SqsService | typeof QueueService | typeof DynamoService | typeof AuditService | typeof MailService | typeof MaintenanceService | typeof RemoteRequestService | typeof SesMailNotificationService | typeof AwsSecretService | typeof Es6JobsService | typeof Es6Service | typeof FcmNotificationService | typeof ShutdownService | typeof SmsService | typeof StartupService)[];
|
77
77
|
subscribers: (typeof BaseSubscriber)[];
|
78
78
|
};
|
79
79
|
export default es6Classes;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { Cache } from 'cache-manager';
|
2
|
-
|
2
|
+
import { CommonService } from '../../common/libraries/common.service';
|
3
|
+
export declare class CacheService extends CommonService {
|
3
4
|
private cacheManager;
|
5
|
+
protected publicExposed: boolean;
|
4
6
|
constructor(cacheManager: Cache);
|
5
7
|
set(key: string, value: any, expiresAt?: Date): Promise<any>;
|
6
8
|
get(key: string, defaultValue?: any): Promise<any>;
|
@@ -18,9 +18,12 @@ const cache_manager_1 = require("@nestjs/cache-manager");
|
|
18
18
|
const common_1 = require("@nestjs/common");
|
19
19
|
const cache_manager_2 = require("cache-manager");
|
20
20
|
const date_fns_1 = require("date-fns");
|
21
|
-
|
21
|
+
const common_service_1 = require("../../common/libraries/common.service");
|
22
|
+
let CacheService = class CacheService extends common_service_1.CommonService {
|
22
23
|
constructor(cacheManager) {
|
24
|
+
super();
|
23
25
|
this.cacheManager = cacheManager;
|
26
|
+
this.publicExposed = true;
|
24
27
|
}
|
25
28
|
async set(key, value, expiresAt) {
|
26
29
|
key = `cache.${key}`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cache.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/cache.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsD;AACtD,2CAAoD;AACpD,iDAAsC;AACtC,uCAA+D;
|
1
|
+
{"version":3,"file":"cache.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/cache.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsD;AACtD,2CAAoD;AACpD,iDAAsC;AACtC,uCAA+D;AAC/D,0EAAsE;AAO/D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,8BAAa;IAQ3C,YAAmC,YAA2B;QAC1D,KAAK,EAAE,CAAC;QAD+B,iBAAY,GAAZ,YAAY,CAAO;QAPpD,kBAAa,GAAG,IAAI,CAAC;IAS/B,CAAC;IAQD,KAAK,CAAC,GAAG,CAAC,GAAW,EAAE,KAAU,EAAE,SAAgB;QAC/C,GAAG,GAAG,SAAS,GAAG,EAAE,CAAC;QAGrB,SAAS,GAAG,SAAS,IAAI,IAAA,oBAAS,EAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;QAGlD,MAAM,IAAI,GAAG;YACT,KAAK;YACL,UAAU,EAAE,SAAS;SACxB,CAAC;QAEF,MAAM,IAAI,GAAG,IAAA,mCAAwB,EAAC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;QAE7D,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAE7C,OAAO,KAAK,CAAC;IACjB,CAAC;IASD,KAAK,CAAC,GAAG,CAAC,GAAW,EAAE,eAAoB,IAAI;QAC3C,GAAG,GAAG,SAAS,GAAG,EAAE,CAAC;QAGrB,MAAM,IAAI,GAAQ,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAGnD,IAAI,CAAC,IAAI;YAAE,OAAO,YAAY,CAAC;QAG/B,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAG5C,IAAI,SAAS,GAAG,IAAI,IAAI,EAAE;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC;QAG9C,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAEvB,OAAO,YAAY,CAAC;IACxB,CAAC;IAOD,KAAK,CAAC,MAAM,CAAC,GAAW;QACpB,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACrC,CAAC;CACJ,CAAA;AAzEY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,mBAAU,GAAE;IASI,WAAA,IAAA,eAAM,EAAC,6BAAa,CAAC,CAAA;yDAAuB,qBAAK,oBAAL,qBAAK;GARrD,YAAY,CAyExB"}
|
@@ -1,40 +1,14 @@
|
|
1
|
-
import { AuditService } from './audit.service';
|
2
|
-
import { AwsConfigService } from './aws.config.service';
|
3
|
-
import { AwsSecretService } from './aws.secret.service';
|
4
1
|
import { CacheService } from './cache.service';
|
5
|
-
import { DynamoService } from './dynamo.service';
|
6
|
-
import { FcmNotificationService } from './fcm.notification.service';
|
7
|
-
import { LocalPropertyService } from './local.property.service';
|
8
|
-
import { MailService } from './mail.service';
|
9
|
-
import { MaintenanceService } from './maintenance.service';
|
10
2
|
import { QueueService } from './queue.service';
|
11
3
|
import { RemoteRequestService } from './remote.request.service';
|
12
|
-
import { SesMailNotificationService } from './ses.mail.notification.service';
|
13
|
-
import { ShutdownService } from './shutdown.service';
|
14
|
-
import { SmsService } from './sms.service';
|
15
4
|
import { SqlService } from './sql.service';
|
16
|
-
import { SqsService } from './sqs.service';
|
17
|
-
import { StartupService } from './startup.service';
|
18
5
|
export declare class Es6Service {
|
19
|
-
private readonly auditService;
|
20
|
-
private readonly awsConfigService;
|
21
|
-
private readonly awsSecretService;
|
22
6
|
private readonly cacheService;
|
23
|
-
private readonly dynamoService;
|
24
|
-
private readonly fcmNotificationService;
|
25
|
-
private readonly localPropertyService;
|
26
|
-
private readonly mailService;
|
27
|
-
private readonly maintenanceService;
|
28
7
|
private readonly queueService;
|
29
8
|
private readonly remoteRequestService;
|
30
|
-
private readonly sesMailNotificationService;
|
31
|
-
private readonly shutdownService;
|
32
|
-
private readonly smsService;
|
33
9
|
private readonly sqlService;
|
34
|
-
private readonly sqsService;
|
35
|
-
private readonly startupService;
|
36
10
|
private services;
|
37
|
-
constructor(
|
11
|
+
constructor(cacheService: CacheService, queueService: QueueService, remoteRequestService: RemoteRequestService, sqlService: SqlService);
|
38
12
|
alignServices(): void;
|
39
13
|
setServices(): void;
|
40
14
|
}
|
@@ -11,66 +11,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.Es6Service = void 0;
|
13
13
|
const common_1 = require("@nestjs/common");
|
14
|
-
const audit_service_1 = require("./audit.service");
|
15
|
-
const aws_config_service_1 = require("./aws.config.service");
|
16
|
-
const aws_secret_service_1 = require("./aws.secret.service");
|
17
14
|
const cache_service_1 = require("./cache.service");
|
18
|
-
const dynamo_service_1 = require("./dynamo.service");
|
19
|
-
const fcm_notification_service_1 = require("./fcm.notification.service");
|
20
|
-
const local_property_service_1 = require("./local.property.service");
|
21
|
-
const mail_service_1 = require("./mail.service");
|
22
|
-
const maintenance_service_1 = require("./maintenance.service");
|
23
15
|
const queue_service_1 = require("./queue.service");
|
24
16
|
const remote_request_service_1 = require("./remote.request.service");
|
25
|
-
const ses_mail_notification_service_1 = require("./ses.mail.notification.service");
|
26
|
-
const shutdown_service_1 = require("./shutdown.service");
|
27
|
-
const sms_service_1 = require("./sms.service");
|
28
17
|
const sql_service_1 = require("./sql.service");
|
29
|
-
const sqs_service_1 = require("./sqs.service");
|
30
|
-
const startup_service_1 = require("./startup.service");
|
31
18
|
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
32
19
|
let Es6Service = class Es6Service {
|
33
|
-
constructor(
|
34
|
-
this.auditService = auditService;
|
35
|
-
this.awsConfigService = awsConfigService;
|
36
|
-
this.awsSecretService = awsSecretService;
|
20
|
+
constructor(cacheService, queueService, remoteRequestService, sqlService) {
|
37
21
|
this.cacheService = cacheService;
|
38
|
-
this.dynamoService = dynamoService;
|
39
|
-
this.fcmNotificationService = fcmNotificationService;
|
40
|
-
this.localPropertyService = localPropertyService;
|
41
|
-
this.mailService = mailService;
|
42
|
-
this.maintenanceService = maintenanceService;
|
43
22
|
this.queueService = queueService;
|
44
23
|
this.remoteRequestService = remoteRequestService;
|
45
|
-
this.sesMailNotificationService = sesMailNotificationService;
|
46
|
-
this.shutdownService = shutdownService;
|
47
|
-
this.smsService = smsService;
|
48
24
|
this.sqlService = sqlService;
|
49
|
-
this.sqsService = sqsService;
|
50
|
-
this.startupService = startupService;
|
51
25
|
this.services = {};
|
52
26
|
this.alignServices();
|
53
27
|
this.setServices();
|
54
28
|
}
|
55
29
|
alignServices() {
|
56
30
|
this.services = {
|
57
|
-
d731a59c12cff5537a50166708d3dfc5: this.auditService,
|
58
|
-
'7e5dd22ae0b383d145c7d5a03619fc23': this.awsConfigService,
|
59
|
-
f22e75c587fdcef95a717a174e9c1fff: this.awsSecretService,
|
60
31
|
'09adb9a5b3f5f7c6dd8a1eafa2ee46f6': this.cacheService,
|
61
|
-
'0a4c64729880bc402002077a827444be': this.dynamoService,
|
62
|
-
'4d8ebe2d62cdddc60a0403b8d53df7ba': this.fcmNotificationService,
|
63
|
-
'7b40ef654d8b44e65916889e026e85fc': this.localPropertyService,
|
64
|
-
'3ba8c6699b82bc963c51729a7d92b058': this.mailService,
|
65
|
-
ddff185ebd9f400c84d979e01a220cd6: this.maintenanceService,
|
66
32
|
'19107bcf740074f082c1a4a7e7bfb4ad': this.queueService,
|
67
33
|
cfdc7be1c75db5df82c2d76c97e8cd74: this.remoteRequestService,
|
68
|
-
'35ef3691f0d978be1d5fc781e94f4dde': this.sesMailNotificationService,
|
69
|
-
ceb581af2898a55194455338161b0150: this.shutdownService,
|
70
|
-
'7ea68a1012da19c1820bc7ea1eeefabc': this.smsService,
|
71
34
|
'4f5f72e711d6993e0c7cf4188fae144f': this.sqlService,
|
72
|
-
'835ffa86adfc709b8313dbb265f6aa4d': this.sqsService,
|
73
|
-
'34953da41b23a7fe11af2c0c69043a96': this.startupService,
|
74
35
|
};
|
75
36
|
}
|
76
37
|
setServices() {
|
@@ -80,22 +41,9 @@ let Es6Service = class Es6Service {
|
|
80
41
|
exports.Es6Service = Es6Service;
|
81
42
|
exports.Es6Service = Es6Service = __decorate([
|
82
43
|
(0, common_1.Injectable)(),
|
83
|
-
__metadata("design:paramtypes", [
|
84
|
-
aws_config_service_1.AwsConfigService,
|
85
|
-
aws_secret_service_1.AwsSecretService,
|
86
|
-
cache_service_1.CacheService,
|
87
|
-
dynamo_service_1.DynamoService,
|
88
|
-
fcm_notification_service_1.FcmNotificationService,
|
89
|
-
local_property_service_1.LocalPropertyService,
|
90
|
-
mail_service_1.MailService,
|
91
|
-
maintenance_service_1.MaintenanceService,
|
44
|
+
__metadata("design:paramtypes", [cache_service_1.CacheService,
|
92
45
|
queue_service_1.QueueService,
|
93
46
|
remote_request_service_1.RemoteRequestService,
|
94
|
-
|
95
|
-
shutdown_service_1.ShutdownService,
|
96
|
-
sms_service_1.SmsService,
|
97
|
-
sql_service_1.SqlService,
|
98
|
-
sqs_service_1.SqsService,
|
99
|
-
startup_service_1.StartupService])
|
47
|
+
sql_service_1.SqlService])
|
100
48
|
], Es6Service);
|
101
49
|
//# sourceMappingURL=es6.service.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/es6.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAA+C;AAC/C,
|
1
|
+
{"version":3,"file":"es6.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/es6.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAA+C;AAC/C,mDAA+C;AAC/C,qEAAgE;AAChE,+CAA2C;AAC3C,8EAA0E;AAQnE,IAAM,UAAU,GAAhB,MAAM,UAAU;IAGnB,YACqB,YAA0B,EAC1B,YAA0B,EAC1B,oBAA0C,EAC1C,UAAsB;QAHtB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,eAAU,GAAV,UAAU,CAAY;QANnC,aAAQ,GAAG,EAAE,CAAC;QAQlB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,EAAE,CAAC;IACvB,CAAC;IAMD,aAAa;QACT,IAAI,CAAC,QAAQ,GAAG;YACZ,kCAAkC,EAAE,IAAI,CAAC,YAAY;YACrD,kCAAkC,EAAE,IAAI,CAAC,YAAY;YACrD,gCAAgC,EAAE,IAAI,CAAC,oBAAoB;YAC3D,kCAAkC,EAAE,IAAI,CAAC,UAAU;SACtD,CAAC;IACN,CAAC;IAMD,WAAW;QACP,kCAAe,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;CACJ,CAAA;AAjCY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;qCAK0B,4BAAY;QACZ,4BAAY;QACJ,6CAAoB;QAC9B,wBAAU;GAPlC,UAAU,CAiCtB"}
|
@@ -6,12 +6,14 @@ import { PropertyService } from '../../system/services/property.service';
|
|
6
6
|
import { QueueOptionsDto } from '../dtos/queue.options.dto';
|
7
7
|
import { LocalPropertyService } from './local.property.service';
|
8
8
|
import { SqsService } from './sqs.service';
|
9
|
-
|
9
|
+
import { CommonService } from '../../common/libraries/common.service';
|
10
|
+
export declare class QueueService extends CommonService {
|
10
11
|
private readonly businessQueue;
|
11
12
|
private readonly localPropertyService;
|
12
13
|
readonly sqsService: SqsService;
|
13
14
|
readonly propertyService: PropertyService;
|
14
15
|
readonly configService: ConfigService;
|
16
|
+
protected publicExposed: boolean;
|
15
17
|
workerInstance: any;
|
16
18
|
data: any;
|
17
19
|
queueName: string;
|
@@ -23,14 +23,17 @@ const property_service_1 = require("../../system/services/property.service");
|
|
23
23
|
const operation_exception_1 = require("./../../common/exceptions/operation.exception");
|
24
24
|
const local_property_service_1 = require("./local.property.service");
|
25
25
|
const sqs_service_1 = require("./sqs.service");
|
26
|
+
const common_service_1 = require("../../common/libraries/common.service");
|
26
27
|
const queueName = process.env.BULL_QUEUE_NAME;
|
27
|
-
let QueueService = class QueueService {
|
28
|
+
let QueueService = class QueueService extends common_service_1.CommonService {
|
28
29
|
constructor(businessQueue, localPropertyService, sqsService, propertyService, configService) {
|
30
|
+
super();
|
29
31
|
this.businessQueue = businessQueue;
|
30
32
|
this.localPropertyService = localPropertyService;
|
31
33
|
this.sqsService = sqsService;
|
32
34
|
this.propertyService = propertyService;
|
33
35
|
this.configService = configService;
|
36
|
+
this.publicExposed = true;
|
34
37
|
this.data = {};
|
35
38
|
this.queueName = 'generic.job.trigger';
|
36
39
|
this.logger = new common_1.Logger('EventQueueManager');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queue.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/queue.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA6C;AAC7C,2CAAoD;AACpD,2CAA+C;AAC/C,mCAAoC;AACpC,yBAAuB;AACvB,gEAA4D;AAC5D,6EAAyE;AAEzE,uFAAmF;AACnF,qEAAgE;AAChE,+CAA2C;
|
1
|
+
{"version":3,"file":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KAAK,CAAC,EAAE,CAAC;gBACX,IAAI,CAAC,IAAI,CAAC,WAAW;oBAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;gBACrF,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;YAC5B,CAAC;iBAAM,CAAC;gBACJ,IAAI,IAAI,CAAC,WAAW;oBAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;gBACxF,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;YAC7B,CAAC;QACL,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IAClB,CAAC;CACJ,CAAA;AAhWY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,mBAAU,GAAE;IAuDJ,WAAA,IAAA,oBAAW,EAAC,SAAS,CAAC,CAAA;qCAAiC,cAAK;QACtB,6CAAoB;QAC/B,wBAAU;QACL,kCAAe;QACjB,sBAAa;GA1DvC,YAAY,CAgWxB"}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { PropertyService } from '../../system/services/property.service';
|
2
2
|
import { RemoteRawResponseDto } from '../dtos/remote.raw.response.dto';
|
3
|
-
|
3
|
+
import { CommonService } from '../../common/libraries/common.service';
|
4
|
+
export declare class RemoteRequestService extends CommonService {
|
4
5
|
private readonly propertyService;
|
6
|
+
protected publicExposed: boolean;
|
5
7
|
constructor(propertyService: PropertyService);
|
6
8
|
sendThroughAxios(options: any): Promise<any>;
|
7
9
|
getRawResponse(options: any): Promise<RemoteRawResponseDto>;
|
@@ -14,9 +14,12 @@ const common_1 = require("@nestjs/common");
|
|
14
14
|
const axios_1 = require("axios");
|
15
15
|
const operation_exception_1 = require("../../common/exceptions/operation.exception");
|
16
16
|
const property_service_1 = require("../../system/services/property.service");
|
17
|
-
|
17
|
+
const common_service_1 = require("../../common/libraries/common.service");
|
18
|
+
let RemoteRequestService = class RemoteRequestService extends common_service_1.CommonService {
|
18
19
|
constructor(propertyService) {
|
20
|
+
super();
|
19
21
|
this.propertyService = propertyService;
|
22
|
+
this.publicExposed = true;
|
20
23
|
}
|
21
24
|
async sendThroughAxios(options) {
|
22
25
|
return new Promise((resolve, reject) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"remote.request.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/remote.request.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,iCAA0B;AAC1B,qFAAiF;AACjF,6EAAyE;
|
1
|
+
{"version":3,"file":"remote.request.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/remote.request.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,iCAA0B;AAC1B,qFAAiF;AACjF,6EAAyE;AAEzE,0EAAsE;AAQ/D,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,8BAAa;IAGnD,YAA6B,eAAgC;QACzD,KAAK,EAAE,CAAC;QADiB,oBAAe,GAAf,eAAe,CAAiB;QAFnD,kBAAa,GAAG,IAAI,CAAC;IAI/B,CAAC;IAQD,KAAK,CAAC,gBAAgB,CAAC,OAAY;QAC/B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACnC,IAAA,eAAK,EAAC,OAAO,CAAC;iBACT,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;gBACf,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC5B,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;gBACb,MAAM,CAAC,KAAK,CAAC,CAAC;YAClB,CAAC,CAAC,CAAC;QACX,CAAC,CAAC,CAAC;IACP,CAAC;IAQD,KAAK,CAAC,cAAc,CAAC,OAAY;QAC7B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACnC,IAAA,eAAK,EAAC,OAAO,CAAC;iBACT,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;gBACf,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;YAC3G,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;gBACb,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;YACjI,CAAC,CAAC,CAAC;QACX,CAAC,CAAC,CAAC;IACP,CAAC;IAQD,KAAK,CAAC,gBAAgB,CAAC,IAAS;QAC5B,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAC/D,IAAI,CAAC,GAAG;YAAE,MAAM,IAAI,wCAAkB,CAAC,6BAA6B,CAAC,CAAC;QAEtE,MAAM,OAAO,GAAQ;YACjB,MAAM,EAAE,MAAM;YACd,GAAG;YACH,IAAI;SACP,CAAC;QAEF,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;CACJ,CAAA;AA7DY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAIqC,kCAAe;GAHpD,oBAAoB,CA6DhC"}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { DataSource } from 'typeorm';
|
2
|
-
|
2
|
+
import { CommonService } from '../../common/libraries/common.service';
|
3
|
+
export declare class SqlService extends CommonService {
|
3
4
|
private readonly connection;
|
4
5
|
private readonly readReplica;
|
6
|
+
protected publicExposed: boolean;
|
5
7
|
constructor(connection: DataSource, readReplica: DataSource);
|
6
8
|
sql(query: string): Promise<any>;
|
7
9
|
read(query: string): Promise<any>;
|
@@ -19,10 +19,13 @@ const Sentry = require("@sentry/node");
|
|
19
19
|
const class_transformer_1 = require("class-transformer");
|
20
20
|
const typeorm_2 = require("typeorm");
|
21
21
|
const operation_exception_1 = require("../../common/exceptions/operation.exception");
|
22
|
-
|
22
|
+
const common_service_1 = require("../../common/libraries/common.service");
|
23
|
+
let SqlService = class SqlService extends common_service_1.CommonService {
|
23
24
|
constructor(connection, readReplica) {
|
25
|
+
super();
|
24
26
|
this.connection = connection;
|
25
27
|
this.readReplica = readReplica;
|
28
|
+
this.publicExposed = true;
|
26
29
|
}
|
27
30
|
async sql(query) {
|
28
31
|
let result;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sql.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/sql.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAAmD;AACnD,uCAAuC;AACvC,yDAAoD;AACpD,qCAAqC;AACrC,qFAAiF;
|
1
|
+
{"version":3,"file":"sql.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/sql.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAAmD;AACnD,uCAAuC;AACvC,yDAAoD;AACpD,qCAAqC;AACrC,qFAAiF;AACjF,0EAAsE;AAG/D,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,8BAAa;IAGzC,YAEI,UAAuC,EAGvC,WAAwC;QAExC,KAAK,EAAE,CAAC;QALS,eAAU,GAAV,UAAU,CAAY;QAGtB,gBAAW,GAAX,WAAW,CAAY;QAPlC,kBAAa,GAAG,IAAI,CAAC;IAU/B,CAAC;IAQD,KAAK,CAAC,GAAG,CAAC,KAAa;QACnB,IAAI,MAAM,CAAC;QACX,IAAI,CAAC;YACD,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAChD,CAAC;QAAC,OAAO,KAAK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AAC,MAAM,CAAC,CAAA;qCAFI,oBAAU;QAGT,oBAAU;GARnC,UAAU,CA8ItB"}
|
@@ -8,14 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
9
|
exports.SecurityModule = void 0;
|
10
10
|
const common_1 = require("@nestjs/common");
|
11
|
-
const typeorm_1 = require("@nestjs/typeorm");
|
12
|
-
const es6_classes_1 = require("./es6.classes");
|
13
11
|
let SecurityModule = class SecurityModule {
|
14
12
|
};
|
15
13
|
exports.SecurityModule = SecurityModule;
|
16
14
|
exports.SecurityModule = SecurityModule = __decorate([
|
17
15
|
(0, common_1.Module)({
|
18
|
-
imports: [
|
16
|
+
imports: [],
|
19
17
|
})
|
20
18
|
], SecurityModule);
|
21
19
|
//# sourceMappingURL=security.module.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"security.module.js","sourceRoot":"","sources":["../../src/security/security.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;
|
1
|
+
{"version":3,"file":"security.module.js","sourceRoot":"","sources":["../../src/security/security.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAKjC,IAAM,cAAc,GAApB,MAAM,cAAc;CAAG,CAAA;AAAjB,wCAAc;yBAAd,cAAc;IAH1B,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE,EAAE;KACd,CAAC;GACW,cAAc,CAAG"}
|
@@ -1,12 +1,3 @@
|
|
1
|
-
import { DbScannerCommand } from './commands/db.scanner.command';
|
2
|
-
import { DynamoScannerCommand } from './commands/dynamo.scanner.command';
|
3
|
-
import { EventQueueCommand } from './commands/event.queue.command';
|
4
|
-
import { JobsScannerCommand } from './commands/jobs.scanner.command';
|
5
|
-
import { ModelScannerCommand } from './commands/model.scanner.command';
|
6
|
-
import { ReportScannerCommand } from './commands/report.scanner.command';
|
7
|
-
import { ServiceScannerCommand } from './commands/service.scanner.command';
|
8
|
-
import { SesEventTrackingCommand } from './commands/ses.event.tracking.command';
|
9
|
-
import { SyncAllCommand } from './commands/sync.all.command';
|
10
1
|
import { BaseController } from './controllers/base.controller';
|
11
2
|
import { DataController } from './controllers/data.controller';
|
12
3
|
import { FormController } from './controllers/form.controller';
|
@@ -127,6 +118,7 @@ import { SetScheduledEventJob } from './jobs/set.scheduled.event.job';
|
|
127
118
|
import { SmsMessageJob } from './jobs/sms.message.job';
|
128
119
|
import { SqsPollingJob } from './jobs/sqs.polling.job';
|
129
120
|
import { SyncAllCodeJob } from './jobs/sync.all.code.job';
|
121
|
+
import { TestMongoJob } from './jobs/test.mongo.job';
|
130
122
|
import { UserGroupMemberJob } from './jobs/user.group.member.job';
|
131
123
|
import { UserGroupPermissionJob } from './jobs/user.group.permission.job';
|
132
124
|
import { UserGroupRoleJob } from './jobs/user.group.role.job';
|
@@ -141,15 +133,16 @@ import { ModelSync } from './libraries/model.sync';
|
|
141
133
|
import { ProcessMenuCreation } from './libraries/process.menu.creation';
|
142
134
|
import { SecurityRuleEvaluator } from './libraries/security.rule.evaluator';
|
143
135
|
import { SyncDynamoTables } from './libraries/sync.dynamo.tables';
|
136
|
+
import { TestMentity } from './mentities/test.mentity';
|
144
137
|
import { MenuListModifier } from './modifiers/menu.list.modifier';
|
145
138
|
import { ModuleListModifier } from './modifiers/module.list.modifier';
|
146
139
|
import { AwsS3Service } from './services/aws.s3.service';
|
140
|
+
import { BaseService } from './services/base.service';
|
147
141
|
import { BusinessRuleService } from './services/business.rule.service';
|
148
142
|
import { ClientCredentialService } from './services/client.credential.service';
|
149
143
|
import { ClientScriptService } from './services/client.script.service';
|
150
144
|
import { ColumnService } from './services/column.service';
|
151
145
|
import { CommentService } from './services/comment.service';
|
152
|
-
import { CommonService } from './services/common.service';
|
153
146
|
import { DocumentService } from './services/document.service';
|
154
147
|
import { Es6JobsService } from './services/es6.jobs.service';
|
155
148
|
import { Es6Service } from './services/es6.service';
|
@@ -194,15 +187,15 @@ import { UserGroupMemberSubscriber } from './subscribers/user.group.member.subsc
|
|
194
187
|
import { UserGroupPermissionSubscriber } from './subscribers/user.group.permission.subscriber';
|
195
188
|
import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
|
196
189
|
declare const es6Classes: {
|
197
|
-
commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SesEventTrackingCommand | typeof SyncAllCommand)[];
|
198
190
|
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
199
191
|
dtos: (typeof ReportSheetAttributesDto | 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)[];
|
200
192
|
entities: (typeof LookupTypeEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ColumnDefinitionEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof SystemScriptEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof ColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportFilterEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportSheetEntity | 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 ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
201
193
|
interceptors: (typeof SentryInterceptor)[];
|
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
|
194
|
+
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 TestMongoJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
195
|
+
libraries: (typeof CodeEvaluator | typeof GetReportQuery | typeof GenerateDownloadableReportFile | typeof ExecuteCodeFix | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator | typeof ProcessMenuCreation | typeof SyncDynamoTables)[];
|
196
|
+
mentities: (typeof TestMentity)[];
|
204
197
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
205
|
-
services: (typeof PropertyService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof
|
198
|
+
services: (typeof PropertyService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof BaseService | typeof EventDetailService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof ClientCredentialService | typeof EventQueueService | typeof ColumnService | typeof DocumentService | typeof CommentService | typeof Es6JobsService | typeof Es6Service | typeof InternalServerConnectService | typeof MailValidationService | typeof MobileValidationService)[];
|
206
199
|
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)[];
|
207
200
|
};
|
208
201
|
export default es6Classes;
|
@@ -1,14 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const db_scanner_command_1 = require("./commands/db.scanner.command");
|
4
|
-
const dynamo_scanner_command_1 = require("./commands/dynamo.scanner.command");
|
5
|
-
const event_queue_command_1 = require("./commands/event.queue.command");
|
6
|
-
const jobs_scanner_command_1 = require("./commands/jobs.scanner.command");
|
7
|
-
const model_scanner_command_1 = require("./commands/model.scanner.command");
|
8
|
-
const report_scanner_command_1 = require("./commands/report.scanner.command");
|
9
|
-
const service_scanner_command_1 = require("./commands/service.scanner.command");
|
10
|
-
const ses_event_tracking_command_1 = require("./commands/ses.event.tracking.command");
|
11
|
-
const sync_all_command_1 = require("./commands/sync.all.command");
|
12
3
|
const base_controller_1 = require("./controllers/base.controller");
|
13
4
|
const data_controller_1 = require("./controllers/data.controller");
|
14
5
|
const form_controller_1 = require("./controllers/form.controller");
|
@@ -150,6 +141,7 @@ const set_scheduled_event_job_1 = require("./jobs/set.scheduled.event.job");
|
|
150
141
|
const sms_message_job_1 = require("./jobs/sms.message.job");
|
151
142
|
const sqs_polling_job_1 = require("./jobs/sqs.polling.job");
|
152
143
|
const sync_all_code_job_1 = require("./jobs/sync.all.code.job");
|
144
|
+
const test_mongo_job_1 = require("./jobs/test.mongo.job");
|
153
145
|
const user_group_member_job_1 = require("./jobs/user.group.member.job");
|
154
146
|
const user_group_permission_job_1 = require("./jobs/user.group.permission.job");
|
155
147
|
const user_group_role_job_1 = require("./jobs/user.group.role.job");
|
@@ -164,15 +156,16 @@ const model_sync_1 = require("./libraries/model.sync");
|
|
164
156
|
const process_menu_creation_1 = require("./libraries/process.menu.creation");
|
165
157
|
const security_rule_evaluator_1 = require("./libraries/security.rule.evaluator");
|
166
158
|
const sync_dynamo_tables_1 = require("./libraries/sync.dynamo.tables");
|
159
|
+
const test_mentity_1 = require("./mentities/test.mentity");
|
167
160
|
const menu_list_modifier_1 = require("./modifiers/menu.list.modifier");
|
168
161
|
const module_list_modifier_1 = require("./modifiers/module.list.modifier");
|
169
162
|
const aws_s3_service_1 = require("./services/aws.s3.service");
|
163
|
+
const base_service_1 = require("./services/base.service");
|
170
164
|
const business_rule_service_1 = require("./services/business.rule.service");
|
171
165
|
const client_credential_service_1 = require("./services/client.credential.service");
|
172
166
|
const client_script_service_1 = require("./services/client.script.service");
|
173
167
|
const column_service_1 = require("./services/column.service");
|
174
168
|
const comment_service_1 = require("./services/comment.service");
|
175
|
-
const common_service_1 = require("./services/common.service");
|
176
169
|
const document_service_1 = require("./services/document.service");
|
177
170
|
const es6_jobs_service_1 = require("./services/es6.jobs.service");
|
178
171
|
const es6_service_1 = require("./services/es6.service");
|
@@ -217,17 +210,6 @@ const user_group_member_subscriber_1 = require("./subscribers/user.group.member.
|
|
217
210
|
const user_group_permission_subscriber_1 = require("./subscribers/user.group.permission.subscriber");
|
218
211
|
const user_group_role_subscriber_1 = require("./subscribers/user.group.role.subscriber");
|
219
212
|
const es6Classes = {
|
220
|
-
commands: [
|
221
|
-
db_scanner_command_1.DbScannerCommand,
|
222
|
-
dynamo_scanner_command_1.DynamoScannerCommand,
|
223
|
-
event_queue_command_1.EventQueueCommand,
|
224
|
-
jobs_scanner_command_1.JobsScannerCommand,
|
225
|
-
model_scanner_command_1.ModelScannerCommand,
|
226
|
-
report_scanner_command_1.ReportScannerCommand,
|
227
|
-
service_scanner_command_1.ServiceScannerCommand,
|
228
|
-
ses_event_tracking_command_1.SesEventTrackingCommand,
|
229
|
-
sync_all_command_1.SyncAllCommand,
|
230
|
-
],
|
231
213
|
controllers: [
|
232
214
|
base_controller_1.BaseController,
|
233
215
|
data_controller_1.DataController,
|
@@ -376,6 +358,7 @@ const es6Classes = {
|
|
376
358
|
sms_message_job_1.SmsMessageJob,
|
377
359
|
sqs_polling_job_1.SqsPollingJob,
|
378
360
|
sync_all_code_job_1.SyncAllCodeJob,
|
361
|
+
test_mongo_job_1.TestMongoJob,
|
379
362
|
user_group_member_job_1.UserGroupMemberJob,
|
380
363
|
user_group_permission_job_1.UserGroupPermissionJob,
|
381
364
|
user_group_role_job_1.UserGroupRoleJob,
|
@@ -393,15 +376,16 @@ const es6Classes = {
|
|
393
376
|
security_rule_evaluator_1.SecurityRuleEvaluator,
|
394
377
|
sync_dynamo_tables_1.SyncDynamoTables,
|
395
378
|
],
|
379
|
+
mentities: [test_mentity_1.TestMentity],
|
396
380
|
modifiers: [menu_list_modifier_1.MenuListModifier, module_list_modifier_1.ModuleListModifier],
|
397
381
|
services: [
|
398
382
|
aws_s3_service_1.AwsS3Service,
|
383
|
+
base_service_1.BaseService,
|
399
384
|
business_rule_service_1.BusinessRuleService,
|
400
385
|
client_credential_service_1.ClientCredentialService,
|
401
386
|
client_script_service_1.ClientScriptService,
|
402
387
|
column_service_1.ColumnService,
|
403
388
|
comment_service_1.CommentService,
|
404
|
-
common_service_1.CommonService,
|
405
389
|
document_service_1.DocumentService,
|
406
390
|
es6_jobs_service_1.Es6JobsService,
|
407
391
|
es6_service_1.Es6Service,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,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,sEAAgE;AAChE,8EAAuE;AACvE,gFAA0E;AAC1E,wFAAkF;AAClF,oEAA+D;AAC/D,sFAAgF;AAChF,gGAAyF;AACzF,wEAAmE;AACnE,8EAAwE;AACxE,kGAA2F;AAC3F,kEAA6D;AAC7D,0FAAoF;AACpF,oFAA8E;AAC9E,kEAA4D;AAC5D,wEAAkE;AAClE,kFAA4E;AAC5E,sFAAgF;AAChF,0EAAqE;AACrE,0EAAqE;AACrE,oFAA8E;AAC9E,0DAAsD;AACtD,kFAA6E;AAC7E,4DAAwD;AACxD,0EAAqE;AACrE,wEAAkE;AAClE,8EAAwE;AACxE,kFAA6E;AAC7E,4DAAwD;AACxD,8DAA0D;AAC1D,0EAAqE;AACrE,gEAA2D;AAC3D,gEAA4D;AAC5D,wEAAmE;AACnE,4EAAuE;AACvE,wEAAmE;AACnE,sEAAiE;AACjE,sEAAiE;AACjE,wDAAoD;AACpD,8EAAyE;AACzE,8EAAyE;AACzE,sEAAiE;AACjE,wEAAmE;AACnE,oEAA+D;AAC/D,gEAA2D;AAC3D,4EAAuE;AACvE,8EAAyE;AACzE,0EAAqE;AACrE,wDAAoD;AACpD,kEAA6D;AAC7D,kFAA6E;AAC7E,wEAAmE;AACnE,0DAAsD;AACtD,oFAA+E;AAC/E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