@exclusive-website/types 2.1.8 → 2.2.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.
- package/dist/filterEnums.d.ts +0 -7
- package/dist/filterEnums.js +2 -9
- package/dist/types.d.ts +9 -41
- package/package.json +1 -1
- package/src/filterEnums.ts +1 -5
- package/src/types.ts +1 -0
- package/.idea/exclusive-girls-types.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
package/dist/filterEnums.d.ts
CHANGED
|
@@ -19,13 +19,6 @@ 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
|
-
}
|
|
29
22
|
export declare enum Region {
|
|
30
23
|
UNDEFINED = "UNDEFINED",
|
|
31
24
|
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.
|
|
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;
|
|
4
4
|
// DAY STATUS
|
|
5
5
|
var DayStatus;
|
|
6
6
|
(function (DayStatus) {
|
|
@@ -30,14 +30,7 @@ var ServiceType;
|
|
|
30
30
|
ServiceType["MASSAGE"] = "MASSAGE";
|
|
31
31
|
ServiceType["DOMINA"] = "DOMINA";
|
|
32
32
|
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
33
|
-
|
|
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 = {}));
|
|
33
|
+
// LOCATION
|
|
41
34
|
var Region;
|
|
42
35
|
(function (Region) {
|
|
43
36
|
Region["UNDEFINED"] = "UNDEFINED";
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Availability, ContactMethod, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, 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 } from "./filterEnums";
|
|
2
2
|
export interface ModelWriteDto {
|
|
3
3
|
nickname: string;
|
|
4
4
|
phoneNumber: string;
|
|
@@ -25,9 +25,8 @@ export interface ModelWriteDto {
|
|
|
25
25
|
description: string;
|
|
26
26
|
practice: Practise[];
|
|
27
27
|
otherService: OtherPractise[];
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
city: CityDto;
|
|
28
|
+
region: Region;
|
|
29
|
+
city: City;
|
|
31
30
|
workingTime: DaySchedule[];
|
|
32
31
|
featuredImage: MediaDto;
|
|
33
32
|
photos: MediaDto[];
|
|
@@ -47,9 +46,8 @@ export interface ListingQueryReadDto {
|
|
|
47
46
|
export interface ListingFilterQueryReadDto {
|
|
48
47
|
query: ListingQueryReadDto;
|
|
49
48
|
hasTattoo: boolean;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
cityIds: number[];
|
|
49
|
+
region: Region;
|
|
50
|
+
city: City;
|
|
53
51
|
old: AgeFilter;
|
|
54
52
|
availability: Availability;
|
|
55
53
|
breastSize: number;
|
|
@@ -74,7 +72,7 @@ export interface ModelShortReadDto {
|
|
|
74
72
|
id: number;
|
|
75
73
|
nickname: string;
|
|
76
74
|
age: number;
|
|
77
|
-
|
|
75
|
+
region: Region;
|
|
78
76
|
isNew: boolean;
|
|
79
77
|
isTopped: boolean;
|
|
80
78
|
isAvailable: boolean;
|
|
@@ -89,7 +87,7 @@ export interface ModelShortReadDto {
|
|
|
89
87
|
export interface ModelShortPreviewReadDto {
|
|
90
88
|
id: number;
|
|
91
89
|
nickname: string;
|
|
92
|
-
|
|
90
|
+
region: Region;
|
|
93
91
|
isNew: boolean;
|
|
94
92
|
isTopped: boolean;
|
|
95
93
|
isAvailable: boolean;
|
|
@@ -101,7 +99,7 @@ export interface ModelReadDto {
|
|
|
101
99
|
id: number;
|
|
102
100
|
nickname: string;
|
|
103
101
|
age: number;
|
|
104
|
-
|
|
102
|
+
region: Region;
|
|
105
103
|
isNew: boolean;
|
|
106
104
|
isTopped: boolean;
|
|
107
105
|
isAvailable: boolean;
|
|
@@ -135,34 +133,13 @@ export interface ModelReadDto {
|
|
|
135
133
|
export interface UserInfoReadDto {
|
|
136
134
|
id: number;
|
|
137
135
|
email: string;
|
|
138
|
-
|
|
136
|
+
role: UserRole;
|
|
139
137
|
}
|
|
140
138
|
export interface MediaDto {
|
|
141
139
|
url: string;
|
|
142
140
|
}
|
|
143
141
|
export interface AuthJwtDto {
|
|
144
142
|
email: string;
|
|
145
|
-
roles: UserRole[];
|
|
146
|
-
}
|
|
147
|
-
export interface FavoritesListing {
|
|
148
|
-
ids: number[];
|
|
149
|
-
}
|
|
150
|
-
export interface LocationDto {
|
|
151
|
-
country: string;
|
|
152
|
-
region: string;
|
|
153
|
-
city: string;
|
|
154
|
-
}
|
|
155
|
-
export interface CountryDto {
|
|
156
|
-
countryId: number;
|
|
157
|
-
country: string;
|
|
158
|
-
}
|
|
159
|
-
export interface RegionDto {
|
|
160
|
-
regionId: number;
|
|
161
|
-
region: string;
|
|
162
|
-
}
|
|
163
|
-
export interface CityDto {
|
|
164
|
-
cityId: number;
|
|
165
|
-
city: string;
|
|
166
143
|
}
|
|
167
144
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
168
145
|
export interface RegisterUserDto {
|
|
@@ -176,15 +153,6 @@ export interface LoginUserDto {
|
|
|
176
153
|
export interface JwtDto {
|
|
177
154
|
token: string;
|
|
178
155
|
}
|
|
179
|
-
export interface ActivateDto {
|
|
180
|
-
email: string;
|
|
181
|
-
code: string;
|
|
182
|
-
}
|
|
183
|
-
export interface ResetPasswordDto {
|
|
184
|
-
password: string;
|
|
185
|
-
email: string;
|
|
186
|
-
code: string;
|
|
187
|
-
}
|
|
188
156
|
export interface TimeRange {
|
|
189
157
|
from: string;
|
|
190
158
|
to: string;
|
package/package.json
CHANGED
package/src/filterEnums.ts
CHANGED
|
@@ -37,7 +37,6 @@ export enum Country {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export enum Region {
|
|
40
|
-
UNDEFINED = "UNDEFINED",
|
|
41
40
|
BANSKOBYSTRICKY = "BANSKOBYSTRICKY",
|
|
42
41
|
BRATISLAVSKY = "BRATISLAVSKY",
|
|
43
42
|
KOSICKY = "KOSICKY",
|
|
@@ -158,7 +157,6 @@ export enum Language {
|
|
|
158
157
|
|
|
159
158
|
// AGE RANGE
|
|
160
159
|
export enum AgeRange {
|
|
161
|
-
UNDEFINED = "UNDEFINED",
|
|
162
160
|
AGE_18_19 = "AGE_18_19",
|
|
163
161
|
AGE_20_24 = "AGE_20_24",
|
|
164
162
|
AGE_25_29 = "AGE_25_29",
|
|
@@ -169,14 +167,12 @@ export enum AgeRange {
|
|
|
169
167
|
|
|
170
168
|
// AVAILABILITY
|
|
171
169
|
export enum AvailabilityStatus {
|
|
172
|
-
UNDEFINED = "UNDEFINED",
|
|
173
170
|
AVAILABLE = "AVAILABLE",
|
|
174
171
|
UNAVAILABLE = "UNAVAILABLE",
|
|
175
172
|
}
|
|
176
173
|
|
|
177
174
|
// BREAST SIZE
|
|
178
175
|
export enum BreastSize {
|
|
179
|
-
UNDEFINED = "UNDEFINED",
|
|
180
176
|
SIZE_1 = "SIZE_1",
|
|
181
177
|
SIZE_2 = "SIZE_2",
|
|
182
178
|
SIZE_3 = "SIZE_3",
|
|
@@ -188,7 +184,6 @@ export enum BreastSize {
|
|
|
188
184
|
|
|
189
185
|
// NATIONALITY
|
|
190
186
|
export enum NationalityOption {
|
|
191
|
-
UNDEFINED = "UNDEFINED",
|
|
192
187
|
SLOVAK = "SLOVAK",
|
|
193
188
|
HUNGARIAN = "HUNGARIAN",
|
|
194
189
|
CZECH = "CZECH",
|
|
@@ -209,6 +204,7 @@ export enum ServicesFor {
|
|
|
209
204
|
MEN = "MEN",
|
|
210
205
|
WOMEN = "WOMEN",
|
|
211
206
|
COUPLES = "COUPLES",
|
|
207
|
+
ZTP = "ZTP",
|
|
212
208
|
}
|
|
213
209
|
|
|
214
210
|
// USER ROLE
|
package/src/types.ts
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$">
|
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
-
</content>
|
|
9
|
-
<orderEntry type="inheritedJdk" />
|
|
10
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
-
</component>
|
|
12
|
-
</module>
|
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/exclusive-girls-types.iml" filepath="$PROJECT_DIR$/.idea/exclusive-girls-types.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|