@umapi/contracts 1.0.12 → 1.0.13

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.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * DTO для ответа с информацией о приложении
3
+ */
4
+ export declare class AppInfoResponseDto {
5
+ name: string;
6
+ version: string;
7
+ description: string;
8
+ timestamp: string;
9
+ }
10
+ //# sourceMappingURL=app-info-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-info-response.dto.d.ts","sourceRoot":"","sources":["../../src/dto/app-info-response.dto.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,kBAAkB;IAE3B,IAAI,EAAG,MAAM,CAAC;IAGd,OAAO,EAAG,MAAM,CAAC;IAGjB,WAAW,EAAG,MAAM,CAAC;IAGrB,SAAS,EAAG,MAAM,CAAC;CACtB"}
@@ -0,0 +1,36 @@
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.AppInfoResponseDto = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ /**
15
+ * DTO для ответа с информацией о приложении
16
+ */
17
+ class AppInfoResponseDto {
18
+ }
19
+ exports.AppInfoResponseDto = AppInfoResponseDto;
20
+ __decorate([
21
+ (0, swagger_1.ApiProperty)({ description: 'Название приложения' }),
22
+ __metadata("design:type", String)
23
+ ], AppInfoResponseDto.prototype, "name", void 0);
24
+ __decorate([
25
+ (0, swagger_1.ApiProperty)({ description: 'Версия приложения' }),
26
+ __metadata("design:type", String)
27
+ ], AppInfoResponseDto.prototype, "version", void 0);
28
+ __decorate([
29
+ (0, swagger_1.ApiProperty)({ description: 'Описание приложения' }),
30
+ __metadata("design:type", String)
31
+ ], AppInfoResponseDto.prototype, "description", void 0);
32
+ __decorate([
33
+ (0, swagger_1.ApiProperty)({ description: 'Временная метка' }),
34
+ __metadata("design:type", String)
35
+ ], AppInfoResponseDto.prototype, "timestamp", void 0);
36
+ //# sourceMappingURL=app-info-response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-info-response.dto.js","sourceRoot":"","sources":["../../src/dto/app-info-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C;;GAEG;AACH,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAVG;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;;gDACtC;AAGd;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;;mDACjC;AAGjB;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;;uDAC/B;AAGrB;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;;qDAC7B"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * DTO для ответа проверки здоровья сервиса
3
+ */
4
+ export declare class HealthResponseDto {
5
+ status: string;
6
+ timestamp: string;
7
+ }
8
+ //# sourceMappingURL=health-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-response.dto.d.ts","sourceRoot":"","sources":["../../src/dto/health-response.dto.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,iBAAiB;IAE1B,MAAM,EAAG,MAAM,CAAC;IAGhB,SAAS,EAAG,MAAM,CAAC;CACtB"}
@@ -0,0 +1,28 @@
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.HealthResponseDto = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ /**
15
+ * DTO для ответа проверки здоровья сервиса
16
+ */
17
+ class HealthResponseDto {
18
+ }
19
+ exports.HealthResponseDto = HealthResponseDto;
20
+ __decorate([
21
+ (0, swagger_1.ApiProperty)({ description: 'Статус здоровья', example: 'ok' }),
22
+ __metadata("design:type", String)
23
+ ], HealthResponseDto.prototype, "status", void 0);
24
+ __decorate([
25
+ (0, swagger_1.ApiProperty)({ description: 'Временная метка' }),
26
+ __metadata("design:type", String)
27
+ ], HealthResponseDto.prototype, "timestamp", void 0);
28
+ //# sourceMappingURL=health-response.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-response.dto.js","sourceRoot":"","sources":["../../src/dto/health-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C;;GAEG;AACH,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAJG;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;iDAC/C;AAGhB;IADC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;;oDAC7B"}
@@ -1,3 +1,5 @@
1
+ export { AppInfoResponseDto } from './app-info-response.dto';
2
+ export { HealthResponseDto } from './health-response.dto';
1
3
  export { OtpRequestDto } from './otp-request.dto';
2
4
  export { OtpVerifyRequestDto } from './otp-verify-request.dto';
3
5
  export { TokensResponseDto } from './tokens-response.dto';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
package/dist/dto/index.js CHANGED
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserResponseDto = exports.UserRequestDto = exports.TokensResponseDto = exports.OtpVerifyRequestDto = exports.OtpRequestDto = void 0;
3
+ exports.UserResponseDto = exports.UserRequestDto = exports.TokensResponseDto = exports.OtpVerifyRequestDto = exports.OtpRequestDto = exports.HealthResponseDto = exports.AppInfoResponseDto = void 0;
4
+ var app_info_response_dto_1 = require("./app-info-response.dto");
5
+ Object.defineProperty(exports, "AppInfoResponseDto", { enumerable: true, get: function () { return app_info_response_dto_1.AppInfoResponseDto; } });
6
+ var health_response_dto_1 = require("./health-response.dto");
7
+ Object.defineProperty(exports, "HealthResponseDto", { enumerable: true, get: function () { return health_response_dto_1.HealthResponseDto; } });
4
8
  var otp_request_dto_1 = require("./otp-request.dto");
5
9
  Object.defineProperty(exports, "OtpRequestDto", { enumerable: true, get: function () { return otp_request_dto_1.OtpRequestDto; } });
6
10
  var otp_verify_request_dto_1 = require("./otp-verify-request.dto");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAAzC,gHAAA,aAAa,OAAA;AACtB,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA;AAC5B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,uDAAoD;AAA3C,kHAAA,cAAc,OAAA;AACvB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAApD,2HAAA,kBAAkB,OAAA;AAC3B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,qDAAkD;AAAzC,gHAAA,aAAa,OAAA;AACtB,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA;AAC5B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,uDAAoD;AAA3C,kHAAA,cAAc,OAAA;AACvB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umapi/contracts",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Shared contracts for UMAPI microservices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",