@serene-dev/la-nest-library 0.0.119 → 0.0.121

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.
Files changed (32) hide show
  1. package/dist/libs/la-library/src/dtos/search.dto.d.ts +3 -0
  2. package/dist/libs/la-library/src/dtos/search.dto.js +18 -0
  3. package/dist/libs/la-library/src/dtos/search.dto.js.map +1 -1
  4. package/dist/libs/la-library/src/enums/base.enum.d.ts +1 -0
  5. package/dist/libs/la-library/src/enums/base.enum.js +1 -0
  6. package/dist/libs/la-library/src/enums/base.enum.js.map +1 -1
  7. package/dist/libs/la-library/src/modules/base.module.d.ts +1 -1
  8. package/dist/libs/la-library/src/modules/cron/cron.controller.d.ts +12 -0
  9. package/dist/libs/la-library/src/modules/cron/cron.controller.js +58 -0
  10. package/dist/libs/la-library/src/modules/cron/cron.controller.js.map +1 -0
  11. package/dist/libs/la-library/src/modules/cron/cron.dto.d.ts +14 -0
  12. package/dist/libs/la-library/src/modules/cron/cron.dto.js +74 -0
  13. package/dist/libs/la-library/src/modules/cron/cron.dto.js.map +1 -0
  14. package/dist/libs/la-library/src/modules/cron/cron.entity.d.ts +9 -0
  15. package/dist/libs/la-library/src/modules/cron/cron.entity.js +43 -0
  16. package/dist/libs/la-library/src/modules/cron/cron.entity.js.map +1 -0
  17. package/dist/libs/la-library/src/modules/cron/cron.enum.d.ts +4 -0
  18. package/dist/libs/la-library/src/modules/cron/cron.enum.js +9 -0
  19. package/dist/libs/la-library/src/modules/cron/cron.enum.js.map +1 -0
  20. package/dist/libs/la-library/src/modules/cron/cron.interface.d.ts +0 -0
  21. package/dist/libs/la-library/src/modules/cron/cron.interface.js +1 -0
  22. package/dist/libs/la-library/src/modules/cron/cron.interface.js.map +1 -0
  23. package/dist/libs/la-library/src/modules/cron/cron.module.d.ts +7 -0
  24. package/dist/libs/la-library/src/modules/cron/cron.module.js +30 -0
  25. package/dist/libs/la-library/src/modules/cron/cron.module.js.map +1 -0
  26. package/dist/libs/la-library/src/modules/cron/cron.service.d.ts +9 -0
  27. package/dist/libs/la-library/src/modules/cron/cron.service.js +58 -0
  28. package/dist/libs/la-library/src/modules/cron/cron.service.js.map +1 -0
  29. package/dist/libs/la-library/src/services/environment.service.js +2 -2
  30. package/dist/libs/la-library/src/services/search.service.js +10 -0
  31. package/dist/libs/la-library/src/services/search.service.js.map +1 -1
  32. package/package.json +1 -1
@@ -2,10 +2,13 @@ import { BaseDto } from './base.dto';
2
2
  import { ESortOrder } from '../enums/search.enum';
3
3
  export declare class SearchQueryDto extends BaseDto {
4
4
  createdAt?: string;
5
+ updatedAt?: string;
5
6
  creatorId?: string;
6
7
  updaterId?: string;
7
8
  createdFrom?: string;
8
9
  createdTo?: string;
10
+ updatedFrom?: string;
11
+ updatedTo?: string;
9
12
  orgID?: string;
10
13
  pageNumber?: number;
11
14
  pageSize?: number;
@@ -23,6 +23,12 @@ __decorate([
23
23
  (0, swagger_1.ApiProperty)({ required: false, type: Date }),
24
24
  __metadata("design:type", String)
25
25
  ], SearchQueryDto.prototype, "createdAt", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsDateString)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, swagger_1.ApiProperty)({ required: false, type: Date }),
