@escapenavigator/types 1.4.54 → 1.4.56

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.
Files changed (26) hide show
  1. package/dist/agregator/agregator-organization-questrooms.ro.d.ts +3 -1
  2. package/dist/agregator/agregator-post-card.ro.d.ts +1 -1
  3. package/dist/agregator/agregator-questroom-card.ro.d.ts +3 -3
  4. package/dist/agregator/agregator-questroom.ro.d.ts +2 -0
  5. package/dist/agregator/{agregator-city-questrooms.ro.d.ts → agregator-questrooms-and-cities.ro.d.ts} +1 -1
  6. package/dist/agregator/dto/agregator-favorites.dto.d.ts +3 -0
  7. package/dist/agregator/dto/agregator-questrooms-search.dto.d.ts +2 -0
  8. package/dist/article/article.ro.d.ts +1 -2
  9. package/dist/article/create-article.dto.d.ts +0 -1
  10. package/dist/article/create-article.dto.js +0 -5
  11. package/dist/city/city.ro.d.ts +2 -1
  12. package/dist/city/update-city.dto.d.ts +0 -1
  13. package/dist/city/update-city.dto.js +0 -6
  14. package/dist/questroom/enum/questroom-type.enum.d.ts +5 -1
  15. package/dist/questroom/enum/questroom-type.enum.js +4 -0
  16. package/dist/shared/enum/tags.enum.d.ts +1 -0
  17. package/dist/shared/enum/tags.enum.js +1 -0
  18. package/dist/tsconfig.build.tsbuildinfo +1 -1
  19. package/package.json +2 -2
  20. package/dist/agregator/agregator-questroom-by-tags.ro.d.ts +0 -22
  21. package/dist/agregator/agregator-similar-questrooms-near.ro.d.ts +0 -6
  22. package/dist/agregator/agregator-similar-questrooms-near.ro.js +0 -2
  23. package/dist/agregator/dto/agregator-questrooms-by-city-query.dto.d.ts +0 -4
  24. package/dist/agregator/dto/agregator-questrooms-by-city-query.dto.js +0 -2
  25. /package/dist/agregator/{agregator-city-questrooms.ro.js → agregator-questrooms-and-cities.ro.js} +0 -0
  26. /package/dist/agregator/{agregator-questroom-by-tags.ro.js → dto/agregator-favorites.dto.js} +0 -0
@@ -3,5 +3,7 @@ export declare type AgregatorOrganizationQuestroomsRO = {
3
3
  organization: {
4
4
  title: string;
5
5
  };
6
- questrooms: AgregatorQuestroomCardRO[];
6
+ questrooms: Array<AgregatorQuestroomCardRO & {
7
+ address: string;
8
+ }>;
7
9
  };
@@ -1,6 +1,6 @@
1
1
  export declare type AgregatorPostCardRO = {
2
2
  title: string;
3
3
  time: string;
4
- preview: string;
4
+ poster: string;
5
5
  slug: string;
6
6
  };
@@ -2,13 +2,12 @@ import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
2
2
  import { Languages } from '../shared/enum/languages.enum';
