ovi-kit 1.5.1 → 1.7.0
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/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/shared/dto/patient-minimal-data-response.dto.d.ts +2 -0
- package/dist/shared/dto/patient-minimal-data-response.dto.js +10 -0
- package/dist/shared/dto/patient-minimal-data-response.dto.js.map +1 -1
- package/dist/shared/modules/bull-mq/bull-mq.module.d.ts +5 -0
- package/dist/shared/modules/bull-mq/bull-mq.module.js +34 -0
- package/dist/shared/modules/bull-mq/bull-mq.module.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export { CustomHttpService } from './shared/modules/http/http.service';
|
|
|
36
36
|
export { RedisModule } from './shared/modules/redis/redis.module';
|
|
37
37
|
export { CustomHttpModule } from './shared/modules/http/http.module';
|
|
38
38
|
export { SharedModule } from './shared.module';
|
|
39
|
+
export { BullMqModule } from './shared/modules/bull-mq/bull-mq.module';
|
|
39
40
|
export type { MethodInfo } from './shared/types/method-info';
|
|
40
41
|
export type { MetaData } from './shared/types/meta-data';
|
|
41
42
|
export type { GeneralConfig } from './shared/types/config';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INTERNAL_SERVER_ERROR = exports.RpcErrorCode = exports.CustomRpcException = exports.WEEKDAYS = exports.SharedModule = exports.CustomHttpModule = exports.RedisModule = exports.CustomHttpService = exports.RedisService = exports.IsCardType = exports.CustomDate = exports.API_META_KEY = exports.ApiMeta = exports.BaseEntity = exports.getTitle = exports.createRandomPassword = exports.getFiveMinutesLater = exports.uuid = exports.PasswordVo = exports.OtpResponseDto = exports.ConfirmResponseDto = exports.SessionSecretResponseDto = exports.UserMinimalDataResponseDto = exports.GetByIdsDto = exports.CheckUserDto = exports.LoginDto = exports.BaseDto = exports.BaseResponseDto = exports.GetByIdDto = exports.GetByNameDto = exports.MetaDataDto = exports.PaginationResponseDto = exports.PaginationDto = exports.DeleteUserDto = exports.ForgotPasswordDto = exports.UserConfirmDto = exports.RevokeSessionDto = exports.ResetPasswordDto = exports.ResendOtpDto = exports.RecoveryPasswordDto = exports.MetaDto = void 0;
|
|
3
|
+
exports.INTERNAL_SERVER_ERROR = exports.RpcErrorCode = exports.CustomRpcException = exports.WEEKDAYS = exports.BullMqModule = exports.SharedModule = exports.CustomHttpModule = exports.RedisModule = exports.CustomHttpService = exports.RedisService = exports.IsCardType = exports.CustomDate = exports.API_META_KEY = exports.ApiMeta = exports.BaseEntity = exports.getTitle = exports.createRandomPassword = exports.getFiveMinutesLater = exports.uuid = exports.PasswordVo = exports.OtpResponseDto = exports.ConfirmResponseDto = exports.SessionSecretResponseDto = exports.UserMinimalDataResponseDto = exports.GetByIdsDto = exports.CheckUserDto = exports.LoginDto = exports.BaseDto = exports.BaseResponseDto = exports.GetByIdDto = exports.GetByNameDto = exports.MetaDataDto = exports.PaginationResponseDto = exports.PaginationDto = exports.DeleteUserDto = exports.ForgotPasswordDto = exports.UserConfirmDto = exports.RevokeSessionDto = exports.ResetPasswordDto = exports.ResendOtpDto = exports.RecoveryPasswordDto = exports.MetaDto = void 0;
|
|
4
4
|
var meta_data_dto_1 = require("./shared/dto/meta-data.dto");
|
|
5
5
|
Object.defineProperty(exports, "MetaDto", { enumerable: true, get: function () { return meta_data_dto_1.MetaDto; } });
|
|
6
6
|
var recovery_password_dto_1 = require("./shared/dto/recovery-password.dto");
|
|
@@ -75,6 +75,8 @@ var http_module_1 = require("./shared/modules/http/http.module");
|
|
|
75
75
|
Object.defineProperty(exports, "CustomHttpModule", { enumerable: true, get: function () { return http_module_1.CustomHttpModule; } });
|
|
76
76
|
var shared_module_1 = require("./shared.module");
|
|
77
77
|
Object.defineProperty(exports, "SharedModule", { enumerable: true, get: function () { return shared_module_1.SharedModule; } });
|
|
78
|
+
var bull_mq_module_1 = require("./shared/modules/bull-mq/bull-mq.module");
|
|
79
|
+
Object.defineProperty(exports, "BullMqModule", { enumerable: true, get: function () { return bull_mq_module_1.BullMqModule; } });
|
|
78
80
|
var weekdays_1 = require("./shared/arrays/weekdays");
|
|
79
81
|
Object.defineProperty(exports, "WEEKDAYS", { enumerable: true, get: function () { return weekdays_1.WEEKDAYS; } });
|
|
80
82
|
var custom_rpc_exception_1 = require("./shared/exceptions/custom-rpc.exception");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,4DAAqD;AAA5C,wGAAA,OAAO,OAAA;AAChB,4EAAyE;AAAhE,4HAAA,mBAAmB,OAAA;AAC5B,8DAA2D;AAAlD,8GAAA,YAAY,OAAA;AACrB,sEAAmE;AAA1D,sHAAA,gBAAgB,OAAA;AACzB,sEAAmE;AAA1D,sHAAA,gBAAgB,OAAA;AACzB,kEAA+D;AAAtD,kHAAA,cAAc,OAAA;AACvB,wEAAqE;AAA5D,wHAAA,iBAAiB,OAAA;AAC1B,gEAA6D;AAApD,gHAAA,aAAa,OAAA;AACtB,8DAA4D;AAAnD,+GAAA,aAAa,OAAA;AACtB,8DAAoE;AAA3D,uHAAA,qBAAqB,OAAA;AAC9B,4DAAyD;AAAhD,4GAAA,WAAW,OAAA;AACpB,gEAA4D;AAAnD,+GAAA,YAAY,OAAA;AACrB,4DAAwD;AAA/C,2GAAA,UAAU,OAAA;AACnB,oEAAiE;AAAxD,oHAAA,eAAe,OAAA;AACxB,kDAAgD;AAAvC,mGAAA,OAAO,OAAA;AAChB,oDAAkD;AAAzC,qGAAA,QAAQ,OAAA;AACjB,8DAA2D;AAAlD,8GAAA,YAAY,OAAA;AACrB,8DAA0D;AAAjD,6GAAA,WAAW,OAAA;AACpB,o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AAG1B,oEAAkE;AAAzD,2GAAA,WAAW,OAAA;AACpB,iEAAqE;AAA5D,+GAAA,gBAAgB,OAAA;AACzB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,0EAAuE;AAA9D,8GAAA,YAAY,OAAA;AA6BrB,qDAAoD;AAA3C,oGAAA,QAAQ,OAAA;AAGjB,iFAA8E;AAArE,0HAAA,kBAAkB,OAAA;AAG3B,kEAA8D;AAArD,+GAAA,YAAY,OAAA;AAGrB,gGAAwF;AAA/E,qIAAA,qBAAqB,OAAA"}
|
|
@@ -22,6 +22,8 @@ class UserMinimalDataResponseDto extends base_response_dto_1.BaseResponseDto {
|
|
|
22
22
|
telegram_user_id;
|
|
23
23
|
date_of_birth;
|
|
24
24
|
gender;
|
|
25
|
+
external_doctor_id;
|
|
26
|
+
external_provider_type;
|
|
25
27
|
}
|
|
26
28
|
exports.UserMinimalDataResponseDto = UserMinimalDataResponseDto;
|
|
27
29
|
__decorate([
|
|
@@ -60,4 +62,12 @@ __decorate([
|
|
|
60
62
|
(0, class_transformer_1.Expose)(),
|
|
61
63
|
__metadata("design:type", String)
|
|
62
64
|
], UserMinimalDataResponseDto.prototype, "gender", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], UserMinimalDataResponseDto.prototype, "external_doctor_id", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], UserMinimalDataResponseDto.prototype, "external_provider_type", void 0);
|
|
63
73
|
//# sourceMappingURL=patient-minimal-data-response.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient-minimal-data-response.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/patient-minimal-data-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,2DAAsD;AAEtD,MAAa,0BAA2B,SAAQ,mCAAe;IAE7D,IAAI,CAAS;IAGb,OAAO,CAAgB;IAGvB,SAAS,CAAiB;IAG1B,iBAAiB,CAAU;IAG3B,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAGjB,gBAAgB,CAAU;IAG1B,aAAa,CAAc;IAG3B,MAAM,CAAS;
|
|
1
|
+
{"version":3,"file":"patient-minimal-data-response.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/patient-minimal-data-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,2DAAsD;AAEtD,MAAa,0BAA2B,SAAQ,mCAAe;IAE7D,IAAI,CAAS;IAGb,OAAO,CAAgB;IAGvB,SAAS,CAAiB;IAG1B,iBAAiB,CAAU;IAG3B,OAAO,CAAS;IAGhB,QAAQ,CAAS;IAGjB,gBAAgB,CAAU;IAG1B,aAAa,CAAc;IAG3B,MAAM,CAAS;IAGf,kBAAkB,CAAgB;IAGlC,sBAAsB,CAAgB;CACvC;AAjCD,gEAiCC;AA/BC;IADC,IAAA,0BAAM,GAAE;;wDACI;AAGb;IADC,IAAA,0BAAM,GAAE;;2DACc;AAGvB;IADC,IAAA,0BAAM,GAAE;;6DACiB;AAG1B;IADC,IAAA,0BAAM,GAAE;;qEACkB;AAG3B;IADC,IAAA,0BAAM,GAAE;;2DACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;4DACQ;AAGjB;IADC,IAAA,0BAAM,GAAE;;oEACiB;AAG1B;IADC,IAAA,0BAAM,GAAE;;iEACkB;AAG3B;IADC,IAAA,0BAAM,GAAE;;0DACM;AAGf;IADC,IAAA,0BAAM,GAAE;;sEACyB;AAGlC;IADC,IAAA,0BAAM,GAAE;;0EAC6B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 BullMqModule_1;
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.BullMqModule = void 0;
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
const bullmq_1 = require("@nestjs/bullmq");
|
|
13
|
+
const config_1 = require("@nestjs/config");
|
|
14
|
+
let BullMqModule = BullMqModule_1 = class BullMqModule {
|
|
15
|
+
static forRootAsync() {
|
|
16
|
+
return {
|
|
17
|
+
module: BullMqModule_1,
|
|
18
|
+
imports: [config_1.ConfigModule],
|
|
19
|
+
global: true,
|
|
20
|
+
exports: [bullmq_1.BullModule],
|
|
21
|
+
providers: [],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static registerQueue(queueName) {
|
|
25
|
+
return bullmq_1.BullModule.registerQueue({
|
|
26
|
+
name: queueName,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.BullMqModule = BullMqModule;
|
|
31
|
+
exports.BullMqModule = BullMqModule = BullMqModule_1 = __decorate([
|
|
32
|
+
(0, common_1.Module)({})
|
|
33
|
+
], BullMqModule);
|
|
34
|
+
//# sourceMappingURL=bull-mq.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bull-mq.module.js","sourceRoot":"","sources":["../../../../src/shared/modules/bull-mq/bull-mq.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,2CAA4C;AAC5C,2CAA8C;AAGvC,IAAM,YAAY,oBAAlB,MAAM,YAAY;IACvB,MAAM,CAAC,YAAY;QACjB,OAAO;YACL,MAAM,EAAE,cAAY;YACpB,OAAO,EAAE,CAAC,qBAAY,CAAC;YACvB,MAAM,EAAE,IAAI;YACZ,OAAO,EAAE,CAAC,mBAAU,CAAC;YACrB,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,SAAiB;QACpC,OAAO,mBAAU,CAAC,aAAa,CAAC;YAC9B,IAAI,EAAE,SAAS;SAChB,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAhBY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,YAAY,CAgBxB"}
|