30
+ __metadata("design:type", String)
31
+ ], SearchQueryDto.prototype, "updatedAt", void 0);
26
32
  __decorate([
27
33
  (0, class_validator_1.IsString)(),
28
34
  (0, class_validator_1.IsOptional)(),
@@ -47,6 +53,18 @@ __decorate([
47
53
  (0, swagger_1.ApiProperty)({ required: false, type: Date }),
48
54
  __metadata("design:type", String)
49
55
  ], SearchQueryDto.prototype, "createdTo", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsDateString)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ (0, swagger_1.ApiProperty)({ required: false, type: Date }),
60
+ __metadata("design:type", String)
61
+ ], SearchQueryDto.prototype, "updatedFrom", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsDateString)(),
64
+ (0, class_validator_1.IsOptional)(),
65
+ (0, swagger_1.ApiProperty)({ required: false, type: Date }),
66
+ __metadata("design:type", String)
67
+ ], SearchQueryDto.prototype, "updatedTo", void 0);
50
68
  __decorate([
51
69
  (0, class_validator_1.IsOptional)(),
52
70
  (0, swagger_1.ApiProperty)({ required: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"search.dto.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/dtos/search.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yCAAqC;AACrC,qDAA6E;AAC7E,sDAAkD;AAElD,MAAa,cAAe,SAAQ,kBAAO;CAgD1C;AAhDD,wCAgDC;AA5CC;IAHC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDAC1B;AAKV;IAHR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;iDACL;AAKnB;IAHR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;iDACL;AAK5B;IAHC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDACxB;AAKrB;IAHC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDAC1B;AAIV;IAFR,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,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AAI,EAAE,wBAAU,EAAE,CAAC;;qDACxB"}
@@ -2,6 +2,7 @@ export declare enum ETableName {
2
2
  likes = "likes",
3
3
  file = "file",
4
4
  logs = "logs",
5
+ cron = "cron",
5
6
  message = "message",
6
7
  messageRecipient = "message_recipient",
7
8
  lists = "lists",
@@ -6,6 +6,7 @@ var ETableName;
6
6
  ETableName["likes"] = "likes";
7
7
  ETableName["file"] = "file";
8
8
  ETableName["logs"] = "logs";
9
+ ETableName["cron"] = "cron";
9
10
  ETableName["message"] = "message";
10
11
  ETableName["messageRecipient"] = "message_recipient";
11
12
  ETableName["lists"] = "lists";
@@ -1 +1 @@
1
- {"version":3,"file":"base.enum.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/enums/base.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAgBX;AAhBD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,oDAAsC,CAAA;IACtC,6BAAe,CAAA;IACf,2CAA6B,CAAA;IAC7B,+CAAiC,CAAA;IACjC,8CAAgC,CAAA;IAChC,4CAA8B,CAAA;IAC9B,oDAAsC,CAAA;IACtC,kCAAoB,CAAA;IACpB,2BAAa,CAAA;IACb,2CAA6B,CAAA;IAC7B,wDAA0C,CAAA;AAC5C,CAAC,EAhBW,UAAU,0BAAV,UAAU,QAgBrB;AAED,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,wBAAa,CAAA;AACf,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB"}
1
+ {"version":3,"file":"base.enum.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/enums/base.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAiBX;AAjBD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,oDAAsC,CAAA;IACtC,6BAAe,CAAA;IACf,2CAA6B,CAAA;IAC7B,+CAAiC,CAAA;IACjC,8CAAgC,CAAA;IAChC,4CAA8B,CAAA;IAC9B,oDAAsC,CAAA;IACtC,kCAAoB,CAAA;IACpB,2BAAa,CAAA;IACb,2CAA6B,CAAA;IAC7B,wDAA0C,CAAA;AAC5C,CAAC,EAjBW,UAAU,0BAAV,UAAU,QAiBrB;AAED,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,wBAAa,CAAA;AACf,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB"}
@@ -3,5 +3,5 @@ import { EntityClassOrSchema } from '@nestjs/typeorm/dist/interfaces/entity-clas
3
3
  export declare class BaseModule {
4
4
  static entities: EntityClassOrSchema[];
5
5
  static services: Provider[];
6
- static controlelrs: Type<any>[];
6
+ static controllers: Type<any>[];
7
7
  }
@@ -0,0 +1,12 @@
1
+ import { CronEntity } from './cron.entity';
2
+ import { CronSearchQueryDTO } from './cron.dto';
3
+ import { CronService } from './cron.service';
4
+ import { ECronType } from './cron.enum';
5
+ import { BaseController } from '../../controllers/base.controller';
6
+ export declare class CronController extends BaseController<CronEntity, CronSearchQueryDTO> {
7
+ service: CronService;
8
+ subject: string;
9
+ constructor(service: CronService);
10
+ getCronTypes(): Promise<string | (string | ECronType)[]>;
11
+ search(query: CronSearchQueryDTO): Promise<import("../..").ISearchResponse<CronEntity>>;
12
+ }
@@ -0,0 +1,58 @@
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.CronController = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const swagger_1 = require("@nestjs/swagger");
15
+ const cron_dto_1 = require("./cron.dto");
16
+ const cron_service_1 = require("./cron.service");
17
+ const cron_enum_1 = require("./cron.enum");
18
+ const base_controller_1 = require("../../controllers/base.controller");
19
+ const utility_service_1 = require("../../services/utility.service");
20
+ let CronController = class CronController extends base_controller_1.BaseController {
21
+ constructor(service) {
22
+ super(service);
23
+ this.service = service;
24
+ this.subject = `Cron`;
25
+ }
26
+ async getCronTypes() {
27
+ try {
28
+ return utility_service_1.UtilityClass.handleSuccess({
29
+ data: Object.values(cron_enum_1.ECronType),
30
+ });
31
+ }
32
+ catch (error) {
33
+ return utility_service_1.UtilityClass.handleError(error);
34
+ }
35
+ }
36
+ async search(query) {
37
+ return super.search(query);
38
+ }
39
+ };
40
+ exports.CronController = CronController;
41
+ __decorate([
42
+ (0, common_1.Get)('cronTypes'),
43
+ __metadata("design:type", Function),
44
+ __metadata("design:paramtypes", []),
45
+ __metadata("design:returntype", Promise)
46
+ ], CronController.prototype, "getCronTypes", null);
47
+ __decorate([
48
+ (0, common_1.Get)('search'),
49
+ __metadata("design:type", Function),
50
+ __metadata("design:paramtypes", [cron_dto_1.CronSearchQueryDTO]),
51
+ __metadata("design:returntype", Promise)
52
+ ], CronController.prototype, "search", null);
53
+ exports.CronController = CronController = __decorate([
54
+ (0, swagger_1.ApiTags)(cron_service_1.CronService.tag),
55
+ (0, common_1.Controller)(cron_service_1.CronService.path),
56
+ __metadata("design:paramtypes", [cron_service_1.CronService])
57
+ ], CronController);
58
+ //# sourceMappingURL=cron.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.controller.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiD;AACjD,6CAA0C;AAE1C,yCAAgD;AAChD,iDAA6C;AAC7C,2CAAwC;AACxC,uEAAmE;AACnE,oEAA8D;AAIvD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,gCAGnC;IAEC,YAA4B,OAAoB;QAC9C,KAAK,CAAC,OAAO,CAAC,CAAC;QADW,YAAO,GAAP,OAAO,CAAa;QADvC,YAAO,GAAG,MAAM,CAAC;IAG1B,CAAC;IAGK,AAAN,KAAK,CAAC,YAAY;QAChB,IAAI,CAAC;YACH,OAAO,8BAAY,CAAC,aAAa,CAAC;gBAChC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,qBAAS,CAAC;aAC/B,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,8BAAY,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAGc,AAAN,KAAK,CAAC,MAAM,CAAC,KAAyB;QAC7C,OAAO,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;CACF,CAAA;AAxBY,wCAAc;AAUnB;IADL,IAAA,YAAG,EAAC,WAAW,CAAC;;;;kDAShB;AAGc;IADd,IAAA,YAAG,EAAC,QAAQ,CAAC;;qCACe,6BAAkB;;4CAE9C;yBAvBU,cAAc;IAF1B,IAAA,iBAAO,EAAC,0BAAW,CAAC,GAAG,CAAC;IACxB,IAAA,mBAAU,EAAC,0BAAW,CAAC,IAAI,CAAC;qCAMU,0BAAW;GALrC,cAAc,CAwB1B"}
@@ -0,0 +1,14 @@
1
+ import { SearchQueryDto } from '../../dtos/search.dto';
2
+ import { CronEntity } from './cron.entity';
3
+ import { ECronType } from './cron.enum';
4
+ export declare class CronSearchQueryDTO extends SearchQueryDto implements Partial<CronEntity> {
5
+ resultText?: string;
6
+ error?: string;
7
+ type?: ECronType;
8
+ duration?: number;
9
+ durationMin?: number;
10
+ durationMax?: number;
11
+ endedAt?: string;
12
+ endedFrom?: string;
13
+ endedTo?: string;
14
+ }
@@ -0,0 +1,74 @@
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.CronSearchQueryDTO = void 0;
13
+ const search_dto_1 = require("../../dtos/search.dto");
14
+ const cron_enum_1 = require("./cron.enum");
15
+ const swagger_1 = require("@nestjs/swagger");
16
+ const class_validator_1 = require("class-validator");
17
+ class CronSearchQueryDTO extends search_dto_1.SearchQueryDto {
18
+ }
19
+ exports.CronSearchQueryDTO = CronSearchQueryDTO;
20
+ __decorate([
21
+ (0, swagger_1.ApiPropertyOptional)(),
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_validator_1.IsString)(),
24
+ __metadata("design:type", String)
25
+ ], CronSearchQueryDTO.prototype, "resultText", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiPropertyOptional)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsString)(),
30
+ __metadata("design:type", String)
31
+ ], CronSearchQueryDTO.prototype, "error", void 0);
32
+ __decorate([
33
+ (0, swagger_1.ApiPropertyOptional)({ enum: cron_enum_1.ECronType }),
34
+ (0, class_validator_1.IsEnum)(cron_enum_1.ECronType),
35
+ (0, class_validator_1.IsOptional)(),
36
+ __metadata("design:type", Number)
37
+ ], CronSearchQueryDTO.prototype, "type", void 0);
38
+ __decorate([
39
+ (0, swagger_1.ApiPropertyOptional)(),
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsNumberString)(),
42
+ __metadata("design:type", Number)
43
+ ], CronSearchQueryDTO.prototype, "duration", void 0);
44
+ __decorate([
45
+ (0, swagger_1.ApiPropertyOptional)(),
46
+ (0, class_validator_1.IsOptional)(),
47
+ (0, class_validator_1.IsNumberString)(),
48
+ __metadata("design:type", Number)
49
+ ], CronSearchQueryDTO.prototype, "durationMin", void 0);
50
+ __decorate([
51
+ (0, swagger_1.ApiPropertyOptional)(),
52
+ (0, class_validator_1.IsOptional)(),
53
+ (0, class_validator_1.IsNumberString)(),
54
+ __metadata("design:type", Number)
55
+ ], CronSearchQueryDTO.prototype, "durationMax", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsDateString)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ (0, swagger_1.ApiProperty)({ required: false, type: Date }),
60
+ __metadata("design:type", String)
61
+ ], CronSearchQueryDTO.prototype, "endedAt", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsDateString)(),
64
+ (0, class_validator_1.IsOptional)(),
65
+ (0, swagger_1.ApiProperty)({ required: false, type: Date }),
66
+ __metadata("design:type", String)
67
+ ], CronSearchQueryDTO.prototype, "endedFrom", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsDateString)(),
70
+ (0, class_validator_1.IsOptional)(),
71
+ (0, swagger_1.ApiProperty)({ required: false, type: Date }),
72
+ __metadata("design:type", String)
73
+ ], CronSearchQueryDTO.prototype, "endedTo", void 0);
74
+ //# sourceMappingURL=cron.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.dto.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAuD;AAEvD,2CAAwC;AACxC,6CAAmE;AACnE,qDAMyB;AAEzB,MAAa,kBACX,SAAQ,2BAAc;CA0CvB;AA3CD,gDA2CC;AApCC;IAHC,IAAA,6BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;AAIpB;IAHC,IAAA,6BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACI;AAIf;IAHC,IAAA,6BAAmB,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IACxC,IAAA,wBAAM,EAAC,qBAAS,CAAC;IACjB,IAAA,4BAAU,GAAE;;gDACI;AAIjB;IAHC,IAAA,6BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;;oDACC;AAIlB;IAHC,IAAA,6BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;;uDACI;AAIrB;IAHC,IAAA,6BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;;uDACI;AAKrB;IAHC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDAC5B;AAKjB;IAHC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDAC1B;AAKnB;IAHC,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDAC5B"}
@@ -0,0 +1,9 @@
1
+ import { ECronType } from './cron.enum';
2
+ import { BaseEntity } from '../../entities/base.entity';
3
+ export declare class CronEntity extends BaseEntity {
4
+ resultText?: string;
5
+ error?: string;
6
+ type: ECronType;
7
+ duration?: number;
8
+ endedAt: string;
9
+ }
@@ -0,0 +1,43 @@
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.CronEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const cron_enum_1 = require("./cron.enum");
15
+ const base_enum_1 = require("../../enums/base.enum");
16
+ const base_entity_1 = require("../../entities/base.entity");
17
+ let CronEntity = class CronEntity extends base_entity_1.BaseEntity {
18
+ };
19
+ exports.CronEntity = CronEntity;
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
22
+ __metadata("design:type", String)
23
+ ], CronEntity.prototype, "resultText", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
26
+ __metadata("design:type", String)
27
+ ], CronEntity.prototype, "error", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: 'enum', enum: cron_enum_1.ECronType }),
30
+ __metadata("design:type", Number)
31
+ ], CronEntity.prototype, "type", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: 'float', nullable: true }),
34
+ __metadata("design:type", Number)
35
+ ], CronEntity.prototype, "duration", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
38
+ __metadata("design:type", String)
39
+ ], CronEntity.prototype, "endedAt", void 0);
40
+ exports.CronEntity = CronEntity = __decorate([
41
+ (0, typeorm_1.Entity)(base_enum_1.ETableName.cron)
42
+ ], CronEntity);
43
+ //# sourceMappingURL=cron.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.entity.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,2CAAwC;AACxC,qDAAmD;AACnD,4DAAwD;AAGjD,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;CAYzC,CAAA;AAZY,gCAAU;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACrB;AAEpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC1B;AAEf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;;wCAC1B;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACxB;AAElB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAC9B;qBAXL,UAAU;IADtB,IAAA,gBAAM,EAAC,sBAAU,CAAC,IAAI,CAAC;GACX,UAAU,CAYtB"}
@@ -0,0 +1,4 @@
1
+ export declare enum ECronType {
2
+ dailyUpdate = 0,
3
+ realtimeUpdate = 1
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ECronType = void 0;
4
+ var ECronType;
5
+ (function (ECronType) {
6
+ ECronType[ECronType["dailyUpdate"] = 0] = "dailyUpdate";
7
+ ECronType[ECronType["realtimeUpdate"] = 1] = "realtimeUpdate";
8
+ })(ECronType || (exports.ECronType = ECronType = {}));
9
+ //# sourceMappingURL=cron.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.enum.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,uDAAW,CAAA;IACX,6DAAc,CAAA;AAChB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=cron.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.interface.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { CronEntity } from './cron.entity';
2
+ import { CronController } from './cron.controller';
3
+ import { BaseModule } from '../base.module';
4
+ export declare class CronModule extends BaseModule {
5
+ static entities: (typeof CronEntity)[];
6
+ static controllers: (typeof CronController)[];
7
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.CronModule = void 0;
10
+ const common_1 = require("@nestjs/common");
11
+ const typeorm_1 = require("@nestjs/typeorm");
12
+ const cron_entity_1 = require("./cron.entity");
13
+ const cron_controller_1 = require("./cron.controller");
14
+ const cron_service_1 = require("./cron.service");
15
+ const base_module_1 = require("../base.module");
16
+ const providers = [cron_service_1.CronService];
17
+ let CronModule = class CronModule extends base_module_1.BaseModule {
18
+ };
19
+ exports.CronModule = CronModule;
20
+ CronModule.entities = [cron_entity_1.CronEntity];
21
+ CronModule.controllers = [cron_controller_1.CronController];
22
+ exports.CronModule = CronModule = __decorate([
23
+ (0, common_1.Module)({
24
+ imports: [typeorm_1.TypeOrmModule.forFeature(CronModule.entities)],
25
+ providers: [...providers],
26
+ exports: [...providers],
27
+ controllers: CronModule.controllers,
28
+ })
29
+ ], CronModule);
30
+ //# sourceMappingURL=cron.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.module.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,+CAA2C;AAC3C,uDAAmD;AACnD,iDAA6C;AAC7C,gDAA4C;AAE5C,MAAM,SAAS,GAAG,CAAC,0BAAW,CAAC,CAAC;AAOzB,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,wBAAU;;AAA7B,gCAAU;AACL,mBAAQ,GAAG,CAAC,wBAAU,CAAC,AAAf,CAAgB;AACxB,sBAAW,GAAG,CAAC,gCAAc,CAAC,AAAnB,CAAoB;qBAFpC,UAAU;IANtB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,uBAAa,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QACxD,SAAS,EAAE,CAAC,GAAG,SAAS,CAAC;QACzB,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;QACvB,WAAW,EAAE,UAAU,CAAC,WAAW;KACpC,CAAC;GACW,UAAU,CAGtB"}
@@ -0,0 +1,9 @@
1
+ import { Repository } from 'typeorm';
2
+ import { CronEntity } from './cron.entity';
3
+ import { CronSearchQueryDTO } from './cron.dto';
4
+ import { BaseService } from '../../services/base.service';
5
+ export declare class CronService extends BaseService<CronEntity, CronSearchQueryDTO> {
6
+ readonly repo: Repository<CronEntity>;
7
+ static path: string;
8
+ constructor(repo: Repository<CronEntity>);
9
+ }
@@ -0,0 +1,58 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CronService = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const typeorm_1 = require("typeorm");
18
+ const cron_entity_1 = require("./cron.entity");
19
+ const typeorm_2 = require("@nestjs/typeorm");
20
+ const base_enum_1 = require("../../enums/base.enum");
21
+ const search_enum_1 = require("../../enums/search.enum");
22
+ const base_service_1 = require("../../services/base.service");
23
+ let CronService = class CronService extends base_service_1.BaseService {
24
+ constructor(repo) {
25
+ super(repo, base_enum_1.ETableName.cron);
26
+ this.repo = repo;
27
+ this.queryStruct = [
28
+ {
29
+ condition: search_enum_1.ESearchCondition.between,
30
+ lowerRange: 'endedFrom',
31
+ upperRange: 'endedTo',
32
+ field: 'endedAt',
33
+ },
34
+ {
35
+ field: 'endedAt',
36
+ },
37
+ {
38
+ condition: search_enum_1.ESearchCondition.contains,
39
+ field: 'resultText',
40
+ },
41
+ {
42
+ condition: search_enum_1.ESearchCondition.contains,
43
+ field: 'error',
44
+ },
45
+ {
46
+ field: 'type',
47
+ },
48
+ ];
49
+ }
50
+ };
51
+ exports.CronService = CronService;
52
+ CronService.path = `cron`;
53
+ exports.CronService = CronService = __decorate([
54
+ (0, common_1.Injectable)(),
55
+ __param(0, (0, typeorm_2.InjectRepository)(cron_entity_1.CronEntity)),
56
+ __metadata("design:paramtypes", [typeorm_1.Repository])
57
+ ], CronService);
58
+ //# sourceMappingURL=cron.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.service.js","sourceRoot":"","sources":["../../../../../../libs/la-library/src/modules/cron/cron.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qCAAqC;AACrC,+CAA2C;AAC3C,6CAAmD;AAEnD,qDAAmD;AACnD,yDAA2D;AAC3D,8DAA0D;AAGnD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,0BAA2C;IAG1E,YAE2B,IAA4B;QAErD,KAAK,CAAC,IAAI,EAAE,sBAAU,CAAC,IAAI,CAAC,CAAC;QAFJ,SAAI,GAAJ,IAAI,CAAwB;QAGrD,IAAI,CAAC,WAAW,GAAG;YACjB;gBACE,SAAS,EAAE,8BAAgB,CAAC,OAAO;gBACnC,UAAU,EAAE,WAAW;gBACvB,UAAU,EAAE,SAAS;gBACrB,KAAK,EAAE,SAAS;aACjB;YACD;gBACE,KAAK,EAAE,SAAS;aACjB;YACD;gBACE,SAAS,EAAE,8BAAgB,CAAC,QAAQ;gBACpC,KAAK,EAAE,YAAY;aACpB;YACD;gBACE,SAAS,EAAE,8BAAgB,CAAC,QAAQ;gBACpC,KAAK,EAAE,OAAO;aACf;YACD;gBACE,KAAK,EAAE,MAAM;aACd;SACF,CAAC;IACJ,CAAC;;AA9BU,kCAAW;AACN,gBAAI,GAAG,MAAM,AAAT,CAAU;sBADnB,WAAW;IADvB,IAAA,mBAAU,GAAE;IAKR,WAAA,IAAA,0BAAgB,EAAC,wBAAU,CAAC,CAAA;qCACE,oBAAU;GALhC,WAAW,CA+BvB"}
@@ -34,13 +34,13 @@ class ISDKEnvironment {
34
34
  this.SYNCHRONIZE = null;
35
35
  }
36
36
  get isProduction() {
37
- return this.ENVIRONMENT != 'production';
37
+ return this.ENVIRONMENT == 'production';
38
38
  }
39
39
  get isDev() {
40
40
  return this.ENVIRONMENT == 'dev';
41
41
  }
42
42
  get isStaging() {
43
- return this.ENVIRONMENT != 'staging';
43
+ return this.ENVIRONMENT == 'staging';
44
44
  }
45
45
  }
46
46
  exports.ISDKEnvironment = ISDKEnvironment;
@@ -85,10 +85,20 @@ SearchService.defaultQueryStruct = [
85
85
  upperRange: 'createdTo',
86
86
  field: 'createdAt',
87
87
  },
88
+ {
89
+ condition: search_enum_1.ESearchCondition.between,
90
+ lowerRange: 'updatedFrom',
91
+ upperRange: 'updatedTo',
92
+ field: 'updatedAt',
93
+ },
88
94
  {
89
95
  condition: search_enum_1.ESearchCondition.equal,
90
96
  field: 'createdAt',
91
97
  },
98
+ {
99
+ condition: search_enum_1.ESearchCondition.equal,
100
+ field: 'updatedAt',
101
+ },
92
102
  {
93
103
  condition: search_enum_1.ESearchCondition.equal,
94
104
  field: 'creatorId',
@@ -1 +1 @@
1
- {"version":3,"file":"search.service.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/services/search.service.ts"],"names":[],"mappings":";;;AACA,sDAAoE;AAMpE,+DAA4C;AAE5C,MAAa,aAAa;IAiCxB,MAAM,CAAC,KAAK,CAAC,MAAM,CACjB,EACE,UAAU,EACV,SAAS,GAC0C,EACrD,KAAoC,EACpC,WAA8C;QAE9C,MAAM,UAAU,GAAG,UAAU,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAE5D,MAAM,EAAE,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAC/D,KAAK,MAAM,UAAU,IAAI,EAA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D;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,OAAO;KACf;CACF,CAAC"}
1
+ {"version":3,"file":"search.service.js","sourceRoot":"","sources":["../../../../../libs/la-library/src/services/search.service.ts"],"names":[],"mappings":";;;AACA,sDAAoE;AAMpE,+DAA4C;AAE5C,MAAa,aAAa;IA2CxB,MAAM,CAAC,KAAK,CAAC,MAAM,CACjB,EACE,UAAU,EACV,SAAS,GAC0C,EACrD,KAAoC,EACpC,WAA8C;QAE9C,MAAM,UAAU,GAAG,UAAU,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAE5D,MAAM,EAAE,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAC/D,KAAK,MAAM,UAAU,IAAI,EAAE,EAAE,CAAC;YAC5B,MAAM,MAAM,GAAG,GAAG,SAAS,IAAI,UAAU,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,CAAC;YAC9D,IAAI,UAAU,CAAC,SAAS,IAAI,8BAAgB,CAAC,QAAQ,EAAE,CAAC;gBACtD,UAAU,CAAC,iBAAiB,CAAC,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;YAC9D,CAAC;iBAAM,IAAI,UAAU,CAAC,SAAS,IAAI,8BAAgB,CAAC,OAAO,EAAE,CAAC;gBAC5D,IACE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,IAAI;oBACpC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,IAAI,EACpC,CAAC;oBACD,UAAU,CAAC,QAAQ,CACjB,GAAG,MAAM,aAAa,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,UAChD,KAAK,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I,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;IACvD,CAAC;;AAtIH,sCAuIC;AAtIQ,kCAAoB,GAAG,CAAI,MAA6B,EAAE,EAAE;IACjE,MAAM,GAAG,GAA6B,EAAS,CAAC;IAChD,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;YAC5B,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;QAC9B,CAAC;;YAAM,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;IAChC,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAEK,gCAAkB,GAAuC;IAC9D;QACE,SAAS,EAAE,8BAAgB,CAAC,OAAO;QACnC,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,WAAW;QACvB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,OAAO;QACnC,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,WAAW;QACvB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,WAAW;KACnB;IACD;QACE,SAAS,EAAE,8BAAgB,CAAC,KAAK;QACjC,KAAK,EAAE,OAAO;KACf;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serene-dev/la-nest-library",
3
- "version": "0.0.119",
3
+ "version": "0.0.121",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",