3
3
  export declare type AgregatorQuestroomCardRO = {
4
4
  createdAt: Date;
5
- top: boolean;
6
- slug: string;
7
5
  title: string;
6
+ slug: string;
7
+ top: boolean;
8
8
  type: QuestroomTypeEnum;
9
9
  rating: number;
10
10
  photo: string;
11
- photos?: string[];
12
11
  time: number;
13
12
  minAge: number;
14
13
  playersMin: number;
@@ -17,5 +16,6 @@ export declare type AgregatorQuestroomCardRO = {
17
16
  fear: number;
18
17
  actors: boolean;
19
18
  price: number;
19
+ hasSchedule: boolean;
20
20
  languages?: Languages[];
21
21
  };
@@ -55,4 +55,6 @@ export declare type AgregatorQuestroomRO = {
55
55
  clean: number;
56
56
  puzzle: number;
57
57
  team: number;
58
+ hasSchedule: boolean;
59
+ top: boolean;
58
60
  };
@@ -1,6 +1,6 @@
1
1
  import { AgregatorCityRO } from './agregator-city.ro';
2
2
  import { AgregatorQuestroomCardRO } from './agregator-questroom-card.ro';
3
- export declare type AgregatorCityQuestroomsRO = {
3
+ export declare type AgregatorQuestroomsAndCitiesRO = {
4
4
  city: AgregatorCityRO;
5
5
  questrooms: AgregatorQuestroomCardRO[];
6
6
  };
@@ -0,0 +1,3 @@
1
+ export declare type AgregatorFavoritesDTO = {
2
+ slugs: string[];
3
+ };
@@ -1,3 +1,4 @@
1
+ import { TagsEnum } from '../../shared/enum/tags.enum';
1
2
  export declare type AgregatorQuestroomsSearchDTO = {
2
3
  skip?: number;
3
4
  country: string;
@@ -9,4 +10,5 @@ export declare type AgregatorQuestroomsSearchDTO = {
9
10
  difficult?: string;
10
11
  fear?: string;
11
12
  age?: string;
13
+ tags?: TagsEnum[];
12
14
  };
@@ -4,10 +4,9 @@ export declare type ArticleResponseObject = ResponseObject & {
4
4
  title: string;
5
5
  description: string;
6
6
  content: string;
7
- poster: string;
8
7
  slug: string;
9
8
  color: string;
10
9
  time: string;
11
- preview: string;
10
+ poster: string;
12
11
  languages: CountriesEnum[];
13
12
  };
@@ -6,6 +6,5 @@ export declare class CreateArticleDto {
6
6
  poster: string;
7
7
  color: string;
8
8
  time: string;
9
- preview: string;
10
9
  languages: CountriesEnum[];
11
10
  }
@@ -45,11 +45,6 @@ __decorate([
45
45
  (0, class_transformer_1.Expose)(),
46
46
  __metadata("design:type", String)
47
47
  ], CreateArticleDto.prototype, "time", void 0);
48
- __decorate([
49
- (0, is_not_blank_1.IsNotBlank)(),
50
- (0, class_transformer_1.Expose)(),
51
- __metadata("design:type", String)
52
- ], CreateArticleDto.prototype, "preview", void 0);
53
48
  __decorate([
54
49
  (0, class_validator_1.IsArray)(),
55
50
  (0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
@@ -1,5 +1,6 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
- export declare type CityResponseObject = {
2
+ export declare type CityRO = {
3
+ id: number;
3
4
  title: string;
4
5
  country: CountriesEnum;
5
6
  photo?: string;
@@ -3,5 +3,4 @@ export declare class UpdateCityDto {
3
3
  title: string;
4
4
  country: CountriesEnum;
5
5
  photo: string;
6
- coordinates: string;
7
6
  }
@@ -31,10 +31,4 @@ __decorate([
31
31
  (0, class_transformer_1.Expose)(),
32
32
  __metadata("design:type", String)
33
33
  ], UpdateCityDto.prototype, "photo", void 0);
34
- __decorate([
35
- (0, class_validator_1.IsOptional)(),
36
- (0, class_validator_1.IsLatLong)(),
37
- (0, class_transformer_1.Expose)(),
38
- __metadata("design:type", String)
39
- ], UpdateCityDto.prototype, "coordinates", void 0);
40
34
  exports.UpdateCityDto = UpdateCityDto;
@@ -1,5 +1,9 @@
1
1
  export declare enum QuestroomTypeEnum {
2
2
  ESCAPE = "escape",
3
3
  VR = "vr",
4
- SUSPENSE = "suspense"
4
+ SUSPENSE = "suspense",
5
+ PERFORMANCE = "performance",
6
+ OUTDOOR = "outdoor",
7
+ MORPHEUS = "morpheus",
8
+ ACTION = "action"
5
9
  }
@@ -6,4 +6,8 @@ var QuestroomTypeEnum;
6
6
  QuestroomTypeEnum["ESCAPE"] = "escape";
7
7
  QuestroomTypeEnum["VR"] = "vr";
8
8
  QuestroomTypeEnum["SUSPENSE"] = "suspense";
9
+ QuestroomTypeEnum["PERFORMANCE"] = "performance";
10
+ QuestroomTypeEnum["OUTDOOR"] = "outdoor";
11
+ QuestroomTypeEnum["MORPHEUS"] = "morpheus";
12
+ QuestroomTypeEnum["ACTION"] = "action";
9
13
  })(QuestroomTypeEnum = exports.QuestroomTypeEnum || (exports.QuestroomTypeEnum = {}));
@@ -15,6 +15,7 @@ export declare enum TagsEnum {
15
15
  KIDS = "kids"
16
16
  }
17
17
  export declare enum TechTagsEnum {
18
+ KIDS = "kids",
18
19
  NEW = "new",
19
20
  ACTORS = "actors",
20
21
  BEGINNER = "beginner",
@@ -20,6 +20,7 @@ var TagsEnum;
20
20
  })(TagsEnum = exports.TagsEnum || (exports.TagsEnum = {}));
21
21
  var TechTagsEnum;
22
22
  (function (TechTagsEnum) {
23
+ TechTagsEnum["KIDS"] = "kids";
23
24
  TechTagsEnum["NEW"] = "new";
24
25
  TechTagsEnum["ACTORS"] = "actors";
25
26
  TechTagsEnum["BEGINNER"] = "beginner";