jp.ms.common.modules 1.0.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/config/database.d.ts +3 -0
- package/dist/config/database.js +13 -0
- package/dist/config/database.js.map +1 -0
- package/dist/config/index.d.ts +3 -0
- package/dist/config/index.js +10 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/locale.d.ts +2 -0
- package/dist/config/locale.js +26 -0
- package/dist/config/locale.js.map +1 -0
- package/dist/config/menu.d.ts +2 -0
- package/dist/config/menu.js +10 -0
- package/dist/config/menu.js.map +1 -0
- package/dist/dto/app-screen/app-screen-app-bar.dto.d.ts +8 -0
- package/dist/dto/app-screen/app-screen-app-bar.dto.js +56 -0
- package/dist/dto/app-screen/app-screen-app-bar.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen-section-button.dto.d.ts +8 -0
- package/dist/dto/app-screen/app-screen-section-button.dto.js +74 -0
- package/dist/dto/app-screen/app-screen-section-button.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen-section-buttons.dto.d.ts +6 -0
- package/dist/dto/app-screen/app-screen-section-buttons.dto.js +30 -0
- package/dist/dto/app-screen/app-screen-section-buttons.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen-section-image.dto.d.ts +6 -0
- package/dist/dto/app-screen/app-screen-section-image.dto.js +52 -0
- package/dist/dto/app-screen/app-screen-section-image.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen-section-list-item.dto.d.ts +17 -0
- package/dist/dto/app-screen/app-screen-section-list-item.dto.js +141 -0
- package/dist/dto/app-screen/app-screen-section-list-item.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen-section-req.dto.d.ts +6 -0
- package/dist/dto/app-screen/app-screen-section-req.dto.js +52 -0
- package/dist/dto/app-screen/app-screen-section-req.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen-section.dto.d.ts +16 -0
- package/dist/dto/app-screen/app-screen-section.dto.js +106 -0
- package/dist/dto/app-screen/app-screen-section.dto.js.map +1 -0
- package/dist/dto/app-screen/app-screen.dto.d.ts +9 -0
- package/dist/dto/app-screen/app-screen.dto.js +57 -0
- package/dist/dto/app-screen/app-screen.dto.js.map +1 -0
- package/dist/dto/app-screen/base-app-screen.dto.d.ts +6 -0
- package/dist/dto/app-screen/base-app-screen.dto.js +27 -0
- package/dist/dto/app-screen/base-app-screen.dto.js.map +1 -0
- package/dist/dto/app-screen/index.d.ts +9 -0
- package/dist/dto/app-screen/index.js +22 -0
- package/dist/dto/app-screen/index.js.map +1 -0
- package/dist/dto/base/base-table-summary-item.dto.d.ts +8 -0
- package/dist/dto/base/base-table-summary-item.dto.js +74 -0
- package/dist/dto/base/base-table-summary-item.dto.js.map +1 -0
- package/dist/dto/base/base-table-summary.dto.d.ts +5 -0
- package/dist/dto/base/base-table-summary.dto.js +27 -0
- package/dist/dto/base/base-table-summary.dto.js.map +1 -0
- package/dist/dto/base/base-table-yours-action.dto.d.ts +5 -0
- package/dist/dto/base/base-table-yours-action.dto.js +41 -0
- package/dist/dto/base/base-table-yours-action.dto.js.map +1 -0
- package/dist/dto/base/card.dto.d.ts +7 -0
- package/dist/dto/base/card.dto.js +63 -0
- package/dist/dto/base/card.dto.js.map +1 -0
- package/dist/dto/base/index.d.ts +5 -0
- package/dist/dto/base/index.js +14 -0
- package/dist/dto/base/index.js.map +1 -0
- package/dist/dto/base/player-check-state.dto.d.ts +5 -0
- package/dist/dto/base/player-check-state.dto.js +47 -0
- package/dist/dto/base/player-check-state.dto.js.map +1 -0
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +19 -0
- package/dist/dto/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/modules/events/events.gateway.d.ts +14 -0
- package/dist/modules/events/events.gateway.js +47 -0
- package/dist/modules/events/events.gateway.js.map +1 -0
- package/dist/modules/index.d.ts +7 -0
- package/dist/modules/index.js +16 -0
- package/dist/modules/index.js.map +1 -0
- package/dist/modules/menu/menu.constants.d.ts +1 -0
- package/dist/modules/menu/menu.constants.js +5 -0
- package/dist/modules/menu/menu.constants.js.map +1 -0
- package/dist/modules/menu/menu.controller.d.ts +8 -0
- package/dist/modules/menu/menu.controller.js +39 -0
- package/dist/modules/menu/menu.controller.js.map +1 -0
- package/dist/modules/menu/menu.interfaces.d.ts +13 -0
- package/dist/modules/menu/menu.interfaces.js +3 -0
- package/dist/modules/menu/menu.interfaces.js.map +1 -0
- package/dist/modules/menu/menu.module.d.ts +5 -0
- package/dist/modules/menu/menu.module.js +42 -0
- package/dist/modules/menu/menu.module.js.map +1 -0
- package/dist/modules/menu/menu.service.d.ts +10 -0
- package/dist/modules/menu/menu.service.js +42 -0
- package/dist/modules/menu/menu.service.js.map +1 -0
- package/dist/modules/players-manager/players-manager.module.d.ts +2 -0
- package/dist/modules/players-manager/players-manager.module.js +21 -0
- package/dist/modules/players-manager/players-manager.module.js.map +1 -0
- package/dist/modules/players-manager/players-manager.service.d.ts +9 -0
- package/dist/modules/players-manager/players-manager.service.js +37 -0
- package/dist/modules/players-manager/players-manager.service.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +40 -0
- package/readme.md +3 -0
- package/src/config/database.ts +12 -0
- package/src/config/index.ts +3 -0
- package/src/config/locale.ts +30 -0
- package/src/config/menu.ts +10 -0
- package/src/dto/app-screen/app-screen-app-bar.dto.ts +36 -0
- package/src/dto/app-screen/app-screen-section-button.dto.ts +51 -0
- package/src/dto/app-screen/app-screen-section-buttons.dto.ts +14 -0
- package/src/dto/app-screen/app-screen-section-image.dto.ts +33 -0
- package/src/dto/app-screen/app-screen-section-list-item.dto.ts +105 -0
- package/src/dto/app-screen/app-screen-section-req.dto.ts +33 -0
- package/src/dto/app-screen/app-screen-section.dto.ts +76 -0
- package/src/dto/app-screen/app-screen.dto.ts +37 -0
- package/src/dto/app-screen/base-app-screen.dto.ts +14 -0
- package/src/dto/app-screen/index.ts +9 -0
- package/src/dto/base/base-table-summary-item.dto.ts +52 -0
- package/src/dto/base/base-table-summary.dto.ts +13 -0
- package/src/dto/base/base-table-yours-action.dto.ts +25 -0
- package/src/dto/base/card.dto.ts +43 -0
- package/src/dto/base/index.ts +5 -0
- package/src/dto/base/player-check-state.dto.ts +30 -0
- package/src/dto/index.ts +2 -0
- package/src/index.ts +3 -0
- package/src/modules/events/events.gateway.ts +62 -0
- package/src/modules/index.ts +15 -0
- package/src/modules/menu/menu.constants.ts +1 -0
- package/src/modules/menu/menu.controller.ts +17 -0
- package/src/modules/menu/menu.interfaces.ts +15 -0
- package/src/modules/menu/menu.module.ts +32 -0
- package/src/modules/menu/menu.service.ts +53 -0
- package/src/modules/players-manager/players-manager.module.ts +9 -0
- package/src/modules/players-manager/players-manager.service.ts +27 -0
|
@@ -0,0 +1,106 @@
|
|
|
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.AppScreenSectionDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const app_screen_section_buttons_dto_1 = require("./app-screen-section-buttons.dto");
|
|
17
|
+
const app_screen_section_list_item_dto_1 = require("./app-screen-section-list-item.dto");
|
|
18
|
+
const app_screen_section_req_dto_1 = require("./app-screen-section-req.dto");
|
|
19
|
+
const app_screen_section_image_dto_1 = require("./app-screen-section-image.dto");
|
|
20
|
+
class AppScreenSectionDto {
|
|
21
|
+
id;
|
|
22
|
+
type;
|
|
23
|
+
text;
|
|
24
|
+
value;
|
|
25
|
+
description;
|
|
26
|
+
buttons;
|
|
27
|
+
image;
|
|
28
|
+
list;
|
|
29
|
+
reqs;
|
|
30
|
+
}
|
|
31
|
+
exports.AppScreenSectionDto = AppScreenSectionDto;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({
|
|
34
|
+
description: 'id',
|
|
35
|
+
required: true,
|
|
36
|
+
type: String,
|
|
37
|
+
}),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], AppScreenSectionDto.prototype, "id", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
description: 'type',
|
|
45
|
+
required: true,
|
|
46
|
+
type: String,
|
|
47
|
+
}),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], AppScreenSectionDto.prototype, "type", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, swagger_1.ApiProperty)({
|
|
54
|
+
description: 'text',
|
|
55
|
+
required: false,
|
|
56
|
+
type: String,
|
|
57
|
+
}),
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], AppScreenSectionDto.prototype, "text", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, swagger_1.ApiProperty)({
|
|
64
|
+
description: 'value',
|
|
65
|
+
required: false,
|
|
66
|
+
type: String,
|
|
67
|
+
}),
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], AppScreenSectionDto.prototype, "value", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, swagger_1.ApiProperty)({
|
|
74
|
+
description: 'description',
|
|
75
|
+
required: false,
|
|
76
|
+
type: String,
|
|
77
|
+
}),
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], AppScreenSectionDto.prototype, "description", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Type)(() => app_screen_section_buttons_dto_1.AppScreenSectionButtonsDto),
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
__metadata("design:type", app_screen_section_buttons_dto_1.AppScreenSectionButtonsDto)
|
|
86
|
+
], AppScreenSectionDto.prototype, "buttons", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_transformer_1.Type)(() => app_screen_section_image_dto_1.AppScreenSectionImageDto),
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
__metadata("design:type", app_screen_section_image_dto_1.AppScreenSectionImageDto)
|
|
91
|
+
], AppScreenSectionDto.prototype, "image", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_validator_1.IsArray)(),
|
|
94
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
95
|
+
(0, class_transformer_1.Type)(() => app_screen_section_list_item_dto_1.AppScreenSectionListItemDto),
|
|
96
|
+
(0, class_transformer_1.Expose)(),
|
|
97
|
+
__metadata("design:type", Array)
|
|
98
|
+
], AppScreenSectionDto.prototype, "list", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_validator_1.IsArray)(),
|
|
101
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
102
|
+
(0, class_transformer_1.Type)(() => app_screen_section_req_dto_1.AppScreenSectionReqDto),
|
|
103
|
+
(0, class_transformer_1.Expose)(),
|
|
104
|
+
__metadata("design:type", Array)
|
|
105
|
+
], AppScreenSectionDto.prototype, "reqs", void 0);
|
|
106
|
+
//# sourceMappingURL=app-screen-section.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-screen-section.dto.js","sourceRoot":"","sources":["../../../src/dto/app-screen/app-screen-section.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAiD;AACjD,qDAAoE;AAGpE,qFAA8E;AAC9E,yFAAiF;AACjF,6EAAsE;AACtE,iFAA0E;AAE1E,MAAa,mBAAmB;IAQ9B,EAAE,CAAS;IASX,IAAI,CAAS;IASb,IAAI,CAAU;IASd,KAAK,CAAU;IASf,WAAW,CAAU;IAIrB,OAAO,CAA8B;IAIrC,KAAK,CAA4B;IAMjC,IAAI,CAAqC;IAMzC,IAAI,CAAgC;CACrC;AAjED,kDAiEC;AAzDC;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;+CACA;AASX;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;iDACE;AASb;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;iDACG;AASd;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;kDACI;AASf;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,aAAa;QAC1B,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;wDACU;AAIrB;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2DAA0B,CAAC;IACtC,IAAA,0BAAM,GAAE;8BACC,2DAA0B;oDAAC;AAIrC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uDAAwB,CAAC;IACpC,IAAA,0BAAM,GAAE;8BACD,uDAAwB;kDAAC;AAMjC;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8DAA2B,CAAC;IACvC,IAAA,0BAAM,GAAE;8BACH,KAAK;iDAA8B;AAMzC;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mDAAsB,CAAC;IAClC,IAAA,0BAAM,GAAE;8BACH,KAAK;iDAAyB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IAppScreen } from 'jp.common.models';
|
|
2
|
+
import { AppScreenSectionDto } from './app-screen-section.dto';
|
|
3
|
+
import { AppScreenAppBarDto } from './app-screen-app-bar.dto';
|
|
4
|
+
export declare class AppScreenDto implements IAppScreen {
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
sections: Array<AppScreenSectionDto>;
|
|
8
|
+
appBar?: AppScreenAppBarDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.AppScreenDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const app_screen_section_dto_1 = require("./app-screen-section.dto");
|
|
17
|
+
const app_screen_app_bar_dto_1 = require("./app-screen-app-bar.dto");
|
|
18
|
+
class AppScreenDto {
|
|
19
|
+
id;
|
|
20
|
+
type;
|
|
21
|
+
sections;
|
|
22
|
+
appBar;
|
|
23
|
+
}
|
|
24
|
+
exports.AppScreenDto = AppScreenDto;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, swagger_1.ApiProperty)({
|
|
27
|
+
description: 'ID',
|
|
28
|
+
required: true,
|
|
29
|
+
type: String,
|
|
30
|
+
}),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], AppScreenDto.prototype, "id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({
|
|
37
|
+
description: 'type',
|
|
38
|
+
required: true,
|
|
39
|
+
type: String,
|
|
40
|
+
}),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], AppScreenDto.prototype, "type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsArray)(),
|
|
47
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
48
|
+
(0, class_transformer_1.Type)(() => app_screen_section_dto_1.AppScreenSectionDto),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], AppScreenDto.prototype, "sections", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Type)(() => app_screen_app_bar_dto_1.AppScreenAppBarDto),
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", app_screen_app_bar_dto_1.AppScreenAppBarDto)
|
|
56
|
+
], AppScreenDto.prototype, "appBar", void 0);
|
|
57
|
+
//# sourceMappingURL=app-screen.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-screen.dto.js","sourceRoot":"","sources":["../../../src/dto/app-screen/app-screen.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAiD;AACjD,qDAAoE;AAGpE,qEAA+D;AAC/D,qEAA8D;AAE9D,MAAa,YAAY;IAQvB,EAAE,CAAS;IASX,IAAI,CAAS;IAMb,QAAQ,CAA6B;IAIrC,MAAM,CAAsB;CAC7B;AA5BD,oCA4BC;AApBC;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;wCACA;AASX;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;0CACE;AAMb;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAmB,CAAC;IAC/B,IAAA,0BAAM,GAAE;8BACC,KAAK;8CAAsB;AAIrC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAkB,CAAC;IAC9B,IAAA,0BAAM,GAAE;8BACA,2CAAkB;4CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.BaseAppScreenDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const app_screen_dto_1 = require("./app-screen.dto");
|
|
15
|
+
class BaseAppScreenDto {
|
|
16
|
+
screen;
|
|
17
|
+
constructor(screen) {
|
|
18
|
+
return (0, class_transformer_1.plainToInstance)(BaseAppScreenDto, screen, { excludeExtraneousValues: true });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.BaseAppScreenDto = BaseAppScreenDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Type)(() => app_screen_dto_1.AppScreenDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", app_screen_dto_1.AppScreenDto)
|
|
26
|
+
], BaseAppScreenDto.prototype, "screen", void 0);
|
|
27
|
+
//# sourceMappingURL=base-app-screen.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-app-screen.dto.js","sourceRoot":"","sources":["../../../src/dto/app-screen/base-app-screen.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAGlE,qDAAgD;AAEhD,MAAa,gBAAgB;IAG3B,MAAM,CAAe;IAErB,YAAY,MAAsB;QAChC,OAAO,IAAA,mCAAe,EAAC,gBAAgB,EAAE,MAAM,EAAE,EAAE,uBAAuB,EAAE,IAAI,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AARD,4CAQC;AALC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAY,CAAC;IACxB,IAAA,0BAAM,GAAE;8BACD,6BAAY;gDAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { BaseAppScreenDto } from './base-app-screen.dto';
|
|
2
|
+
export { AppScreenDto } from './app-screen.dto';
|
|
3
|
+
export { AppScreenAppBarDto } from './app-screen-app-bar.dto';
|
|
4
|
+
export { AppScreenSectionDto } from './app-screen-section.dto';
|
|
5
|
+
export { AppScreenSectionButtonDto } from './app-screen-section-button.dto';
|
|
6
|
+
export { AppScreenSectionButtonsDto } from './app-screen-section-buttons.dto';
|
|
7
|
+
export { AppScreenSectionImageDto } from './app-screen-section-image.dto';
|
|
8
|
+
export { AppScreenSectionListItemDto } from './app-screen-section-list-item.dto';
|
|
9
|
+
export { AppScreenSectionReqDto } from './app-screen-section-req.dto';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppScreenSectionReqDto = exports.AppScreenSectionListItemDto = exports.AppScreenSectionImageDto = exports.AppScreenSectionButtonsDto = exports.AppScreenSectionButtonDto = exports.AppScreenSectionDto = exports.AppScreenAppBarDto = exports.AppScreenDto = exports.BaseAppScreenDto = void 0;
|
|
4
|
+
var base_app_screen_dto_1 = require("./base-app-screen.dto");
|
|
5
|
+
Object.defineProperty(exports, "BaseAppScreenDto", { enumerable: true, get: function () { return base_app_screen_dto_1.BaseAppScreenDto; } });
|
|
6
|
+
var app_screen_dto_1 = require("./app-screen.dto");
|
|
7
|
+
Object.defineProperty(exports, "AppScreenDto", { enumerable: true, get: function () { return app_screen_dto_1.AppScreenDto; } });
|
|
8
|
+
var app_screen_app_bar_dto_1 = require("./app-screen-app-bar.dto");
|
|
9
|
+
Object.defineProperty(exports, "AppScreenAppBarDto", { enumerable: true, get: function () { return app_screen_app_bar_dto_1.AppScreenAppBarDto; } });
|
|
10
|
+
var app_screen_section_dto_1 = require("./app-screen-section.dto");
|
|
11
|
+
Object.defineProperty(exports, "AppScreenSectionDto", { enumerable: true, get: function () { return app_screen_section_dto_1.AppScreenSectionDto; } });
|
|
12
|
+
var app_screen_section_button_dto_1 = require("./app-screen-section-button.dto");
|
|
13
|
+
Object.defineProperty(exports, "AppScreenSectionButtonDto", { enumerable: true, get: function () { return app_screen_section_button_dto_1.AppScreenSectionButtonDto; } });
|
|
14
|
+
var app_screen_section_buttons_dto_1 = require("./app-screen-section-buttons.dto");
|
|
15
|
+
Object.defineProperty(exports, "AppScreenSectionButtonsDto", { enumerable: true, get: function () { return app_screen_section_buttons_dto_1.AppScreenSectionButtonsDto; } });
|
|
16
|
+
var app_screen_section_image_dto_1 = require("./app-screen-section-image.dto");
|
|
17
|
+
Object.defineProperty(exports, "AppScreenSectionImageDto", { enumerable: true, get: function () { return app_screen_section_image_dto_1.AppScreenSectionImageDto; } });
|
|
18
|
+
var app_screen_section_list_item_dto_1 = require("./app-screen-section-list-item.dto");
|
|
19
|
+
Object.defineProperty(exports, "AppScreenSectionListItemDto", { enumerable: true, get: function () { return app_screen_section_list_item_dto_1.AppScreenSectionListItemDto; } });
|
|
20
|
+
var app_screen_section_req_dto_1 = require("./app-screen-section-req.dto");
|
|
21
|
+
Object.defineProperty(exports, "AppScreenSectionReqDto", { enumerable: true, get: function () { return app_screen_section_req_dto_1.AppScreenSectionReqDto; } });
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/app-screen/index.ts"],"names":[],"mappings":";;;AAAA,6DAAyD;AAAhD,uHAAA,gBAAgB,OAAA;AACzB,mDAAgD;AAAvC,8GAAA,YAAY,OAAA;AACrB,mEAA8D;AAArD,4HAAA,kBAAkB,OAAA;AAC3B,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA;AAC5B,iFAA4E;AAAnE,0IAAA,yBAAyB,OAAA;AAClC,mFAA8E;AAArE,4IAAA,0BAA0B,OAAA;AACnC,+EAA0E;AAAjE,wIAAA,wBAAwB,OAAA;AACjC,uFAAiF;AAAxE,+IAAA,2BAA2B,OAAA;AACpC,2EAAsE;AAA7D,oIAAA,sBAAsB,OAAA"}
|
|
@@ -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.BaseTableSummaryItemDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class BaseTableSummaryItemDto {
|
|
17
|
+
id;
|
|
18
|
+
label;
|
|
19
|
+
size;
|
|
20
|
+
type;
|
|
21
|
+
value;
|
|
22
|
+
}
|
|
23
|
+
exports.BaseTableSummaryItemDto = BaseTableSummaryItemDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({
|
|
26
|
+
description: 'id',
|
|
27
|
+
required: true,
|
|
28
|
+
type: String,
|
|
29
|
+
}),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BaseTableSummaryItemDto.prototype, "id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({
|
|
36
|
+
description: 'label',
|
|
37
|
+
required: true,
|
|
38
|
+
type: String,
|
|
39
|
+
}),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], BaseTableSummaryItemDto.prototype, "label", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({
|
|
46
|
+
description: 'size',
|
|
47
|
+
required: true,
|
|
48
|
+
type: String,
|
|
49
|
+
}),
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], BaseTableSummaryItemDto.prototype, "size", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, swagger_1.ApiProperty)({
|
|
56
|
+
description: 'type',
|
|
57
|
+
required: true,
|
|
58
|
+
type: String,
|
|
59
|
+
}),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], BaseTableSummaryItemDto.prototype, "type", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, swagger_1.ApiProperty)({
|
|
66
|
+
description: 'value',
|
|
67
|
+
required: true,
|
|
68
|
+
type: String,
|
|
69
|
+
}),
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], BaseTableSummaryItemDto.prototype, "value", void 0);
|
|
74
|
+
//# sourceMappingURL=base-table-summary-item.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-table-summary-item.dto.js","sourceRoot":"","sources":["../../../src/dto/base/base-table-summary-item.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA2C;AAC3C,qDAA2C;AAI3C,MAAa,uBAAuB;IAQlC,EAAE,CAAS;IASX,KAAK,CAAS;IASd,IAAI,CAAS;IASb,IAAI,CAAS;IASb,KAAK,CAAS;CACf;AA7CD,0DA6CC;AArCC;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;mDACA;AASX;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;sDACG;AASd;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;qDACE;AASb;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;qDACE;AASb;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;sDACG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.BaseTableSummaryDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const base_table_summary_item_dto_1 = require("./base-table-summary-item.dto");
|
|
16
|
+
class BaseTableSummaryDto {
|
|
17
|
+
list;
|
|
18
|
+
}
|
|
19
|
+
exports.BaseTableSummaryDto = BaseTableSummaryDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsArray)(),
|
|
22
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
23
|
+
(0, class_transformer_1.Type)(() => base_table_summary_item_dto_1.BaseTableSummaryItemDto),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Array)
|
|
26
|
+
], BaseTableSummaryDto.prototype, "list", void 0);
|
|
27
|
+
//# sourceMappingURL=base-table-summary.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-table-summary.dto.js","sourceRoot":"","sources":["../../../src/dto/base/base-table-summary.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAA0D;AAG1D,+EAAwE;AAExE,MAAa,mBAAmB;IAK9B,IAAI,CAAiC;CACtC;AAND,kDAMC;AADC;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qDAAuB,CAAC;IACnC,IAAA,0BAAM,GAAE;8BACH,KAAK;iDAA0B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.BaseTableYoursActionDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class BaseTableYoursActionDto {
|
|
17
|
+
id;
|
|
18
|
+
title;
|
|
19
|
+
}
|
|
20
|
+
exports.BaseTableYoursActionDto = BaseTableYoursActionDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, swagger_1.ApiProperty)({
|
|
23
|
+
description: 'ID',
|
|
24
|
+
required: true,
|
|
25
|
+
type: String,
|
|
26
|
+
}),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], BaseTableYoursActionDto.prototype, "id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({
|
|
33
|
+
description: 'Title',
|
|
34
|
+
required: true,
|
|
35
|
+
type: String,
|
|
36
|
+
}),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], BaseTableYoursActionDto.prototype, "title", void 0);
|
|
41
|
+
//# sourceMappingURL=base-table-yours-action.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-table-yours-action.dto.js","sourceRoot":"","sources":["../../../src/dto/base/base-table-yours-action.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA2C;AAC3C,qDAA2C;AAI3C,MAAa,uBAAuB;IAQlC,EAAE,CAAS;IASX,KAAK,CAAS;CACf;AAlBD,0DAkBC;AAVC;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;mDACA;AASX;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;sDACG"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.CardDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class CardDto {
|
|
17
|
+
id;
|
|
18
|
+
rank;
|
|
19
|
+
suit;
|
|
20
|
+
isDisable;
|
|
21
|
+
}
|
|
22
|
+
exports.CardDto = CardDto;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)({
|
|
25
|
+
description: 'card ID',
|
|
26
|
+
required: true,
|
|
27
|
+
type: Number,
|
|
28
|
+
}),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], CardDto.prototype, "id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({
|
|
35
|
+
description: 'rank',
|
|
36
|
+
required: true,
|
|
37
|
+
type: Number,
|
|
38
|
+
}),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_validator_1.IsNumber)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], CardDto.prototype, "rank", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({
|
|
45
|
+
description: 'suit',
|
|
46
|
+
required: true,
|
|
47
|
+
type: String,
|
|
48
|
+
}),
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CardDto.prototype, "suit", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({
|
|
55
|
+
description: 'disabled',
|
|
56
|
+
required: true,
|
|
57
|
+
type: Boolean,
|
|
58
|
+
}),
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_validator_1.IsBoolean)(),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], CardDto.prototype, "isDisable", void 0);
|
|
63
|
+
//# sourceMappingURL=card.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.dto.js","sourceRoot":"","sources":["../../../src/dto/base/card.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA2C;AAC3C,qDAAgE;AAIhE,MAAa,OAAO;IAQlB,EAAE,CAAS;IASX,IAAI,CAAS;IASb,IAAI,CAAS;IASb,SAAS,CAAU;CACpB;AApCD,0BAoCC;AA5BC;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,SAAS;QACtB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;mCACA;AASX;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;qCACE;AASb;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACb,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;qCACE;AASb;IAPC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,UAAU;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,OAAO;KACd,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;;0CACO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { BaseTableYoursActionDto } from './base-table-yours-action.dto';
|
|
2
|
+
export { BaseTableSummaryItemDto } from './base-table-summary-item.dto';
|
|
3
|
+
export { BaseTableSummaryDto } from './base-table-summary.dto';
|
|
4
|
+
export { CardDto } from './card.dto';
|
|
5
|
+
export { PlayerCheckStateDto } from './player-check-state.dto';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlayerCheckStateDto = exports.CardDto = exports.BaseTableSummaryDto = exports.BaseTableSummaryItemDto = exports.BaseTableYoursActionDto = void 0;
|
|
4
|
+
var base_table_yours_action_dto_1 = require("./base-table-yours-action.dto");
|
|
5
|
+
Object.defineProperty(exports, "BaseTableYoursActionDto", { enumerable: true, get: function () { return base_table_yours_action_dto_1.BaseTableYoursActionDto; } });
|
|
6
|
+
var base_table_summary_item_dto_1 = require("./base-table-summary-item.dto");
|
|
7
|
+
Object.defineProperty(exports, "BaseTableSummaryItemDto", { enumerable: true, get: function () { return base_table_summary_item_dto_1.BaseTableSummaryItemDto; } });
|
|
8
|
+
var base_table_summary_dto_1 = require("./base-table-summary.dto");
|
|
9
|
+
Object.defineProperty(exports, "BaseTableSummaryDto", { enumerable: true, get: function () { return base_table_summary_dto_1.BaseTableSummaryDto; } });
|
|
10
|
+
var card_dto_1 = require("./card.dto");
|
|
11
|
+
Object.defineProperty(exports, "CardDto", { enumerable: true, get: function () { return card_dto_1.CardDto; } });
|
|
12
|
+
var player_check_state_dto_1 = require("./player-check-state.dto");
|
|
13
|
+
Object.defineProperty(exports, "PlayerCheckStateDto", { enumerable: true, get: function () { return player_check_state_dto_1.PlayerCheckStateDto; } });
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/base/index.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAA/D,sIAAA,uBAAuB,OAAA;AAChC,6EAAwE;AAA/D,sIAAA,uBAAuB,OAAA;AAChC,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA;AAC5B,uCAAqC;AAA5B,mGAAA,OAAO,OAAA;AAChB,mEAA+D;AAAtD,6HAAA,mBAAmB,OAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.PlayerCheckStateDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class PlayerCheckStateDto {
|
|
17
|
+
playerId;
|
|
18
|
+
redirectUrl;
|
|
19
|
+
static fromEntities(redirectUrl, playerId) {
|
|
20
|
+
const dto = new PlayerCheckStateDto();
|
|
21
|
+
dto.redirectUrl = redirectUrl;
|
|
22
|
+
dto.playerId = playerId;
|
|
23
|
+
return dto;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.PlayerCheckStateDto = PlayerCheckStateDto;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({
|
|
29
|
+
description: 'Идентификатор пользователя',
|
|
30
|
+
required: true,
|
|
31
|
+
type: String,
|
|
32
|
+
}),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], PlayerCheckStateDto.prototype, "playerId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({
|
|
39
|
+
description: 'redirect link',
|
|
40
|
+
required: true,
|
|
41
|
+
type: String,
|
|
42
|
+
}),
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], PlayerCheckStateDto.prototype, "redirectUrl", void 0);
|
|
47
|
+
//# sourceMappingURL=player-check-state.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player-check-state.dto.js","sourceRoot":"","sources":["../../../src/dto/base/player-check-state.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAA2C;AAC3C,qDAA2C;AAE3C,MAAa,mBAAmB;IAQ5B,QAAQ,CAAU;IASlB,WAAW,CAAS;IAEpB,MAAM,CAAC,YAAY,CAAC,WAAmB,EAAE,QAAiB;QACtD,MAAM,GAAG,GAAG,IAAI,mBAAmB,EAAE,CAAC;QACtC,GAAG,CAAC,WAAW,GAAG,WAAW,CAAC;QAC9B,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACvB,OAAO,GAAG,CAAC;IACf,CAAC;CACJ;AAzBD,kDAyBC;AAjBG;IAPC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACf,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;qDACO;AASlB;IAPC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,eAAe;QAC5B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACf,CAAC;IACD,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;wDACS"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./base"), exports);
|
|
18
|
+
__exportStar(require("./app-screen"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,+CAA4B"}
|