@servicelabsco/nestjs-utility-services 1.1.65 → 1.1.67
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 -3
- package/dist/app.controller.js +2 -4
- package/dist/app.controller.js.map +1 -1
- package/dist/auth/es6.classes.d.ts +1 -1
- package/dist/auth/middlewares/index.d.ts +1 -1
- package/dist/auth/middlewares/index.js +1 -1
- package/dist/auth/middlewares/index.js.map +1 -1
- package/dist/common/es6.classes.d.ts +2 -1
- package/dist/common/es6.classes.js +4 -0
- package/dist/common/es6.classes.js.map +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/libraries/common.entity.d.ts +3 -2
- package/dist/common/libraries/common.entity.js +2 -1
- package/dist/common/libraries/common.entity.js.map +1 -1
- package/dist/common/libraries/database.event.evaluator.d.ts +11 -0
- package/dist/common/libraries/database.event.evaluator.js +40 -0
- package/dist/common/libraries/database.event.evaluator.js.map +1 -0
- package/dist/common/libraries/entity.evaluator.d.ts +28 -0
- package/dist/common/libraries/entity.evaluator.js +127 -0
- package/dist/common/libraries/entity.evaluator.js.map +1 -0
- package/dist/common/libraries/index.d.ts +3 -1
- package/dist/common/libraries/index.js +3 -1
- package/dist/common/libraries/index.js.map +1 -1
- package/dist/common/libraries/platform.utility.d.ts +1 -1
- package/dist/common/libraries/platform.utility.js +1 -1
- package/dist/common/libraries/platform.utility.js.map +1 -1
- package/dist/platformUtility/commands/index.d.ts +1 -1
- package/dist/platformUtility/commands/index.js +1 -1
- package/dist/platformUtility/dtos/common.list.filter.dto.d.ts +15 -0
- package/dist/platformUtility/dtos/common.list.filter.dto.js +83 -0
- package/dist/platformUtility/dtos/common.list.filter.dto.js.map +1 -0
- package/dist/platformUtility/dtos/date.filter.dto.d.ts +10 -0
- package/dist/platformUtility/dtos/date.filter.dto.js +57 -0
- package/dist/platformUtility/dtos/date.filter.dto.js.map +1 -0
- package/dist/platformUtility/dtos/date.range.filter.dto.d.ts +4 -0
- package/dist/platformUtility/dtos/date.range.filter.dto.js +30 -0
- package/dist/platformUtility/dtos/date.range.filter.dto.js.map +1 -0
- package/dist/platformUtility/dtos/index.d.ts +6 -0
- package/dist/platformUtility/dtos/index.js +6 -0
- package/dist/platformUtility/dtos/index.js.map +1 -1
- package/dist/platformUtility/dtos/list.response.dto.d.ts +14 -0
- package/dist/platformUtility/dtos/list.response.dto.js +7 -0
- package/dist/platformUtility/dtos/list.response.dto.js.map +1 -0
- package/dist/platformUtility/dtos/list.response.format.dto.d.ts +4 -0
- package/dist/platformUtility/dtos/list.response.format.dto.js +27 -0
- package/dist/platformUtility/dtos/list.response.format.dto.js.map +1 -0
- package/dist/platformUtility/dtos/number.range.filter.dto.d.ts +7 -0
- package/dist/platformUtility/dtos/number.range.filter.dto.js +45 -0
- package/dist/platformUtility/dtos/number.range.filter.dto.js.map +1 -0
- package/dist/platformUtility/es6.classes.d.ts +12 -4
- package/dist/platformUtility/es6.classes.js +16 -0
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/index.d.ts +1 -1
- package/dist/platformUtility/index.js +1 -1
- package/dist/platformUtility/index.js.map +1 -1
- package/dist/platformUtility/libraries/index.d.ts +2 -0
- package/dist/platformUtility/libraries/index.js +2 -0
- package/dist/platformUtility/libraries/index.js.map +1 -1
- package/dist/platformUtility/libraries/process.common.list.d.ts +28 -0
- package/dist/platformUtility/libraries/process.common.list.js +93 -0
- package/dist/platformUtility/libraries/process.common.list.js.map +1 -0
- package/dist/platformUtility/libraries/process.date.filter.d.ts +14 -0
- package/dist/platformUtility/libraries/process.date.filter.js +68 -0
- package/dist/platformUtility/libraries/process.date.filter.js.map +1 -0
- package/dist/platformUtility/services/index.d.ts +1 -1
- package/dist/platformUtility/services/index.js +1 -1
- package/dist/platformUtility/services/index.js.map +1 -1
- package/dist/system/entities/index.d.ts +0 -1
- package/dist/system/entities/index.js +0 -1
- package/dist/system/entities/index.js.map +1 -1
- package/package.json +2 -1
package/dist/app.controller.d.ts
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
import { Request } from 'express';
|
2
2
|
import { QueueService } from './platformUtility/services/queue.service';
|
3
|
-
import { AwsS3Service } from './system/services/aws.s3.service';
|
4
3
|
export declare class AppController {
|
5
4
|
private readonly queueService;
|
6
|
-
|
7
|
-
constructor(queueService: QueueService, awsS3Service: AwsS3Service);
|
5
|
+
constructor(queueService: QueueService);
|
8
6
|
get(): Promise<{
|
9
7
|
message: string;
|
10
8
|
}>;
|
package/dist/app.controller.js
CHANGED
@@ -16,11 +16,9 @@ exports.AppController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
17
17
|
const auth_1 = require("./common/libraries/auth");
|
18
18
|
const queue_service_1 = require("./platformUtility/services/queue.service");
|
19
|
-
const aws_s3_service_1 = require("./system/services/aws.s3.service");
|
20
19
|
let AppController = class AppController {
|
21
|
-
constructor(queueService
|
20
|
+
constructor(queueService) {
|
22
21
|
this.queueService = queueService;
|
23
|
-
this.awsS3Service = awsS3Service;
|
24
22
|
}
|
25
23
|
async get() {
|
26
24
|
return { message: 'Hello World!' };
|
@@ -78,7 +76,7 @@ __decorate([
|
|
78
76
|
], AppController.prototype, "queue", null);
|
79
77
|
AppController = __decorate([
|
80
78
|
(0, common_1.Controller)(),
|
81
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService
|
79
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService])
|
82
80
|
], AppController);
|
83
81
|
exports.AppController = AppController;
|
84
82
|
//# sourceMappingURL=app.controller.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AAEpE,kDAA+C;AAC/C,4EAAwE;
|
1
|
+
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],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are const es6Classes: {
|
|
27
27
|
controllers: (typeof AuthController | typeof SocialController | typeof UserController)[];
|
28
28
|
dtos: (typeof UserLoginDto | typeof CreateUserDto | typeof OfflineUserDto | typeof PermissionAssignmentDto | typeof RoleAssignmentDto | typeof UpdateUserDto)[];
|
29
29
|
entities: (typeof CreatorEntity | typeof CountryEntity | typeof UserReferralEntity | typeof DeviceTokenEntity | typeof RefreshTokenEntity)[];
|
30
|
-
middlewares: (typeof BasicAuthMiddleware | typeof
|
30
|
+
middlewares: (typeof BasicAuthMiddleware | typeof InternalMiddleware | typeof JwtMiddleware | typeof RestrictedMiddleware)[];
|
31
31
|
services: (typeof RefreshTokenService | typeof AuthService | typeof DeviceTokenService | typeof UserService | typeof SocialService | typeof AccessManager | typeof Es6Service)[];
|
32
32
|
};
|
33
33
|
export default es6Classes;
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./basic.auth.middleware"), exports);
|
18
|
+
__exportStar(require("./internal.middleware"), exports);
|
18
19
|
__exportStar(require("./jwt.middleware"), exports);
|
19
20
|
__exportStar(require("./restricted.middleware"), exports);
|
20
|
-
__exportStar(require("./internal.middleware"), exports);
|
21
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/middlewares/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mDAAiC;AACjC,0DAAwC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth/middlewares/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,wDAAsC;AACtC,mDAAiC;AACjC,0DAAwC"}
|
@@ -20,6 +20,7 @@ import { AccessException } from './exceptions/access.exception';
|
|
20
20
|
import { BaseMigrationUtility } from './libraries/base.migration.utility';
|
21
21
|
import { CommonConsumer } from './libraries/common.consumer';
|
22
22
|
import { DataManager } from './libraries/data.manager';
|
23
|
+
import { DatabaseEventEvaluator } from './libraries/database.event.evaluator';
|
23
24
|
import { GenericIndexParser } from './libraries/generic.index.parser';
|
24
25
|
import { GenericShowParser } from './libraries/generic.show.parser';
|
25
26
|
import { ListManager } from './libraries/list.manager';
|
@@ -31,6 +32,6 @@ declare const es6Classes: {
|
|
31
32
|
adapters: (typeof RedisIoAdapter)[];
|
32
33
|
dtos: (typeof AggregationParamDto | typeof CaptureRecordIndexDto | typeof CaptureRecordShowDto | typeof LayoutColumnDbDto | typeof GenericIndexParamDto | typeof RecordDataManagerDto | typeof RecordTabDto | typeof GroupParamDto | typeof ReportBodyDto | typeof ReportDataManagerDto | typeof MetaDataDto | typeof DatabaseEventDto | typeof ForeignMigrationDto | typeof GenericShowParamDto | typeof IndexColumnDto | typeof KeyValueParamDto | typeof RenameColumnDto)[];
|
33
34
|
exceptions: (typeof AccessException)[];
|
34
|
-
libraries: (typeof GenericIndexParser | typeof GenericShowParser | typeof DataManager | typeof ListManager | typeof RecordManager | typeof ReportDataManager | typeof ReportListManager | typeof BaseMigrationUtility | typeof CommonConsumer | typeof SeederUtility)[];
|
35
|
+
libraries: (typeof GenericIndexParser | typeof GenericShowParser | typeof DataManager | typeof ListManager | typeof RecordManager | typeof ReportDataManager | typeof ReportListManager | typeof BaseMigrationUtility | typeof CommonConsumer | typeof DatabaseEventEvaluator | typeof SeederUtility)[];
|
35
36
|
};
|
36
37
|
export default es6Classes;
|
@@ -34,7 +34,9 @@ const common_mapper_job_1 = require("./libraries/common.mapper.job");
|
|
34
34
|
const common_subscriber_1 = require("./libraries/common.subscriber");
|
35
35
|
const custom_crypt_1 = require("./libraries/custom.crypt");
|
36
36
|
const data_manager_1 = require("./libraries/data.manager");
|
37
|
+
const database_event_evaluator_1 = require("./libraries/database.event.evaluator");
|
37
38
|
const date_util_1 = require("./libraries/date.util");
|
39
|
+
const entity_evaluator_1 = require("./libraries/entity.evaluator");
|
38
40
|
const generic_index_parser_1 = require("./libraries/generic.index.parser");
|
39
41
|
const generic_show_parser_1 = require("./libraries/generic.show.parser");
|
40
42
|
const hash_1 = require("./libraries/hash");
|
@@ -81,7 +83,9 @@ const es6Classes = {
|
|
81
83
|
common_subscriber_1.CommonSubscriber,
|
82
84
|
custom_crypt_1.CustomCrypt,
|
83
85
|
data_manager_1.DataManager,
|
86
|
+
database_event_evaluator_1.DatabaseEventEvaluator,
|
84
87
|
date_util_1.DateUtil,
|
88
|
+
entity_evaluator_1.EntityEvaluator,
|
85
89
|
generic_index_parser_1.GenericIndexParser,
|
86
90
|
generic_show_parser_1.GenericShowParser,
|
87
91
|
hash_1.Hash,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/common/es6.classes.ts"],"names":[],"mappings":";;AAAA,kEAA6D;AAC7D,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,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,QAAQ,EAAE,CAAC,iCAAc,CAAC;IAC1B,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,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"}
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/common/es6.classes.ts"],"names":[],"mappings":";;AAAA,kEAA6D;AAC7D,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;AAC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index.js
CHANGED
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./adapters"), exports);
|
18
|
-
__exportStar(require("./common.module"), exports);
|
19
18
|
__exportStar(require("./dtos"), exports);
|
20
19
|
__exportStar(require("./exceptions"), exports);
|
21
20
|
__exportStar(require("./libraries"), exports);
|
21
|
+
__exportStar(require("./common.module"), exports);
|
22
22
|
//# sourceMappingURL=index.js.map
|
package/dist/common/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB;AACvB,+CAA6B;AAC7B,8CAA4B;AAC5B,kDAAgC"}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { FindOneOptions, FindOptionsWhere, ObjectType } from 'typeorm';
|
2
2
|
import { CreatorEntity } from '../../auth/entities/creator.entity';
|
3
|
-
|
3
|
+
import { EntityEvaluator } from './entity.evaluator';
|
4
|
+
export declare class CommonEntity extends EntityEvaluator {
|
4
5
|
protected enableRecordWatcher: boolean;
|
5
6
|
id: number;
|
6
7
|
uuid: string;
|
@@ -14,7 +14,8 @@ const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
15
15
|
const creator_entity_1 = require("../../auth/entities/creator.entity");
|
16
16
|
const date_util_1 = require("./date.util");
|
17
|
-
|
17
|
+
const entity_evaluator_1 = require("./entity.evaluator");
|
18
|
+
class CommonEntity extends entity_evaluator_1.EntityEvaluator {
|
18
19
|
constructor() {
|
19
20
|
super(...arguments);
|
20
21
|
this.enableRecordWatcher = true;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.entity.js","sourceRoot":"","sources":["../../../src/common/libraries/common.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8E;AAC9E,qCAYiB;AACjB,uEAAmE;AACnE,2CAAuC;
|
1
|
+
{"version":3,"file":"common.entity.js","sourceRoot":"","sources":["../../../src/common/libraries/common.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8E;AAC9E,qCAYiB;AACjB,uEAAmE;AACnE,2CAAuC;AACvC,yDAAqD;AAUrD,MAAa,YAAa,SAAQ,kCAAe;IAAjD;;QAGc,wBAAmB,GAAG,IAAI,CAAC;IAgKzC,CAAC;IAlHG,MAAM,CAAC,KAAK,CAAC,UAAU,CAA8C,MAA2B;QAC5F,MAAM,UAAU,GAAI,IAAY,CAAC,aAAa,EAAE,CAAC;QACjD,MAAM,cAAc,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;QAEnE,IAAI,cAAc;YAAE,OAAO,cAAc,CAAC;QAC1C,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC;QAE1C,OAAO,IAAA,mCAAe,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;IAWD,MAAM,CAAC,KAAK,CAAC,aAAa,CAA8C,MAA2B;QAC/F,MAAM,UAAU,GAAI,IAAY,CAAC,aAAa,EAAE,CAAC;QACjD,MAAM,cAAc,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;QAEnE,IAAI,cAAc;YAAE,OAAO,cAAc,CAAC;QAC1C,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC;QAE1C,MAAM,IAAI,GAAQ,IAAA,mCAAe,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAClD,OAAO,IAAI,CAAC,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.evaluator';
|
3
|
+
export declare class DatabaseEventEvaluator<Entity> extends EntityEvaluator {
|
4
|
+
protected readonly event: DatabaseEventDto<Entity>;
|
5
|
+
constructor(event: DatabaseEventDto<Entity>);
|
6
|
+
isNewRecord(): boolean;
|
7
|
+
hasChanged(column: string): boolean;
|
8
|
+
getOriginalValue(column: string): any;
|
9
|
+
isTrashed(): boolean;
|
10
|
+
getPropertyValue(path: any, defaultValue: any): any;
|
11
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DatabaseEventEvaluator = void 0;
|
4
|
+
const entity_evaluator_1 = require("./entity.evaluator");
|
5
|
+
class DatabaseEventEvaluator extends entity_evaluator_1.EntityEvaluator {
|
6
|
+
constructor(event) {
|
7
|
+
super();
|
8
|
+
this.event = event;
|
9
|
+
this.dbEntity = event.entity;
|
10
|
+
}
|
11
|
+
isNewRecord() {
|
12
|
+
const column = 'id';
|
13
|
+
if (!this.event.databaseEntity[column] && this.event.databaseEntity[column])
|
14
|
+
return true;
|
15
|
+
return false;
|
16
|
+
}
|
17
|
+
hasChanged(column) {
|
18
|
+
if (this.isNewRecord())
|
19
|
+
return true;
|
20
|
+
if (this.event.updatedColumns.includes(column))
|
21
|
+
return true;
|
22
|
+
return false;
|
23
|
+
}
|
24
|
+
getOriginalValue(column) {
|
25
|
+
return this.event.databaseEntity[column];
|
26
|
+
}
|
27
|
+
isTrashed() {
|
28
|
+
return this.event.entity['deleted_at'] ? true : false;
|
29
|
+
}
|
30
|
+
getPropertyValue(path, defaultValue) {
|
31
|
+
const object = Object.assign({}, this.event.entity);
|
32
|
+
if (typeof path === 'string')
|
33
|
+
path = path.split('.');
|
34
|
+
if (Array.isArray(path) && path.length < 1)
|
35
|
+
return object[path[0]] || defaultValue;
|
36
|
+
return path.reduce((xs, x) => (xs && xs[x] != undefined ? xs[x] : defaultValue), object);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
exports.DatabaseEventEvaluator = DatabaseEventEvaluator;
|
40
|
+
//# sourceMappingURL=database.event.evaluator.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"database.event.evaluator.js","sourceRoot":"","sources":["../../../src/common/libraries/database.event.evaluator.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AAQrD,MAAa,sBAA+B,SAAQ,kCAAe;IAM/D,YAA+B,KAA+B;QAC1D,KAAK,EAAE,CAAC;QADmB,UAAK,GAAL,KAAK,CAA0B;QAE1D,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC;IACjC,CAAC;IAOD,WAAW;QACP,MAAM,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;YAAE,OAAO,IAAI,CAAC;QAEzF,OAAO,KAAK,CAAC;IACjB,CAAC;IAQD,UAAU,CAAC,MAAc;QACrB,IAAI,IAAI,CAAC,WAAW,EAAE;YAAE,OAAO,IAAI,CAAC;QACpC,IAAI,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,OAAO,IAAI,CAAC;QAE5D,OAAO,KAAK,CAAC;IACjB,CAAC;IAQD,gBAAgB,CAAC,MAAc;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAOD,SAAS;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1D,CAAC;IASD,gBAAgB,CAAC,IAAS,EAAE,YAAiB;QACzC,MAAM,MAAM,qBAAQ,IAAI,CAAC,KAAK,CAAC,MAAM,CAAE,CAAC;QAExC,IAAI,OAAO,IAAI,KAAK,QAAQ;YAAE,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC;QACnF,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC;CACJ;AArED,wDAqEC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { BaseEntity } from 'typeorm';
|
2
|
+
export declare class EntityEvaluator extends BaseEntity {
|
3
|
+
protected dbEntity: any;
|
4
|
+
isNull(column: string): boolean;
|
5
|
+
isNotNull(column: string): boolean;
|
6
|
+
gt(column: string, value: any): boolean;
|
7
|
+
gteq(column: string, value: any): boolean;
|
8
|
+
lt(column: string, value: any): boolean;
|
9
|
+
lteq(column: string, value: any): boolean;
|
10
|
+
between(column: string, value: {
|
11
|
+
start: any;
|
12
|
+
end: any;
|
13
|
+
}): boolean;
|
14
|
+
notBetween(column: string, value: {
|
15
|
+
start: any;
|
16
|
+
end: any;
|
17
|
+
}): boolean;
|
18
|
+
equals(column: string, value: any): boolean;
|
19
|
+
notEquals(column: string, value: any): boolean;
|
20
|
+
startsWith(column: string, value: string): boolean;
|
21
|
+
notStartsWith(column: string, value: string): boolean;
|
22
|
+
endsWith(column: string, value: string): boolean;
|
23
|
+
notEndsWith(column: string, value: string): boolean;
|
24
|
+
contains(column: string, value: any): boolean;
|
25
|
+
notContains(column: string, value: any): boolean;
|
26
|
+
isTrashed(): boolean;
|
27
|
+
getPropertyValue(path: any, defaultValue?: any): any;
|
28
|
+
}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EntityEvaluator = void 0;
|
4
|
+
const typeorm_1 = require("typeorm");
|
5
|
+
class EntityEvaluator extends typeorm_1.BaseEntity {
|
6
|
+
isNull(column) {
|
7
|
+
if (!this.getPropertyValue(column))
|
8
|
+
return true;
|
9
|
+
return false;
|
10
|
+
}
|
11
|
+
isNotNull(column) {
|
12
|
+
if (this.getPropertyValue(column))
|
13
|
+
return true;
|
14
|
+
return false;
|
15
|
+
}
|
16
|
+
gt(column, value) {
|
17
|
+
const entityValue = this.getPropertyValue(column);
|
18
|
+
if (!entityValue)
|
19
|
+
return false;
|
20
|
+
if (entityValue > value)
|
21
|
+
return true;
|
22
|
+
return false;
|
23
|
+
}
|
24
|
+
gteq(column, value) {
|
25
|
+
const entityValue = this.getPropertyValue(column);
|
26
|
+
if (!entityValue)
|
27
|
+
return false;
|
28
|
+
if (entityValue >= value)
|
29
|
+
return true;
|
30
|
+
return false;
|
31
|
+
}
|
32
|
+
lt(column, value) {
|
33
|
+
const entityValue = this.getPropertyValue(column);
|
34
|
+
if (!entityValue)
|
35
|
+
return false;
|
36
|
+
if (entityValue < value)
|
37
|
+
return true;
|
38
|
+
return false;
|
39
|
+
}
|
40
|
+
lteq(column, value) {
|
41
|
+
const entityValue = this.getPropertyValue(column);
|
42
|
+
if (!entityValue)
|
43
|
+
return false;
|
44
|
+
if (entityValue <= value)
|
45
|
+
return true;
|
46
|
+
return false;
|
47
|
+
}
|
48
|
+
between(column, value) {
|
49
|
+
const entityValue = this.getPropertyValue(column);
|
50
|
+
if (!entityValue)
|
51
|
+
return false;
|
52
|
+
if (entityValue >= value.start && entityValue <= value.end)
|
53
|
+
return true;
|
54
|
+
return false;
|
55
|
+
}
|
56
|
+
notBetween(column, value) {
|
57
|
+
const entityValue = this.getPropertyValue(column);
|
58
|
+
if (!entityValue)
|
59
|
+
return false;
|
60
|
+
return !this.between(column, value);
|
61
|
+
}
|
62
|
+
equals(column, value) {
|
63
|
+
const entityValue = this.getPropertyValue(column);
|
64
|
+
if (!entityValue)
|
65
|
+
return false;
|
66
|
+
if (entityValue === value)
|
67
|
+
return true;
|
68
|
+
return false;
|
69
|
+
}
|
70
|
+
notEquals(column, value) {
|
71
|
+
const entityValue = this.getPropertyValue(column);
|
72
|
+
if (!entityValue)
|
73
|
+
return false;
|
74
|
+
return !this.equals(column, value);
|
75
|
+
}
|
76
|
+
startsWith(column, value) {
|
77
|
+
const entityValue = this.getPropertyValue(column);
|
78
|
+
if (!entityValue)
|
79
|
+
return false;
|
80
|
+
if (entityValue.toLowerCase().startsWith(value.toLowerCase()))
|
81
|
+
return true;
|
82
|
+
return false;
|
83
|
+
}
|
84
|
+
notStartsWith(column, value) {
|
85
|
+
const entityValue = this.getPropertyValue(column);
|
86
|
+
if (!entityValue)
|
87
|
+
return false;
|
88
|
+
return !this.startsWith(column, value);
|
89
|
+
}
|
90
|
+
endsWith(column, value) {
|
91
|
+
const entityValue = this.getPropertyValue(column);
|
92
|
+
if (!entityValue)
|
93
|
+
return false;
|
94
|
+
if (entityValue.toLowerCase().endsWith(value.toLowerCase()))
|
95
|
+
return true;
|
96
|
+
return false;
|
97
|
+
}
|
98
|
+
notEndsWith(column, value) {
|
99
|
+
const entityValue = this.getPropertyValue(column);
|
100
|
+
if (!entityValue)
|
101
|
+
return false;
|
102
|
+
return !this.endsWith(column, value);
|
103
|
+
}
|
104
|
+
contains(column, value) {
|
105
|
+
const entityValue = this.getPropertyValue(column).toLowerCase();
|
106
|
+
return entityValue.includes(value.toLowerCase());
|
107
|
+
}
|
108
|
+
notContains(column, value) {
|
109
|
+
const entityValue = this.getPropertyValue(column);
|
110
|
+
if (!entityValue)
|
111
|
+
return false;
|
112
|
+
return !this.contains(column, value);
|
113
|
+
}
|
114
|
+
isTrashed() {
|
115
|
+
return this.getPropertyValue('deleted_at') ? true : false;
|
116
|
+
}
|
117
|
+
getPropertyValue(path, defaultValue = null) {
|
118
|
+
const object = this.dbEntity || this;
|
119
|
+
if (typeof path === 'string')
|
120
|
+
path = path.split('.');
|
121
|
+
if (Array.isArray(path) && path.length < 1)
|
122
|
+
return object[path[0]] || defaultValue;
|
123
|
+
return path.reduce((xs, x) => (xs && xs[x] != undefined ? xs[x] : defaultValue), object);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
exports.EntityEvaluator = EntityEvaluator;
|
127
|
+
//# sourceMappingURL=entity.evaluator.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entity.evaluator.js","sourceRoot":"","sources":["../../../src/common/libraries/entity.evaluator.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAErC,MAAa,eAAgB,SAAQ,oBAAU;IAS3C,MAAM,CAAC,MAAc;QACjB,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC;YAAE,OAAO,IAAI,CAAC;QAEhD,OAAO,KAAK,CAAC;IACjB,CAAC;IAQD,SAAS,CAAC,MAAc;QACpB,IAAI,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC;YAAE,OAAO,IAAI,CAAC;QAE/C,OAAO,KAAK,CAAC;IACjB,CAAC;IASD,EAAE,CAAC,MAAc,EAAE,KAAU;QACzB,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,WAAW;YAAE,OAAO,KAAK,CAAC;QAE/B,IAAI,WAAW,GAAG,KAAK;YAAE,OAAO,IAAI,CAAC;QAErC,OAAO,KAAK,CAAC;IACjB,CAAC;IASD,IAAI,CAAC,MAAc,EAAE,KAAU;QAC3B,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAClD,IAAI,CAAC,WAAW;YAAE,OAAO,KAAK,CAAC;QAE/B,IAAI,WAAW,IAAI,KAAK;YAAE,OAAO,IAAI,CAAC;QAEtC,OAAO,KAAK,CAAC;IAC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C,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7F,CAAC;CACJ;AArQD,0CAqQC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export * from './auth';
|
2
|
+
export * from './base.job.interface';
|
2
3
|
export * from './base.migration.utility';
|
3
4
|
export * from './class.mapper';
|
4
5
|
export * from './common.consumer';
|
@@ -8,7 +9,9 @@ export * from './common.mapper.job';
|
|
8
9
|
export * from './common.subscriber';
|
9
10
|
export * from './custom.crypt';
|
10
11
|
export * from './data.manager';
|
12
|
+
export * from './database.event.evaluator';
|
11
13
|
export * from './date.util';
|
14
|
+
export * from './entity.evaluator';
|
12
15
|
export * from './generic.index.parser';
|
13
16
|
export * from './generic.show.parser';
|
14
17
|
export * from './hash';
|
@@ -21,4 +24,3 @@ export * from './report.data.manager';
|
|
21
24
|
export * from './report.list.manager';
|
22
25
|
export * from './reverse.migration.utility';
|
23
26
|
export * from './seeder.utility';
|
24
|
-
export * from './base.job.interface';
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./auth"), exports);
|
18
|
+
__exportStar(require("./base.job.interface"), exports);
|
18
19
|
__exportStar(require("./base.migration.utility"), exports);
|
19
20
|
__exportStar(require("./class.mapper"), exports);
|
20
21
|
__exportStar(require("./common.consumer"), exports);
|
@@ -24,7 +25,9 @@ __exportStar(require("./common.mapper.job"), exports);
|
|
24
25
|
__exportStar(require("./common.subscriber"), exports);
|
25
26
|
__exportStar(require("./custom.crypt"), exports);
|
26
27
|
__exportStar(require("./data.manager"), exports);
|
28
|
+
__exportStar(require("./database.event.evaluator"), exports);
|
27
29
|
__exportStar(require("./date.util"), exports);
|
30
|
+
__exportStar(require("./entity.evaluator"), exports);
|
28
31
|
__exportStar(require("./generic.index.parser"), exports);
|
29
32
|
__exportStar(require("./generic.show.parser"), exports);
|
30
33
|
__exportStar(require("./hash"), exports);
|
@@ -37,5 +40,4 @@ __exportStar(require("./report.data.manager"), exports);
|
|
37
40
|
__exportStar(require("./report.list.manager"), exports);
|
38
41
|
__exportStar(require("./reverse.migration.utility"), exports);
|
39
42
|
__exportStar(require("./seeder.utility"), exports);
|
40
|
-
__exportStar(require("./base.job.interface"), exports);
|
41
43
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2DAAyC;AACzC,iDAA+B;AAC/B,oDAAkC;AAClC,kDAAgC;AAChC,+CAA6B;AAC7B,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,8CAA4B;AAC5B,yDAAuC;AACvC,wDAAsC;AACtC,yCAAuB;AACvB,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,8DAA4C;AAC5C,mDAAiC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,uDAAqC;AACrC,2DAAyC;AACzC,iDAA+B;AAC/B,oDAAkC;AAClC,kDAAgC;AAChC,+CAA6B;AAC7B,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,6DAA2C;AAC3C,8CAA4B;AAC5B,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,yCAAuB;AACvB,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,8DAA4C;AAC5C,mDAAiC"}
|
@@ -7,7 +7,7 @@ export declare class PlatformUtility {
|
|
7
7
|
mails: {};
|
8
8
|
whoColumns: string[];
|
9
9
|
};
|
10
|
-
static ucwords(str:
|
10
|
+
static ucwords(str: string): string;
|
11
11
|
static generateRandomNumber(digits: number): number;
|
12
12
|
static generateRandomAlpha(len: number): string;
|
13
13
|
static generateRandomAlphaNumeric(len: number): string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platform.utility.js","sourceRoot":"","sources":["../../../src/common/libraries/platform.utility.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,wEAAgE;AAOhE,MAAa,eAAe;IAOxB,MAAM,CAAC,mBAAmB;QACtB,OAAO,4BAAiB,CAAC;IAC7B,CAAC;IASD,MAAM,CAAC,OAAO,CAAC,
|
1
|
+
{"version":3,"file":"platform.utility.js","sourceRoot":"","sources":["../../../src/common/libraries/platform.utility.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,wEAAgE;AAOhE,MAAa,eAAe;IAOxB,MAAM,CAAC,mBAAmB;QACtB,OAAO,4BAAiB,CAAC;IAC7B,CAAC;IASD,MAAM,CAAC,OAAO,CAAC,GAAW;QACtB,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,EAAE,EAAE,EAAE;YAC3D,OAAO,EAAE,CAAC,WAAW,EAAE,CAAC;QAC5B,CAAC,CAAC,CAAC;IACP,CAAC;IAUD,MAAM,CAAC,oBAAoB,CAAC,MAAc;QACtC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;QAChD,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;QAEhD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAA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,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAC7D,CAAC;IAQD,MAAM,CAAC,uBAAuB;QAC1B,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEpC,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,MAAM,CAAC,GAAG,CAAC;QACtD,IAAI,WAAW,KAAK,OAAO;YAAE,OAAO,IAAI,CAAC;QAEzC,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAxOD,0CAwOC"}
|
@@ -16,6 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entity.generator.command"), exports);
|
18
18
|
__exportStar(require("./maintenance.command"), exports);
|
19
|
-
__exportStar(require("./sync.class.command"), exports);
|
20
19
|
__exportStar(require("./sqs.worker.command"), exports);
|
20
|
+
__exportStar(require("./sync.class.command"), exports);
|
21
21
|
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { DateFilterDto } from './date.filter.dto';
|
2
|
+
import { ListResponseFormatDto } from './list.response.format.dto';
|
3
|
+
import { NumberRangeFilterDto } from './number.range.filter.dto';
|
4
|
+
export declare class CommonListFilterDto {
|
5
|
+
search?: string;
|
6
|
+
limit?: number;
|
7
|
+
page?: number;
|
8
|
+
stats?: boolean;
|
9
|
+
no_metrics?: boolean;
|
10
|
+
format?: ListResponseFormatDto;
|
11
|
+
date?: DateFilterDto;
|
12
|
+
amount?: NumberRangeFilterDto;
|
13
|
+
aggregate?: Record<string, string>;
|
14
|
+
filter_query?: string;
|
15
|
+
}
|
@@ -0,0 +1,83 @@
|
|
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.CommonListFilterDto = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
const class_validator_1 = require("class-validator");
|
15
|
+
const date_filter_dto_1 = require("./date.filter.dto");
|
16
|
+
const list_response_format_dto_1 = require("./list.response.format.dto");
|
17
|
+
const number_range_filter_dto_1 = require("./number.range.filter.dto");
|
18
|
+
class CommonListFilterDto {
|
19
|
+
}
|
20
|
+
__decorate([
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
22
|
+
(0, class_validator_1.IsString)(),
|
23
|
+
(0, class_validator_1.MinLength)(3),
|
24
|
+
(0, class_transformer_1.Expose)(),
|
25
|
+
__metadata("design:type", String)
|
26
|
+
], CommonListFilterDto.prototype, "search", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
30
|
+
(0, class_transformer_1.Expose)(),
|
31
|
+
__metadata("design:type", Number)
|
32
|
+
], CommonListFilterDto.prototype, "limit", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
36
|
+
(0, class_validator_1.Min)(1),
|
37
|
+
(0, class_transformer_1.Expose)(),
|
38
|
+
__metadata("design:type", Number)
|
39
|
+
], CommonListFilterDto.prototype, "page", void 0);
|
40
|
+
__decorate([
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
42
|
+
(0, class_validator_1.IsBoolean)(),
|
43
|
+
(0, class_transformer_1.Expose)(),
|
44
|
+
__metadata("design:type", Boolean)
|
45
|
+
], CommonListFilterDto.prototype, "stats", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
48
|
+
(0, class_validator_1.IsBoolean)(),
|
49
|
+
(0, class_transformer_1.Expose)(),
|
50
|
+
__metadata("design:type", Boolean)
|
51
|
+
], CommonListFilterDto.prototype, "no_metrics", void 0);
|
52
|
+
__decorate([
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
54
|
+
(0, class_validator_1.ValidateNested)(),
|
55
|
+
(0, class_transformer_1.Type)(() => list_response_format_dto_1.ListResponseFormatDto),
|
56
|
+
__metadata("design:type", list_response_format_dto_1.ListResponseFormatDto)
|
57
|
+
], CommonListFilterDto.prototype, "format", void 0);
|
58
|
+
__decorate([
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
60
|
+
(0, class_validator_1.ValidateNested)(),
|
61
|
+
(0, class_transformer_1.Type)(() => date_filter_dto_1.DateFilterDto),
|
62
|
+
(0, class_transformer_1.Expose)(),
|
63
|
+
__metadata("design:type", date_filter_dto_1.DateFilterDto)
|
64
|
+
], CommonListFilterDto.prototype, "date", void 0);
|
65
|
+
__decorate([
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
67
|
+
(0, class_validator_1.ValidateNested)(),
|
68
|
+
(0, class_transformer_1.Type)(() => number_range_filter_dto_1.NumberRangeFilterDto),
|
69
|
+
(0, class_transformer_1.Expose)(),
|
70
|
+
__metadata("design:type", number_range_filter_dto_1.NumberRangeFilterDto)
|
71
|
+
], CommonListFilterDto.prototype, "amount", void 0);
|
72
|
+
__decorate([
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
74
|
+
(0, class_transformer_1.Expose)(),
|
75
|
+
__metadata("design:type", Object)
|
76
|
+
], CommonListFilterDto.prototype, "aggregate", void 0);
|
77
|
+
__decorate([
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
79
|
+
(0, class_transformer_1.Expose)(),
|
80
|
+
__metadata("design:type", String)
|
81
|
+
], CommonListFilterDto.prototype, "filter_query", void 0);
|
82
|
+
exports.CommonListFilterDto = CommonListFilterDto;
|
83
|
+
//# sourceMappingURL=common.list.filter.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.list.filter.dto.js","sourceRoot":"","sources":["../../../src/platformUtility/dtos/common.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA4G;AAC5G,uDAAkD;AAClD,yEAAmE;AACnE,uEAAiE;AAEjE,MAAa,mBAAmB;CAoD/B;AAnDG;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,0BAAM,GAAE;;mDACO;AAEhB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;kDACM;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,0BAAM,GAAE;;iDACK;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;kDACO;AAEhB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAM,GAAE;;uDACY;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAqB,CAAC;8BACzB,gDAAqB;mDAAC;AAE/B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;IAChB,IAAA,wBAAI,EAAC,GAAG,E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