@escapenavigator/types 1.7.21 → 1.8.0

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.
@@ -0,0 +1,13 @@
1
+ import { AgregatorQuestroomCardRO, AgregatorQuestroomLocation } from './agregator-questroom-card.ro';
2
+ import { AgregatorProfile } from './agregator-questroom.ro';
3
+ declare class Location extends AgregatorQuestroomLocation {
4
+ address: string;
5
+ }
6
+ declare class Questroom extends AgregatorQuestroomCardRO {
7
+ location: Location;
8
+ }
9
+ export declare class AgregatorOrganizationQuestroomsRO {
10
+ organization: AgregatorProfile;
11
+ questrooms: Questroom[];
12
+ }
13
+ export {};
@@ -0,0 +1,42 @@
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.AgregatorOrganizationQuestroomsRO = void 0;
13
+ /* eslint-disable max-classes-per-file */
14
+ const class_transformer_1 = require("class-transformer");
15
+ const agregator_questroom_card_ro_1 = require("./agregator-questroom-card.ro");
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", String)
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);
30
+ class AgregatorOrganizationQuestroomsRO {
31
+ }
32
+ __decorate([
33
+ (0, class_transformer_1.Expose)(),
34
+ (0, class_transformer_1.Type)(() => agregator_questroom_ro_1.AgregatorProfile),
35
+ __metadata("design:type", agregator_questroom_ro_1.AgregatorProfile)
36
+ ], AgregatorOrganizationQuestroomsRO.prototype, "organization", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_transformer_1.Type)(() => Questroom),
40
+ __metadata("design:type", Array)
41
+ ], AgregatorOrganizationQuestroomsRO.prototype, "questrooms", void 0);
42
+ exports.AgregatorOrganizationQuestroomsRO = AgregatorOrganizationQuestroomsRO;
@@ -14,6 +14,7 @@ export declare class AgregatorQuestroomCardRO {
14
14
  rate: number;
15
15
  photo: string;
16
16
  minAge: number;
17
+ time: number;
17
18
  playersMin: number;
18
19
  playersMax: number;
19
20
  difficult: number;
@@ -75,6 +75,10 @@ __decorate([
75
75
  (0, class_transformer_1.Expose)(),
76
76
  __metadata("design:type", Number)
77
77
  ], AgregatorQuestroomCardRO.prototype, "minAge", void 0);
78
+ __decorate([
79
+ (0, class_transformer_1.Expose)(),
80
+ __metadata("design:type", Number)
81
+ ], AgregatorQuestroomCardRO.prototype, "time", void 0);
78
82
  __decorate([
79
83
  (0, class_transformer_1.Expose)(),
80
84
  __metadata("design:type", Number)
@@ -7,6 +7,7 @@ import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
7
7
  import { ProfileTagEnum } from './enum/profile-tag.enum';
8
8
  export declare class QueryAdminProfileDto {
9
9
  tags?: ProfileTagEnum[];
10
+ notTags?: ProfileTagEnum[];
10
11
  partnerProgram?: PartnerProgramEnum;
11
12
  subscriptionStatus?: ProfileSubscriptionEnum[];
12
13
  subscriptionType?: ProfileSubscriptionTypeEnum;
@@ -22,6 +22,10 @@ __decorate([
22
22
  (0, class_transformer_1.Expose)(),
23
23
  __metadata("design:type", Array)
24
24
  ], QueryAdminProfileDto.prototype, "tags", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", Array)
28
+ ], QueryAdminProfileDto.prototype, "notTags", void 0);
25
29
  __decorate([
26
30
  (0, class_transformer_1.Expose)(),
27
31
  __metadata("design:type", String)