@escapenavigator/types 1.6.68 → 1.6.69
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-city.ro.d.ts +0 -1
- package/dist/agregator/agregator-city.ro.js +0 -4
- package/dist/agregator/agregator-find-questroom-by-title.ro.d.ts +6 -0
- package/dist/agregator/agregator-find-questroom-by-title.ro.js +29 -0
- package/dist/agregator/agregator-location.ro.d.ts +2 -2
- package/dist/agregator/agregator-location.ro.js +30 -0
- package/dist/agregator/agregator-post-card.ro.d.ts +3 -3
- package/dist/agregator/agregator-post-card.ro.js +26 -0
- package/dist/agregator/agregator-post.ro.d.ts +2 -3
- package/dist/agregator/agregator-post.ro.js +30 -0
- package/dist/agregator/agregator-questroom-card.ro.d.ts +10 -0
- package/dist/agregator/agregator-questroom-card.ro.js +32 -0
- package/dist/agregator/agregator-questroom-profile-card.ro.d.ts +0 -5
- package/dist/agregator/agregator-questroom-profile-card.ro.js +1 -22
- package/dist/shared/enum/tags.enum.js +17 -15
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -26,10 +26,6 @@ __decorate([
|
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], AgregatorCityRO.prototype, "country", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_transformer_1.Expose)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], AgregatorCityRO.prototype, "photo", void 0);
|
|
33
29
|
__decorate([
|
|
34
30
|
(0, class_transformer_1.Expose)(),
|
|
35
31
|
(0, class_transformer_1.Transform)(({ value }) => {
|
|
@@ -0,0 +1,29 @@
|
|
|
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.AgregatorFindQuestroomByTitleRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const agregator_city_ro_1 = require("./agregator-city.ro");
|
|
16
|
+
const agregator_questroom_card_ro_1 = require("./agregator-questroom-card.ro");
|
|
17
|
+
class AgregatorFindQuestroomByTitleRO {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_transformer_1.Type)(() => agregator_questroom_card_ro_1.AgregatorQuestroomCardRO),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "questrooms", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => agregator_city_ro_1.AgregatorCityRO),
|
|
27
|
+
__metadata("design:type", Array)
|
|
28
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "cities", void 0);
|
|
29
|
+
exports.AgregatorFindQuestroomByTitleRO = AgregatorFindQuestroomByTitleRO;
|
|
@@ -1,2 +1,32 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AgregatorLocationRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class AgregatorLocationRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], AgregatorLocationRO.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], AgregatorLocationRO.prototype, "coordinates", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], AgregatorLocationRO.prototype, "questroomsCount", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], AgregatorLocationRO.prototype, "address", void 0);
|
|
32
|
+
exports.AgregatorLocationRO = AgregatorLocationRO;
|
|
@@ -1,2 +1,28 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AgregatorPostCardRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class AgregatorPostCardRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], AgregatorPostCardRO.prototype, "title", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AgregatorPostCardRO.prototype, "description", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AgregatorPostCardRO.prototype, "slug", void 0);
|
|
28
|
+
exports.AgregatorPostCardRO = AgregatorPostCardRO;
|
|
@@ -1,2 +1,32 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AgregatorPostRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class AgregatorPostRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], AgregatorPostRO.prototype, "title", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AgregatorPostRO.prototype, "content", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AgregatorPostRO.prototype, "poster", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], AgregatorPostRO.prototype, "slug", void 0);
|
|
32
|
+
exports.AgregatorPostRO = AgregatorPostRO;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
2
|
+
declare class City {
|
|
3
|
+
title: string;
|
|
4
|
+
coordinates: [number, number];
|
|
5
|
+
}
|
|
6
|
+
declare class Location {
|
|
7
|
+
city: City;
|
|
8
|
+
address: string;
|
|
9
|
+
}
|
|
2
10
|
export declare class AgregatorQuestroomCardRO {
|
|
3
11
|
createdAt: Date;
|
|
4
12
|
title: string;
|
|
@@ -14,4 +22,6 @@ export declare class AgregatorQuestroomCardRO {
|
|
|
14
22
|
difficult: number;
|
|
15
23
|
fear: number;
|
|
16
24
|
hasSchedule?: boolean;
|
|
25
|
+
location: Location;
|
|
17
26
|
}
|
|
27
|
+
export {};
|
|
@@ -10,10 +10,37 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AgregatorQuestroomCardRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const partner_program_enum_1 = require("../profile/enum/partner-program.enum");
|
|
15
16
|
const profile_step_enum_1 = require("../profile/enum/profile-step.enum");
|
|
16
17
|
const questroom_type_enum_1 = require("../questroom/enum/questroom-type.enum");
|
|
18
|
+
class City {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], City.prototype, "title", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Transform)(({ value }) => {
|
|
27
|
+
if (typeof value === 'object')
|
|
28
|
+
return value.coordinates;
|
|
29
|
+
return value.slice(1, -1).split(',');
|
|
30
|
+
}),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], City.prototype, "coordinates", void 0);
|
|
33
|
+
class Location {
|
|
34
|
+
}
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
(0, class_transformer_1.Type)(() => City),
|
|
38
|
+
__metadata("design:type", City)
|
|
39
|
+
], Location.prototype, "city", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Location.prototype, "address", void 0);
|
|
17
44
|
class AgregatorQuestroomCardRO {
|
|
18
45
|
}
|
|
19
46
|
__decorate([
|
|
@@ -75,4 +102,9 @@ __decorate([
|
|
|
75
102
|
(0, class_transformer_1.Transform)(({ obj }) => { var _a; return obj.templateId && ((_a = obj.profile) === null || _a === void 0 ? void 0 : _a.partnerProgram) === partner_program_enum_1.PartnerProgramEnum.ACTIVE; }),
|
|
76
103
|
__metadata("design:type", Boolean)
|
|
77
104
|
], AgregatorQuestroomCardRO.prototype, "hasSchedule", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
(0, class_transformer_1.Type)(() => Location),
|
|
108
|
+
__metadata("design:type", Location)
|
|
109
|
+
], AgregatorQuestroomCardRO.prototype, "location", void 0);
|
|
78
110
|
exports.AgregatorQuestroomCardRO = AgregatorQuestroomCardRO;
|
|
@@ -1,29 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
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
|
-
};
|
|
2
|
+
/* eslint-disable max-classes-per-file */
|
|
11
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
4
|
exports.AgregatorQuestroomProfileCardRO = void 0;
|
|
13
|
-
/* eslint-disable max-classes-per-file */
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
5
|
const agregator_questroom_card_ro_1 = require("./agregator-questroom-card.ro");
|
|
16
|
-
class Location {
|
|
17
|
-
}
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_transformer_1.Expose)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], Location.prototype, "address", void 0);
|
|
22
6
|
class AgregatorQuestroomProfileCardRO extends agregator_questroom_card_ro_1.AgregatorQuestroomCardRO {
|
|
23
7
|
}
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_transformer_1.Expose)(),
|
|
26
|
-
(0, class_transformer_1.Type)(() => Location),
|
|
27
|
-
__metadata("design:type", Location)
|
|
28
|
-
], AgregatorQuestroomProfileCardRO.prototype, "location", void 0);
|
|
29
8
|
exports.AgregatorQuestroomProfileCardRO = AgregatorQuestroomProfileCardRO;
|
|
@@ -34,26 +34,28 @@ var TechTagsEnum;
|
|
|
34
34
|
TechTagsEnum["ENGLISH"] = "english";
|
|
35
35
|
TechTagsEnum["PRIVATE"] = "private";
|
|
36
36
|
TechTagsEnum["PUBLIC"] = "public";
|
|
37
|
-
// Городские квесты
|
|
38
|
-
// Escape rooms in English
|
|
39
|
-
// С актерами
|
|
40
|
-
// Квесты для новичков
|
|
41
|
-
// Нестрашные квесты
|
|
42
|
-
// Новинки
|
|
43
|
-
// Онлайн-игры
|
|
44
|
-
// Перформансы
|
|
45
|
-
// Экшн-игры
|
|
46
|
-
// Квесты для большой компании (от 8 человек)
|
|
47
37
|
})(TechTagsEnum = exports.TechTagsEnum || (exports.TechTagsEnum = {}));
|
|
48
|
-
//
|
|
49
|
-
//
|
|
38
|
+
// Выставляются автоматически
|
|
39
|
+
// Скидки на предстоящие праздники
|
|
50
40
|
// Квесты на Хеллоуин
|
|
51
41
|
// Выбор «Escape Navigator»
|
|
52
42
|
// Новогодняя ночь
|
|
53
43
|
// Подарочный сертификат
|
|
54
44
|
// Лучшие квесты
|
|
55
45
|
// Популярные квесты
|
|
56
|
-
//
|
|
46
|
+
// Скидки
|
|
47
|
+
// Городские квесты
|
|
48
|
+
// Escape rooms in English
|
|
49
|
+
// С актерами
|
|
50
|
+
// Квесты для новичков
|
|
51
|
+
// Квесты для профи
|
|
52
|
+
// Нестрашные квесты
|
|
53
|
+
// Новинки
|
|
54
|
+
// Онлайн-игры
|
|
55
|
+
// Перформансы
|
|
56
|
+
// Экшн-игры
|
|
57
|
+
// Квесты для большой компании (от 8 человек)
|
|
58
|
+
// Тематические теги по тематике квеста:
|
|
57
59
|
// Детективные квесты
|
|
58
60
|
// Древние миры
|
|
59
61
|
// Исторические квесты
|
|
@@ -77,7 +79,7 @@ var TechTagsEnum;
|
|
|
77
79
|
// Фэнтезийные квесты
|
|
78
80
|
// Антистресс
|
|
79
81
|
// Эротические квесты
|
|
80
|
-
//
|
|
82
|
+
// Теги по определенным категориям:
|
|
81
83
|
// Подходят огрианичено мобильным
|
|
82
84
|
// Выездные квесты
|
|
83
85
|
// Квесты для взрослых
|
|
@@ -89,7 +91,7 @@ var TechTagsEnum;
|
|
|
89
91
|
// Квесты для детей 10+ лет
|
|
90
92
|
// Квесты 14+ лет
|
|
91
93
|
// Квесты 18+ лет
|
|
92
|
-
//
|
|
94
|
+
// Теги по особенностям квеста:
|
|
93
95
|
// Бесконтактные перфоманы
|
|
94
96
|
// Контактные первомансы
|
|
95
97
|
// Найди подарок в квесте
|