@escapenavigator/types 1.6.9 → 1.6.11
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/agregator/agregator-questroom.ro.d.ts +2 -0
- package/dist/agregator/dto/agregator-questrooms-search.dto.d.ts +1 -1
- package/dist/client/client-form.dto.d.ts +1 -0
- package/dist/client/client-form.dto.js +5 -0
- package/dist/emails/index.d.ts +1 -0
- package/dist/profile/admin-profile.ro.d.ts +32 -0
- package/dist/profile/admin-profile.ro.js +122 -0
- package/dist/profile/create-profile-message.dto.d.ts +4 -0
- package/dist/profile/create-profile-message.dto.js +28 -0
- package/dist/profile/email/create-profile-email.dto.d.ts +4 -0
- package/dist/profile/email/create-profile-email.dto.js +27 -0
- package/dist/profile/email/create-profile-sending.dto.d.ts +4 -0
- package/dist/profile/email/create-profile-sending.dto.js +27 -0
- package/dist/profile/email/profile-email.ro.d.ts +7 -0
- package/dist/profile/email/profile-email.ro.js +37 -0
- package/dist/profile/email/profile-letter.ro.d.ts +7 -0
- package/dist/profile/email/profile-letter.ro.js +35 -0
- package/dist/profile/enum/profile-step.enum.d.ts +5 -1
- package/dist/profile/enum/profile-step.enum.js +6 -0
- package/dist/profile/enum/profile-subscription.enum.d.ts +10 -0
- package/dist/profile/enum/profile-subscription.enum.js +14 -0
- package/dist/profile/profile-subscription.ro.d.ts +8 -0
- package/dist/profile/profile-subscription.ro.js +35 -0
- package/dist/profile/profile.ro.d.ts +5 -23
- package/dist/profile/profile.ro.js +90 -0
- package/dist/profile/update-current.dto.d.ts +0 -2
- package/dist/profile/update-current.dto.js +0 -7
- package/dist/questroom/agregator-questroom.ro.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.d.ts +2 -0
- package/dist/questroom/create-questroom.dto.js +10 -0
- package/dist/questroom/questroom.ro.d.ts +2 -0
- package/dist/role/create-role.dto.d.ts +1 -0
- package/dist/role/create-role.dto.js +6 -0
- package/dist/role/role.ro.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.d.ts +1 -0
- package/dist/upselling/create-upselling.dto.js +6 -0
- package/dist/upselling/upselling.ro.d.ts +1 -0
- package/dist/widget-openapi/openapi-questroom.ro.d.ts +3 -0
- package/dist/widget-openapi/openapi-questroom.ro.js +11 -3
- package/package.json +2 -2
|
@@ -38,6 +38,12 @@ __decorate([
|
|
|
38
38
|
(0, class_transformer_1.Expose)(),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], CreateUpsellingDto.prototype, "description", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreateUpsellingDto.prototype, "comment", void 0);
|
|
41
47
|
__decorate([
|
|
42
48
|
(0, class_validator_1.IsBoolean)(),
|
|
43
49
|
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
@@ -9,6 +9,7 @@ export declare const transformQuestroom: ({ value, language }: {
|
|
|
9
9
|
language: any;
|
|
10
10
|
}) => {
|
|
11
11
|
title: string;
|
|
12
|
+
importantInfo: string;
|
|
12
13
|
location: {
|
|
13
14
|
howToFind: string;
|
|
14
15
|
prepareText: string;
|
|
@@ -31,6 +32,7 @@ export declare const transformQuestroom: ({ value, language }: {
|
|
|
31
32
|
declare class QuestroomLocale {
|
|
32
33
|
title: string;
|
|
33
34
|
legend: string;
|
|
35
|
+
importantInfo: string;
|
|
34
36
|
language: Languages;
|
|
35
37
|
}
|
|
36
38
|
declare class LocationLocale {
|
|
@@ -58,6 +60,7 @@ export declare class OpenapiQuestroomRO {
|
|
|
58
60
|
playersMax: number;
|
|
59
61
|
playersMin: number;
|
|
60
62
|
onlinePaymentsAvailable: boolean;
|
|
63
|
+
importantInfo: string;
|
|
61
64
|
minAge: number;
|
|
62
65
|
location: Location;
|
|
63
66
|
locales: QuestroomLocale[];
|
|
@@ -37,9 +37,9 @@ __decorate([
|
|
|
37
37
|
], PaymentType.prototype, "enabled", void 0);
|
|
38
38
|
exports.PaymentType = PaymentType;
|
|
39
39
|
const transformQuestroom = ({ value, language }) => {
|
|
40
|
-
var _a, _b, _c;
|
|
41
|
-
const { locales } = value,
|
|
42
|
-
return Object.assign(Object.assign({}, questroom), { title: ((_a = locales.find((l) => l.language === language)) === null || _a === void 0 ? void 0 : _a.title) || questroom.title, location: Object.assign(Object.assign({}, location), { howToFind: ((
|
|
40
|
+
var _a, _b, _c, _d;
|
|
41
|
+
const { locales } = value, _e = value.location, { locales: locationLocales } = _e, location = __rest(_e, ["locales"]), questroom = __rest(value, ["locales", "location"]);
|
|
42
|
+
return Object.assign(Object.assign({}, questroom), { title: ((_a = locales.find((l) => l.language === language)) === null || _a === void 0 ? void 0 : _a.title) || questroom.title, importantInfo: ((_b = locales.find((l) => l.language === language)) === null || _b === void 0 ? void 0 : _b.importantInfo) || questroom.importantInfo, location: Object.assign(Object.assign({}, location), { howToFind: ((_c = locationLocales.find((l) => l.language === language)) === null || _c === void 0 ? void 0 : _c.howToFind) || location.howToFind, prepareText: ((_d = locationLocales.find((l) => l.language === language)) === null || _d === void 0 ? void 0 : _d.prepareText) || location.prepareText }) });
|
|
43
43
|
};
|
|
44
44
|
exports.transformQuestroom = transformQuestroom;
|
|
45
45
|
class QuestroomLocale {
|
|
@@ -52,6 +52,10 @@ __decorate([
|
|
|
52
52
|
(0, class_transformer_1.Expose)(),
|
|
53
53
|
__metadata("design:type", String)
|
|
54
54
|
], QuestroomLocale.prototype, "legend", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], QuestroomLocale.prototype, "importantInfo", void 0);
|
|
55
59
|
__decorate([
|
|
56
60
|
(0, class_transformer_1.Expose)(),
|
|
57
61
|
__metadata("design:type", String)
|
|
@@ -144,6 +148,10 @@ __decorate([
|
|
|
144
148
|
(0, class_transformer_1.Expose)(),
|
|
145
149
|
__metadata("design:type", Boolean)
|
|
146
150
|
], OpenapiQuestroomRO.prototype, "onlinePaymentsAvailable", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, class_transformer_1.Expose)(),
|
|
153
|
+
__metadata("design:type", String)
|
|
154
|
+
], OpenapiQuestroomRO.prototype, "importantInfo", void 0);
|
|
147
155
|
__decorate([
|
|
148
156
|
(0, class_transformer_1.Expose)(),
|
|
149
157
|
__metadata("design:type", Number)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "1d30906a634f99cb09328e1367376b63902fafc9",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/validator": "13.0.0",
|
|
26
26
|
"alphakit-presets-lint": "^1.0.0",
|