@escapenavigator/types 1.7.4 → 1.7.17
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 +1 -0
- package/dist/agregator/agregator-city.ro.js +4 -0
- package/dist/agregator/agregator-organization-questrooms.ro.d.ts +9 -2
- package/dist/agregator/agregator-organization-questrooms.ro.js +15 -1
- package/dist/agregator/agregator-questroom-card.ro.d.ts +2 -3
- package/dist/agregator/agregator-questroom-card.ro.js +7 -6
- package/dist/agregator/map/query-locations-for-map.dto.d.ts +3 -9
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -30,6 +30,10 @@ __decorate([
|
|
|
30
30
|
(0, class_transformer_1.Expose)(),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], AgregatorCityRO.prototype, "nearTitle", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AgregatorCityRO.prototype, "photo", void 0);
|
|
33
37
|
__decorate([
|
|
34
38
|
(0, class_transformer_1.Expose)(),
|
|
35
39
|
__metadata("design:type", String)
|
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import { AgregatorQuestroomCardRO } from './agregator-questroom-card.ro';
|
|
1
|
+
import { AgregatorQuestroomCardRO, AgregatorQuestroomLocation } from './agregator-questroom-card.ro';
|
|
2
2
|
import { AgregatorProfile } from './agregator-questroom.ro';
|
|
3
|
+
declare class Location extends AgregatorQuestroomLocation {
|
|
4
|
+
address: [number, number];
|
|
5
|
+
}
|
|
6
|
+
declare class Questroom extends AgregatorQuestroomCardRO {
|
|
7
|
+
location: Location;
|
|
8
|
+
}
|
|
3
9
|
export declare class AgregatorOrganizationQuestroomsRO {
|
|
4
10
|
organization: AgregatorProfile;
|
|
5
|
-
questrooms:
|
|
11
|
+
questrooms: Questroom[];
|
|
6
12
|
}
|
|
13
|
+
export {};
|
|
@@ -10,9 +10,23 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AgregatorOrganizationQuestroomsRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const agregator_questroom_card_ro_1 = require("./agregator-questroom-card.ro");
|
|
15
16
|
const agregator_questroom_ro_1 = require("./agregator-questroom.ro");
|
|
17
|
+
class Location extends agregator_questroom_card_ro_1.AgregatorQuestroomLocation {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
|
+
], Location.prototype, "address", void 0);
|
|
23
|
+
class Questroom extends agregator_questroom_card_ro_1.AgregatorQuestroomCardRO {
|
|
24
|
+
}
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Location),
|
|
28
|
+
__metadata("design:type", Location)
|
|
29
|
+
], Questroom.prototype, "location", void 0);
|
|
16
30
|
class AgregatorOrganizationQuestroomsRO {
|
|
17
31
|
}
|
|
18
32
|
__decorate([
|
|
@@ -22,7 +36,7 @@ __decorate([
|
|
|
22
36
|
], AgregatorOrganizationQuestroomsRO.prototype, "organization", void 0);
|
|
23
37
|
__decorate([
|
|
24
38
|
(0, class_transformer_1.Expose)(),
|
|
25
|
-
(0, class_transformer_1.Type)(() =>
|
|
39
|
+
(0, class_transformer_1.Type)(() => Questroom),
|
|
26
40
|
__metadata("design:type", Array)
|
|
27
41
|
], AgregatorOrganizationQuestroomsRO.prototype, "questrooms", void 0);
|
|
28
42
|
exports.AgregatorOrganizationQuestroomsRO = AgregatorOrganizationQuestroomsRO;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
2
|
-
declare class
|
|
2
|
+
export declare class AgregatorQuestroomLocation {
|
|
3
3
|
id: number;
|
|
4
4
|
coordinates: [number, number];
|
|
5
5
|
}
|
|
@@ -19,6 +19,5 @@ export declare class AgregatorQuestroomCardRO {
|
|
|
19
19
|
difficult: number;
|
|
20
20
|
fear: number;
|
|
21
21
|
hasSchedule?: boolean;
|
|
22
|
-
location:
|
|
22
|
+
location: AgregatorQuestroomLocation;
|
|
23
23
|
}
|
|
24
|
-
export {};
|
|
@@ -9,18 +9,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.AgregatorQuestroomCardRO = void 0;
|
|
12
|
+
exports.AgregatorQuestroomCardRO = exports.AgregatorQuestroomLocation = void 0;
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const partner_program_enum_1 = require("../profile/enum/partner-program.enum");
|
|
16
16
|
const profile_step_enum_1 = require("../profile/enum/profile-step.enum");
|
|
17
17
|
const questroom_type_enum_1 = require("../questroom/enum/questroom-type.enum");
|
|
18
|
-
class
|
|
18
|
+
class AgregatorQuestroomLocation {
|
|
19
19
|
}
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, class_transformer_1.Expose)(),
|
|
22
22
|
__metadata("design:type", Number)
|
|
23
|
-
],
|
|
23
|
+
], AgregatorQuestroomLocation.prototype, "id", void 0);
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, class_transformer_1.Expose)(),
|
|
26
26
|
(0, class_transformer_1.Transform)(({ value }) => {
|
|
@@ -29,7 +29,8 @@ __decorate([
|
|
|
29
29
|
return value.slice(1, -1).split(',');
|
|
30
30
|
}),
|
|
31
31
|
__metadata("design:type", Array)
|
|
32
|
-
],
|
|
32
|
+
], AgregatorQuestroomLocation.prototype, "coordinates", void 0);
|
|
33
|
+
exports.AgregatorQuestroomLocation = AgregatorQuestroomLocation;
|
|
33
34
|
class AgregatorQuestroomCardRO {
|
|
34
35
|
}
|
|
35
36
|
__decorate([
|
|
@@ -97,7 +98,7 @@ __decorate([
|
|
|
97
98
|
], AgregatorQuestroomCardRO.prototype, "hasSchedule", void 0);
|
|
98
99
|
__decorate([
|
|
99
100
|
(0, class_transformer_1.Expose)(),
|
|
100
|
-
(0, class_transformer_1.Type)(() =>
|
|
101
|
-
__metadata("design:type",
|
|
101
|
+
(0, class_transformer_1.Type)(() => AgregatorQuestroomLocation),
|
|
102
|
+
__metadata("design:type", AgregatorQuestroomLocation)
|
|
102
103
|
], AgregatorQuestroomCardRO.prototype, "location", void 0);
|
|
103
104
|
exports.AgregatorQuestroomCardRO = AgregatorQuestroomCardRO;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
import { QuestroomActorsEnum } from '../../questroom/enum/questroom-actors.enum';
|
|
2
1
|
import { QuestroomTypeEnum } from '../../questroom/enum/questroom-type.enum';
|
|
3
|
-
import { TagsEnum } from '../../shared/enum/tags.enum';
|
|
2
|
+
import { TagsEnum, TechTagsEnum } from '../../shared/enum/tags.enum';
|
|
4
3
|
export declare type QueryLocationsForMapDTO = {
|
|
5
4
|
center: string;
|
|
6
|
-
|
|
7
|
-
players?: number;
|
|
8
|
-
type?: QuestroomTypeEnum[];
|
|
5
|
+
type?: QuestroomTypeEnum;
|
|
9
6
|
questroomTags?: TagsEnum[];
|
|
10
|
-
|
|
11
|
-
difficult?: number[];
|
|
12
|
-
actors?: QuestroomActorsEnum;
|
|
13
|
-
minAge: number[];
|
|
7
|
+
techTag?: TechTagsEnum;
|
|
14
8
|
};
|