@servicelabsco/nestjs-utility-services 1.0.177 → 1.0.178
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/common/dtos/{event.dto.d.ts → database.event.dto.d.ts} +1 -1
- package/dist/common/dtos/database.event.dto.js +7 -0
- package/dist/common/dtos/database.event.dto.js.map +1 -0
- package/dist/common/dtos/index.d.ts +1 -1
- package/dist/common/dtos/index.js +1 -1
- package/dist/common/dtos/index.js.map +1 -1
- package/dist/common/es6.classes.d.ts +2 -2
- package/dist/common/es6.classes.js +2 -2
- package/dist/common/es6.classes.js.map +1 -1
- package/dist/common/libraries/common.entity.d.ts +1 -1
- package/dist/common/libraries/common.subscriber.d.ts +3 -3
- package/dist/common/libraries/common.subscriber.js +1 -0
- package/dist/common/libraries/common.subscriber.js.map +1 -1
- package/dist/platformUtility/jobs/record.watcher.job.d.ts +2 -2
- package/dist/platformUtility/jobs/record.watcher.job.js.map +1 -1
- package/dist/platformUtility/services/audit.service.d.ts +2 -2
- package/dist/platformUtility/services/audit.service.js.map +1 -1
- package/dist/platformUtility/services/mail.service.d.ts +2 -1
- package/dist/system/controllers/preference.controller.d.ts +1 -1
- package/package.json +1 -1
- package/dist/common/dtos/event.dto.js +0 -7
- package/dist/common/dtos/event.dto.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"database.event.dto.js","sourceRoot":"","sources":["../../../src/common/dtos/database.event.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export * from './aggregation.param.dto';
|
2
2
|
export * from './capture.record.index.dto';
|
3
3
|
export * from './capture.record.show.dto';
|
4
|
-
export * from './event.dto';
|
4
|
+
export * from './database.event.dto';
|
5
5
|
export * from './foreign.migration.dto';
|
6
6
|
export * from './generic.index.param.dto';
|
7
7
|
export * from './generic.show.param.dto';
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./aggregation.param.dto"), exports);
|
18
18
|
__exportStar(require("./capture.record.index.dto"), exports);
|
19
19
|
__exportStar(require("./capture.record.show.dto"), exports);
|
20
|
-
__exportStar(require("./event.dto"), exports);
|
20
|
+
__exportStar(require("./database.event.dto"), exports);
|
21
21
|
__exportStar(require("./foreign.migration.dto"), exports);
|
22
22
|
__exportStar(require("./generic.index.param.dto"), exports);
|
23
23
|
__exportStar(require("./generic.show.param.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,6DAA2C;AAC3C,4DAA0C;AAC1C,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC;AACrC,0DAAwC;AACxC,4DAA0C;AAC1C,2DAAyC;AACzC,oDAAkC;AAClC,qDAAmC;AACnC,qDAAmC;AACnC,wDAAsC;AACtC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,mDAAiC;AACjC,sDAAoC;AACpC,oDAAkC;AAClC,4DAA0C"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AggregationParamDto } from './dtos/aggregation.param.dto';
|
2
2
|
import { CaptureRecordShowDto } from './dtos/capture.record.show.dto';
|
3
|
-
import {
|
3
|
+
import { DatabaseEventDto } from './dtos/database.event.dto';
|
4
4
|
import { ForeignMigrationDto } from './dtos/foreign.migration.dto';
|
5
5
|
import { GenericIndexParamDto } from './dtos/generic.index.param.dto';
|
6
6
|
import { GenericShowParamDto } from './dtos/generic.show.param.dto';
|
@@ -28,7 +28,7 @@ import { ReportDataManager } from './libraries/report.data.manager';
|
|
28
28
|
import { ReportListManager } from './libraries/report.list.manager';
|
29
29
|
import { SeederUtility } from './libraries/seeder.utility';
|
30
30
|
declare const es6Classes: {
|
31
|
-
dtos: (typeof AggregationParamDto | typeof CaptureRecordShowDto | typeof MetaDataDto | typeof
|
31
|
+
dtos: (typeof AggregationParamDto | typeof CaptureRecordShowDto | typeof MetaDataDto | typeof DatabaseEventDto | typeof ForeignMigrationDto | typeof LayoutColumnDbDto | typeof GenericIndexParamDto | typeof GenericShowParamDto | typeof GroupParamDto | typeof IndexColumnDto | typeof IndexParamsDto | typeof KeyValueParamDto | typeof RecordDataManagerDto | typeof RecordTabDto | typeof RenameColumnDto | typeof ReportBodyDto | typeof ReportDataManagerDto)[];
|
32
32
|
exceptions: (typeof AccessException)[];
|
33
33
|
guards: (typeof LoginGuard)[];
|
34
34
|
libraries: (typeof GenericIndexParser | typeof GenericShowParser | typeof DataManager | typeof ListManager | typeof RecordManager | typeof ReportDataManager | typeof ReportListManager | typeof BaseMigrationUtility | typeof CommonConsumer | typeof SeederUtility)[];
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const aggregation_param_dto_1 = require("./dtos/aggregation.param.dto");
|
4
4
|
const capture_record_index_dto_1 = require("./dtos/capture.record.index.dto");
|
5
5
|
const capture_record_show_dto_1 = require("./dtos/capture.record.show.dto");
|
6
|
-
const
|
6
|
+
const database_event_dto_1 = require("./dtos/database.event.dto");
|
7
7
|
const foreign_migration_dto_1 = require("./dtos/foreign.migration.dto");
|
8
8
|
const generic_index_param_dto_1 = require("./dtos/generic.index.param.dto");
|
9
9
|
const generic_show_param_dto_1 = require("./dtos/generic.show.param.dto");
|
@@ -52,7 +52,7 @@ const es6Classes = {
|
|
52
52
|
aggregation_param_dto_1.AggregationParamDto,
|
53
53
|
capture_record_index_dto_1.CaptureRecordIndexDto,
|
54
54
|
capture_record_show_dto_1.CaptureRecordShowDto,
|
55
|
-
|
55
|
+
database_event_dto_1.DatabaseEventDto,
|
56
56
|
foreign_migration_dto_1.ForeignMigrationDto,
|
57
57
|
generic_index_param_dto_1.GenericIndexParamDto,
|
58
58
|
generic_show_param_dto_1.GenericShowParamDto,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/common/es6.classes.ts"],"names":[],"mappings":";;AAAA,wEAAmE;AACnE,8EAAwE;AACxE,4EAAsE;AACtE,
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/common/es6.classes.ts"],"names":[],"mappings":";;AAAA,wEAAmE;AACnE,8EAAwE;AACxE,4EAAsE;AACtE,kEAA6D;AAC7D,wEAAmE;AACnE,4EAAsE;AACtE,0EAAoE;AACpE,4DAAuD;AACvD,8DAAyD;AACzD,8DAAyD;AACzD,oEAA8D;AAC9D,sEAAgE;AAChE,wDAAmD;AACnD,4EAAsE;AACtE,0DAAqD;AACrD,gEAA2D;AAC3D,4DAAuD;AACvD,4EAAsE;AACtE,oEAAgE;AAChE,8EAA0E;AAC1E,oFAA8E;AAC9E,0EAAsE;AACtE,gFAA4E;AAC5E,sDAAkD;AAClD,2CAAwC;AACxC,+EAA0E;AAC1E,2DAAuD;AACvD,iEAA6D;AAC7D,6DAAyD;AACzD,uDAAmD;AACnD,qEAAgE;AAChE,qEAAiE;AACjE,2DAAuD;AACvD,2DAAuD;AACvD,qDAAiD;AACjD,2EAAsE;AACtE,yEAAoE;AACpE,2CAAwC;AACxC,2DAAuD;AACvD,qEAAiE;AACjE,mEAA+D;AAC/D,+DAA2D;AAC3D,uEAAkE;AAClE,yEAAoE;AACpE,yEAAoE;AACpE,qFAAgF;AAChF,+DAA2D;AAE3D,MAAM,UAAU,GAAG;IACf,IAAI,EAAE;QACF,2CAAmB;QACnB,gDAAqB;QACrB,8CAAoB;QACpB,qCAAgB;QAChB,2CAAmB;QACnB,8CAAoB;QACpB,4CAAmB;QACnB,+BAAa;QACb,iCAAc;QACd,iCAAc;QACd,sCAAgB;QAChB,wCAAiB;QACjB,2BAAW;QACX,8CAAoB;QACpB,6BAAY;QACZ,mCAAe;QACf,+BAAa;QACb,8CAAoB;KACvB;IACD,UAAU,EAAE,CAAC,kCAAe,EAAE,4CAAoB,EAAE,gDAAqB,EAAE,wCAAkB,EAAE,8CAAqB,CAAC;IACrH,MAAM,EAAE,CAAC,wBAAU,CAAC;IACpB,SAAS,EAAE;QACP,WAAI;QACJ,6CAAoB;QACpB,0BAAW;QACX,gCAAc;QACd,4BAAY;QACZ,sBAAS;QACT,mCAAe;QACf,oCAAgB;QAChB,0BAAW;QACX,0BAAW;QACX,oBAAQ;QACR,yCAAkB;QAClB,uCAAiB;QACjB,WAAI;QACJ,0BAAW;QACX,oCAAgB;QAChB,kCAAe;QACf,8BAAa;QACb,qCAAgB;QAChB,uCAAiB;QACjB,uCAAiB;QACjB,mDAAuB;QACvB,8BAAa;KAChB;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
@@ -15,5 +15,5 @@ export declare class CommonEntity extends BaseEntity {
|
|
15
15
|
softDelete(): Promise<this>;
|
16
16
|
static softDelete<T extends CommonEntity>(this: ObjectType<T>, where: FindConditions<T>): Promise<T[]>;
|
17
17
|
static destroy<T extends CommonEntity>(this: ObjectType<T>, where: FindConditions<T>): Promise<T[]>;
|
18
|
-
toJSON(): any
|
18
|
+
toJSON(): Record<string, any>;
|
19
19
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { EntitySubscriberInterface, QueryRunner, RemoveEvent } from 'typeorm';
|
2
|
-
import {
|
2
|
+
import { DatabaseEventDto } from '../dtos/database.event.dto';
|
3
3
|
export declare class CommonSubscriber<T> implements EntitySubscriberInterface<T> {
|
4
|
-
protected getUpdateEventData(event: any):
|
5
|
-
protected getInsertEventData(event: any):
|
4
|
+
protected getUpdateEventData(event: any): DatabaseEventDto<T>;
|
5
|
+
protected getInsertEventData(event: any): DatabaseEventDto<T>;
|
6
6
|
private getMetadata;
|
7
7
|
private getUpdatedRecords;
|
8
8
|
afterRemove(event: RemoveEvent<T>): Promise<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.subscriber.js","sourceRoot":"","sources":["../../../src/common/libraries/common.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,iCAA8B;AAS9B,MAAa,gBAAgB;IAQf,kBAAkB,CAAC,KAAK;QAC9B,OAAO;YACH,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,cAAc,EAAE,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC;YAC7C,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;YACjC,cAAc,EAAE,KAAK,CAAC,cAAc;YACpC,IAAI,EAAE,WAAI,CAAC,IAAI,EAAE;SACpB,CAAC;IACN,CAAC;IASS,kBAAkB,CAAC,KAAK;QAC9B,OAAO;YACH,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;YACjC,IAAI,EAAE,WAAI,CAAC,IAAI,EAAE;
|
1
|
+
{"version":3,"file":"common.subscriber.js","sourceRoot":"","sources":["../../../src/common/libraries/common.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,iCAA8B;AAS9B,MAAa,gBAAgB;IAQf,kBAAkB,CAAC,KAAK;QAC9B,OAAO;YACH,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,cAAc,EAAE,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC;YAC7C,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;YACjC,cAAc,EAAE,KAAK,CAAC,cAAc;YACpC,IAAI,EAAE,WAAI,CAAC,IAAI,EAAE;SACpB,CAAC;IACN,CAAC;IASS,kBAAkB,CAAC,KAAK;QAC9B,OAAO;YACH,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;YACjC,IAAI,EAAE,WAAI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AC;YACtC,MAAM,WAAW,CAAC,gBAAgB,EAAE,CAAC;QACzC,CAAC;KAAA;CACJ;AAlHD,4CAkHC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
2
2
|
import { CommonJob } from '../../common/libraries/common.job';
|
3
3
|
import { QueueService } from '../services/queue.service';
|
4
4
|
import { AuditService } from './../services/audit.service';
|
@@ -6,6 +6,6 @@ export declare class RecordWatcherJob extends CommonJob {
|
|
6
6
|
protected readonly queueService: QueueService;
|
7
7
|
private readonly auditService;
|
8
8
|
constructor(queueService: QueueService, auditService: AuditService);
|
9
|
-
handle(event:
|
9
|
+
handle(event: DatabaseEventDto<any>): Promise<void>;
|
10
10
|
private setAuditLog;
|
11
11
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"record.watcher.job.js","sourceRoot":"","sources":["../../../src/platformUtility/jobs/record.watcher.job.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAE5C,kEAA8D;AAC9D,6DAAyD;AACzD,+DAA2D;AAW3D,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,sBAAS;IAO3C,YAA+B,YAA0B,EAAmB,YAA0B;QAClG,KAAK,EAAE,CAAC;QADmB,iBAAY,GAAZ,YAAY,CAAc;QAAmB,iBAAY,GAAZ,YAAY,CAAc;IAEtG,CAAC;IAOK,MAAM,CAAC,
|
1
|
+
{"version":3,"file":"record.watcher.job.js","sourceRoot":"","sources":["../../../src/platformUtility/jobs/record.watcher.job.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAE5C,kEAA8D;AAC9D,6DAAyD;AACzD,+DAA2D;AAW3D,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,sBAAS;IAO3C,YAA+B,YAA0B,EAAmB,YAA0B;QAClG,KAAK,EAAE,CAAC;QADmB,iBAAY,GAAZ,YAAY,CAAc;QAAmB,iBAAY,GAAZ,YAAY,CAAc;IAEtG,CAAC;IAOK,MAAM,CAAC,KAA4B;;YACrC,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC;KAAA;IASa,WAAW,CAAC,KAAK;;YAE3B,IAAI,KAAK,CAAC,cAAc;gBAAE,MAAM,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC5E,CAAC;KAAA;CACJ,CAAA;AA/BY,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAQoC,4BAAY,EAAiC,4BAAY;GAP7F,gBAAgB,CA+B5B;AA/BY,4CAAgB"}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { EventDto } from '../../common/dtos/event.dto';
|
2
1
|
import { ModelEntity } from './../../system/entities/model.entity';
|
3
2
|
import { DynamoService } from './dynamo.service';
|
3
|
+
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
4
4
|
export declare class AuditService {
|
5
5
|
private readonly dynamoService;
|
6
6
|
private toIgnore;
|
7
7
|
private auditTable;
|
8
8
|
constructor(dynamoService: DynamoService);
|
9
|
-
setAuditRecord(event:
|
9
|
+
setAuditRecord(event: DatabaseEventDto<any>): Promise<any[]>;
|
10
10
|
getAuditLogs(model: ModelEntity, id: number): Promise<any[]>;
|
11
11
|
private addUserRecord;
|
12
12
|
private getDataFromDynamo;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"audit.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/audit.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,uFAAmF;AACnF,2CAA4C;AAC5C,mCAA+B;
|
1
|
+
{"version":3,"file":"audit.service.js","sourceRoot":"","sources":["../../../src/platformUtility/services/audit.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,uFAAmF;AACnF,2CAA4C;AAC5C,mCAA+B;AAC/B,8EAA0E;AAC1E,yE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/D,wBAAwB,EAAE;oBACtB,MAAM,EAAE,YAAY;oBACpB,OAAO,EAAE,WAAW;iBACvB;gBACD,yBAAyB,EAAE;oBACvB,aAAa,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE;oBACnC,QAAQ,EAAE,CAAC;iBACd;aACJ,CAAC;YAEF,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAChD,CAAC;KAAA;IAOO,IAAI;QACR,IAAI,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC;YAAE,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC/E,CAAC;CACJ,CAAA;AA/IY,YAAY;IADxB,IAAA,mBAAU,GAAE;qCAqBmC,8BAAa;GApBhD,YAAY,CA+IxB;AA/IY,oCAAY"}
|
@@ -1,9 +1,10 @@
|
|
1
|
+
import { MailLogEntity } from './../../system/entities/mail.log.entity';
|
1
2
|
import { MailOptionsDto } from './../dtos/mail.options.dto';
|
2
3
|
import { DynamoService } from './dynamo.service';
|
3
4
|
export declare class MailService {
|
4
5
|
private readonly dynamoService;
|
5
6
|
constructor(dynamoService: DynamoService);
|
6
|
-
send(options: MailOptionsDto, metadata?: any): Promise<
|
7
|
+
send(options: MailOptionsDto, metadata?: any): Promise<MailLogEntity>;
|
7
8
|
private processMail;
|
8
9
|
private saveToDynamo;
|
9
10
|
}
|
@@ -9,7 +9,7 @@ export declare class PreferenceController {
|
|
9
9
|
private readonly userPreferenceService;
|
10
10
|
constructor(accessManager: AccessManager, userPreferenceService: UserPreferenceService);
|
11
11
|
getUserPreferences(): Promise<import("..").UserPreferenceEntity[]>;
|
12
|
-
setPreference(body: MenuListPreferenceCreationDto): Promise<
|
12
|
+
setPreference(body: MenuListPreferenceCreationDto): Promise<ListPreferenceEntity>;
|
13
13
|
storeMenuListPreference(id: number, body: MenuListPreferenceCreationDto): Promise<ListPreferenceEntity>;
|
14
14
|
storeModelFormPreference(id: number, body: ModelFormPreferenceCreationDto): Promise<FormPreferenceEntity>;
|
15
15
|
storeFormPreference(body: any): Promise<FormPreferenceEntity>;
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"event.dto.js","sourceRoot":"","sources":["../../../src/common/dtos/event.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;CA2BpB;AA3BD,4BA2BC"}
|