@exclusive-website/types 1.9.3 → 1.9.5
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/filterEnums.d.ts +7 -0
- package/dist/filterEnums.js +9 -2
- package/dist/types.d.ts +14 -1
- package/package.json +1 -1
- package/src/filterEnums.ts +9 -1
- package/src/types.ts +15 -1
package/dist/filterEnums.d.ts
CHANGED
|
@@ -19,6 +19,13 @@ export declare enum ServiceType {
|
|
|
19
19
|
MASSAGE = "MASSAGE",
|
|
20
20
|
DOMINA = "DOMINA"
|
|
21
21
|
}
|
|
22
|
+
export declare enum Country {
|
|
23
|
+
SLOVAKIA = "SLOVAKIA",
|
|
24
|
+
CZECH = "CZECH",
|
|
25
|
+
AUSTRIA = "AUSTRIA",
|
|
26
|
+
HUNGARY = "HUNGARY",
|
|
27
|
+
POLAND = "POLAND"
|
|
28
|
+
}
|
|
22
29
|
export declare enum Region {
|
|
23
30
|
UNDEFINED = "UNDEFINED",
|
|
24
31
|
BANSKOBYSTRICKY = "BANSKOBYSTRICKY",
|
package/dist/filterEnums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Availability = exports.HairLength = exports.HairColor = exports.ShaveStatus = exports.OtherPractise = exports.Practise = exports.UserRole = exports.ServicesFor = exports.ContactMethod = exports.NationalityOption = exports.BreastSize = exports.AvailabilityStatus = exports.AgeRange = exports.Language = exports.DayOfWeek = exports.City = exports.Region = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
3
|
+
exports.Availability = exports.HairLength = exports.HairColor = exports.ShaveStatus = exports.OtherPractise = exports.Practise = exports.UserRole = exports.ServicesFor = exports.ContactMethod = exports.NationalityOption = exports.BreastSize = exports.AvailabilityStatus = exports.AgeRange = exports.Language = exports.DayOfWeek = exports.City = exports.Region = exports.Country = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
4
4
|
// DAY STATUS
|
|
5
5
|
var DayStatus;
|
|
6
6
|
(function (DayStatus) {
|
|
@@ -30,7 +30,14 @@ var ServiceType;
|
|
|
30
30
|
ServiceType["MASSAGE"] = "MASSAGE";
|
|
31
31
|
ServiceType["DOMINA"] = "DOMINA";
|
|
32
32
|
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
33
|
-
|
|
33
|
+
var Country;
|
|
34
|
+
(function (Country) {
|
|
35
|
+
Country["SLOVAKIA"] = "SLOVAKIA";
|
|
36
|
+
Country["CZECH"] = "CZECH";
|
|
37
|
+
Country["AUSTRIA"] = "AUSTRIA";
|
|
38
|
+
Country["HUNGARY"] = "HUNGARY";
|
|
39
|
+
Country["POLAND"] = "POLAND";
|
|
40
|
+
})(Country = exports.Country || (exports.Country = {}));
|
|
34
41
|
var Region;
|
|
35
42
|
(function (Region) {
|
|
36
43
|
Region["UNDEFINED"] = "UNDEFINED";
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Availability, ContactMethod, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, City, NationalityOption, OtherPractise, Practise, Region, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, UserRole } from "./filterEnums";
|
|
1
|
+
import { Availability, ContactMethod, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, City, NationalityOption, OtherPractise, Practise, Region, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, UserRole, Country } from "./filterEnums";
|
|
2
2
|
export interface ModelWriteDto {
|
|
3
3
|
nickname: string;
|
|
4
4
|
phoneNumber: string;
|
|
@@ -25,6 +25,7 @@ export interface ModelWriteDto {
|
|
|
25
25
|
description: string;
|
|
26
26
|
practice: Practise[];
|
|
27
27
|
otherService: OtherPractise[];
|
|
28
|
+
country: Country;
|
|
28
29
|
region: Region;
|
|
29
30
|
city: City;
|
|
30
31
|
workingTime: DaySchedule[];
|
|
@@ -46,6 +47,7 @@ export interface ListingQueryReadDto {
|
|
|
46
47
|
export interface ListingFilterQueryReadDto {
|
|
47
48
|
query: ListingQueryReadDto;
|
|
48
49
|
hasTattoo: boolean;
|
|
50
|
+
country: Country;
|
|
49
51
|
region: Region;
|
|
50
52
|
city: City;
|
|
51
53
|
old: AgeFilter;
|
|
@@ -72,7 +74,9 @@ export interface ModelShortReadDto {
|
|
|
72
74
|
id: number;
|
|
73
75
|
nickname: string;
|
|
74
76
|
age: number;
|
|
77
|
+
country: Country;
|
|
75
78
|
region: Region;
|
|
79
|
+
city: City;
|
|
76
80
|
isNew: boolean;
|
|
77
81
|
isTopped: boolean;
|
|
78
82
|
isAvailable: boolean;
|
|
@@ -87,7 +91,9 @@ export interface ModelShortReadDto {
|
|
|
87
91
|
export interface ModelShortPreviewReadDto {
|
|
88
92
|
id: number;
|
|
89
93
|
nickname: string;
|
|
94
|
+
country: Country;
|
|
90
95
|
region: Region;
|
|
96
|
+
city: City;
|
|
91
97
|
isNew: boolean;
|
|
92
98
|
isTopped: boolean;
|
|
93
99
|
isAvailable: boolean;
|
|
@@ -99,7 +105,9 @@ export interface ModelReadDto {
|
|
|
99
105
|
id: number;
|
|
100
106
|
nickname: string;
|
|
101
107
|
age: number;
|
|
108
|
+
country: Country;
|
|
102
109
|
region: Region;
|
|
110
|
+
city: City;
|
|
103
111
|
isNew: boolean;
|
|
104
112
|
isTopped: boolean;
|
|
105
113
|
isAvailable: boolean;
|
|
@@ -145,6 +153,11 @@ export interface AuthJwtDto {
|
|
|
145
153
|
export interface FavoritesListing {
|
|
146
154
|
ids: number[];
|
|
147
155
|
}
|
|
156
|
+
export interface LocationFilterDto {
|
|
157
|
+
countries: Country[];
|
|
158
|
+
regions: Region[];
|
|
159
|
+
cities: City[];
|
|
160
|
+
}
|
|
148
161
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
149
162
|
export interface RegisterUserDto {
|
|
150
163
|
email: string;
|
package/package.json
CHANGED
package/src/filterEnums.ts
CHANGED
|
@@ -27,7 +27,15 @@ export enum ServiceType {
|
|
|
27
27
|
DOMINA = "DOMINA",
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
export enum Country {
|
|
32
|
+
SLOVAKIA = "SLOVAKIA",
|
|
33
|
+
CZECH = "CZECH",
|
|
34
|
+
AUSTRIA = "AUSTRIA",
|
|
35
|
+
HUNGARY = "HUNGARY",
|
|
36
|
+
POLAND = "POLAND",
|
|
37
|
+
}
|
|
38
|
+
|
|
31
39
|
export enum Region {
|
|
32
40
|
UNDEFINED = "UNDEFINED",
|
|
33
41
|
BANSKOBYSTRICKY = "BANSKOBYSTRICKY",
|
package/src/types.ts
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ServiceType,
|
|
18
18
|
SexualOrientation,
|
|
19
19
|
ShaveStatus,
|
|
20
|
-
UserRole,
|
|
20
|
+
UserRole, Country,
|
|
21
21
|
} from "./filterEnums";
|
|
22
22
|
|
|
23
23
|
export interface ModelWriteDto {
|
|
@@ -47,6 +47,7 @@ export interface ModelWriteDto {
|
|
|
47
47
|
practice: Practise[];
|
|
48
48
|
otherService: OtherPractise[];
|
|
49
49
|
|
|
50
|
+
country: Country;
|
|
50
51
|
region: Region;
|
|
51
52
|
city: City;
|
|
52
53
|
workingTime: DaySchedule[];
|
|
@@ -71,6 +72,7 @@ export interface ListingQueryReadDto {
|
|
|
71
72
|
export interface ListingFilterQueryReadDto {
|
|
72
73
|
query: ListingQueryReadDto;
|
|
73
74
|
hasTattoo: boolean;
|
|
75
|
+
country: Country;
|
|
74
76
|
region: Region;
|
|
75
77
|
city: City;
|
|
76
78
|
old: AgeFilter;
|
|
@@ -100,7 +102,9 @@ export interface ModelShortReadDto {
|
|
|
100
102
|
id: number;
|
|
101
103
|
nickname: string;
|
|
102
104
|
age: number;
|
|
105
|
+
country: Country;
|
|
103
106
|
region: Region;
|
|
107
|
+
city: City;
|
|
104
108
|
isNew: boolean;
|
|
105
109
|
isTopped: boolean;
|
|
106
110
|
isAvailable: boolean;
|
|
@@ -116,7 +120,9 @@ export interface ModelShortReadDto {
|
|
|
116
120
|
export interface ModelShortPreviewReadDto {
|
|
117
121
|
id: number;
|
|
118
122
|
nickname: string;
|
|
123
|
+
country: Country;
|
|
119
124
|
region: Region;
|
|
125
|
+
city: City;
|
|
120
126
|
isNew: boolean;
|
|
121
127
|
isTopped: boolean;
|
|
122
128
|
isAvailable: boolean;
|
|
@@ -129,7 +135,9 @@ export interface ModelReadDto {
|
|
|
129
135
|
id: number;
|
|
130
136
|
nickname: string;
|
|
131
137
|
age: number;
|
|
138
|
+
country: Country;
|
|
132
139
|
region: Region;
|
|
140
|
+
city: City;
|
|
133
141
|
isNew: boolean;
|
|
134
142
|
isTopped: boolean;
|
|
135
143
|
isAvailable: boolean;
|
|
@@ -180,6 +188,12 @@ export interface FavoritesListing {
|
|
|
180
188
|
ids: number[];
|
|
181
189
|
}
|
|
182
190
|
|
|
191
|
+
export interface LocationFilterDto {
|
|
192
|
+
countries: Country[];
|
|
193
|
+
regions: Region[];
|
|
194
|
+
cities: City[];
|
|
195
|
+
}
|
|
196
|
+
|
|
183
197
|
|
|
184
198
|
|
|
185
199
|
|