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 | const swagger_1 = require("@nestjs/swagger");
|
13 | class APILinks {
|
14 | }
|
15 | __decorate([
|
16 | swagger_1.ApiModelProperty({ description: 'The homepage url of the package' }),
|
17 | __metadata("design:type", String)
|
18 | ], APILinks.prototype, "homepage", void 0);
|
19 | __decorate([
|
20 | swagger_1.ApiModelProperty({ description: 'The bug report url of the package' }),
|
21 | __metadata("design:type", String)
|
22 | ], APILinks.prototype, "bug_report", void 0);
|
23 | __decorate([
|
24 | swagger_1.ApiModelProperty({ description: 'The repository url of the package' }),
|
25 | __metadata("design:type", String)
|
26 | ], APILinks.prototype, "repository", void 0);
|
27 | __decorate([
|
28 | swagger_1.ApiModelProperty({ description: ' The api documentation url' }),
|
29 | __metadata("design:type", String)
|
30 | ], APILinks.prototype, "docs", void 0);
|
31 | exports.APILinks = APILinks;
|
32 | class APIDto {
|
33 | }
|
34 | __decorate([
|
35 | swagger_1.ApiModelProperty({ description: 'The version of the API' }),
|
36 | __metadata("design:type", String)
|
37 | ], APIDto.prototype, "api_version", void 0);
|
38 | __decorate([
|
39 | swagger_1.ApiModelProperty({ description: 'The version of the npm package of the running API' }),
|
40 | __metadata("design:type", String)
|
41 | ], APIDto.prototype, "package_version", void 0);
|
42 | __decorate([
|
43 | swagger_1.ApiModelProperty({ description: 'The name of the npm package' }),
|
44 | __metadata("design:type", String)
|
45 | ], APIDto.prototype, "name", void 0);
|
46 | __decorate([
|
47 | swagger_1.ApiModelProperty({ description: 'The description of the npm package' }),
|
48 | __metadata("design:type", String)
|
49 | ], APIDto.prototype, "description", void 0);
|
50 | __decorate([
|
51 | swagger_1.ApiModelProperty({ description: 'Further links related to the API' }),
|
52 | __metadata("design:type", APILinks)
|
53 | ], APIDto.prototype, "_links", void 0);
|
54 | exports.APIDto = APIDto;
|
55 |
|
\ | No newline at end of file |