@escapenavigator/types 1.7.2 → 1.7.4
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-define-city.ro.d.ts +6 -0
- package/dist/agregator/{dto/agregator-find-questroom-by-text.dto.js → agregator-define-city.ro.js} +10 -10
- package/dist/agregator/agregator-find-questroom-by-title.ro.d.ts +14 -4
- package/dist/agregator/agregator-find-questroom-by-title.ro.js +43 -8
- package/dist/agregator/agregator-questroom-card.ro.d.ts +1 -0
- package/dist/agregator/agregator-questroom-card.ro.js +4 -0
- package/dist/agregator/agregator-search-city.ro.d.ts +4 -0
- package/dist/agregator/agregator-search-city.ro.js +24 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/agregator/dto/agregator-find-questroom-by-text.dto.d.ts +0 -5
package/dist/agregator/{dto/agregator-find-questroom-by-text.dto.js → agregator-define-city.ro.js}
RENAMED
|
@@ -9,21 +9,21 @@ 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.
|
|
12
|
+
exports.AgregatorDefineCityRO = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const is_not_blank_1 = require("../../shared/is-not-blank");
|
|
17
|
-
class AgregatorFindQuestroomByTitleDto {
|
|
14
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
15
|
+
class AgregatorDefineCityRO {
|
|
18
16
|
}
|
|
19
17
|
__decorate([
|
|
20
|
-
(0,
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Array)
|
|
20
|
+
], AgregatorDefineCityRO.prototype, "coordinates", void 0);
|
|
21
|
+
__decorate([
|
|
21
22
|
(0, class_transformer_1.Expose)(),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
|
-
],
|
|
24
|
+
], AgregatorDefineCityRO.prototype, "country", void 0);
|
|
24
25
|
__decorate([
|
|
25
|
-
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
29
|
-
exports.
|
|
28
|
+
], AgregatorDefineCityRO.prototype, "slug", void 0);
|
|
29
|
+
exports.AgregatorDefineCityRO = AgregatorDefineCityRO;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
2
|
+
declare class Location {
|
|
3
|
+
address: string;
|
|
4
|
+
}
|
|
3
5
|
export declare class AgregatorFindQuestroomByTitleRO {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
title: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
top: boolean;
|
|
10
|
+
type: QuestroomTypeEnum;
|
|
11
|
+
rate: number;
|
|
12
|
+
photo: string;
|
|
13
|
+
hasSchedule?: boolean;
|
|
14
|
+
location: Location;
|
|
6
15
|
}
|
|
16
|
+
export {};
|
|
@@ -12,18 +12,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AgregatorFindQuestroomByTitleRO = void 0;
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const
|
|
16
|
-
const
|
|
15
|
+
const partner_program_enum_1 = require("../profile/enum/partner-program.enum");
|
|
16
|
+
const questroom_type_enum_1 = require("../questroom/enum/questroom-type.enum");
|
|
17
|
+
class Location {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Location.prototype, "address", void 0);
|
|
17
23
|
class AgregatorFindQuestroomByTitleRO {
|
|
18
24
|
}
|
|
19
25
|
__decorate([
|
|
20
26
|
(0, class_transformer_1.Expose)(),
|
|
21
|
-
(
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "createdAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "title", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "slug", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "top", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
(0, class_transformer_1.Transform)(({ value }) => (value ? +(value / 100).toFixed(2) : 0)),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "rate", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "photo", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(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; }),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
58
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "hasSchedule", void 0);
|
|
24
59
|
__decorate([
|
|
25
60
|
(0, class_transformer_1.Expose)(),
|
|
26
|
-
(0, class_transformer_1.Type)(() =>
|
|
27
|
-
__metadata("design:type",
|
|
28
|
-
], AgregatorFindQuestroomByTitleRO.prototype, "
|
|
61
|
+
(0, class_transformer_1.Type)(() => Location),
|
|
62
|
+
__metadata("design:type", Location)
|
|
63
|
+
], AgregatorFindQuestroomByTitleRO.prototype, "location", void 0);
|
|
29
64
|
exports.AgregatorFindQuestroomByTitleRO = AgregatorFindQuestroomByTitleRO;
|
|
@@ -32,6 +32,10 @@ __decorate([
|
|
|
32
32
|
], Location.prototype, "coordinates", void 0);
|
|
33
33
|
class AgregatorQuestroomCardRO {
|
|
34
34
|
}
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], AgregatorQuestroomCardRO.prototype, "id", void 0);
|
|
35
39
|
__decorate([
|
|
36
40
|
(0, class_transformer_1.Expose)(),
|
|
37
41
|
__metadata("design:type", Date)
|
|
@@ -0,0 +1,24 @@
|
|
|
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.AgregatorSearchCityRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class AgregatorSearchCityRO {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_transformer_1.Expose)(),
|
|
18
|
+
__metadata("design:type", String)
|
|
19
|
+
], AgregatorSearchCityRO.prototype, "title", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], AgregatorSearchCityRO.prototype, "id", void 0);
|
|
24
|
+
exports.AgregatorSearchCityRO = AgregatorSearchCityRO;
|