@exclusive-website/types 2.1.9 → 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 +5 -7
- package/dist/filterEnums.js +7 -9
- package/dist/types.d.ts +9 -41
- package/package.json +1 -1
- package/src/filterEnums.ts +1 -0
- 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,14 +19,8 @@ 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 {
|
|
23
|
+
UNDEFINED = "UNDEFINED",
|
|
30
24
|
BANSKOBYSTRICKY = "BANSKOBYSTRICKY",
|
|
31
25
|
BRATISLAVSKY = "BRATISLAVSKY",
|
|
32
26
|
KOSICKY = "KOSICKY",
|
|
@@ -134,6 +128,7 @@ export declare enum Language {
|
|
|
134
128
|
FRENCH = "FRENCH"
|
|
135
129
|
}
|
|
136
130
|
export declare enum AgeRange {
|
|
131
|
+
UNDEFINED = "UNDEFINED",
|
|
137
132
|
AGE_18_19 = "AGE_18_19",
|
|
138
133
|
AGE_20_24 = "AGE_20_24",
|
|
139
134
|
AGE_25_29 = "AGE_25_29",
|
|
@@ -142,10 +137,12 @@ export declare enum AgeRange {
|
|
|
142
137
|
AGE_40_PLUS = "AGE_40_PLUS"
|
|
143
138
|
}
|
|
144
139
|
export declare enum AvailabilityStatus {
|
|
140
|
+
UNDEFINED = "UNDEFINED",
|
|
145
141
|
AVAILABLE = "AVAILABLE",
|
|
146
142
|
UNAVAILABLE = "UNAVAILABLE"
|
|
147
143
|
}
|
|
148
144
|
export declare enum BreastSize {
|
|
145
|
+
UNDEFINED = "UNDEFINED",
|
|
149
146
|
SIZE_1 = "SIZE_1",
|
|
150
147
|
SIZE_2 = "SIZE_2",
|
|
151
148
|
SIZE_3 = "SIZE_3",
|
|
@@ -155,6 +152,7 @@ export declare enum BreastSize {
|
|
|
155
152
|
SIZE_7_PLUS = "SIZE_7_PLUS"
|
|
156
153
|
}
|
|
157
154
|
export declare enum NationalityOption {
|
|
155
|
+
UNDEFINED = "UNDEFINED",
|
|
158
156
|
SLOVAK = "SLOVAK",
|
|
159
157
|
HUNGARIAN = "HUNGARIAN",
|
|
160
158
|
CZECH = "CZECH",
|
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,16 +30,10 @@ 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) {
|
|
36
|
+
Region["UNDEFINED"] = "UNDEFINED";
|
|
43
37
|
Region["BANSKOBYSTRICKY"] = "BANSKOBYSTRICKY";
|
|
44
38
|
Region["BRATISLAVSKY"] = "BRATISLAVSKY";
|
|
45
39
|
Region["KOSICKY"] = "KOSICKY";
|
|
@@ -153,6 +147,7 @@ var Language;
|
|
|
153
147
|
// AGE RANGE
|
|
154
148
|
var AgeRange;
|
|
155
149
|
(function (AgeRange) {
|
|
150
|
+
AgeRange["UNDEFINED"] = "UNDEFINED";
|
|
156
151
|
AgeRange["AGE_18_19"] = "AGE_18_19";
|
|
157
152
|
AgeRange["AGE_20_24"] = "AGE_20_24";
|
|
158
153
|
AgeRange["AGE_25_29"] = "AGE_25_29";
|
|
@@ -163,12 +158,14 @@ var AgeRange;
|
|
|
163
158
|
// AVAILABILITY
|
|
164
159
|
var AvailabilityStatus;
|
|
165
160
|
(function (AvailabilityStatus) {
|
|
161
|
+
AvailabilityStatus["UNDEFINED"] = "UNDEFINED";
|
|
166
162
|
AvailabilityStatus["AVAILABLE"] = "AVAILABLE";
|
|
167
163
|
AvailabilityStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
168
164
|
})(AvailabilityStatus = exports.AvailabilityStatus || (exports.AvailabilityStatus = {}));
|
|
169
165
|
// BREAST SIZE
|
|
170
166
|
var BreastSize;
|
|
171
167
|
(function (BreastSize) {
|
|
168
|
+
BreastSize["UNDEFINED"] = "UNDEFINED";
|
|
172
169
|
BreastSize["SIZE_1"] = "SIZE_1";
|
|
173
170
|
BreastSize["SIZE_2"] = "SIZE_2";
|
|
174
171
|
BreastSize["SIZE_3"] = "SIZE_3";
|
|
@@ -180,6 +177,7 @@ var BreastSize;
|
|
|
180
177
|
// NATIONALITY
|
|
181
178
|
var NationalityOption;
|
|
182
179
|
(function (NationalityOption) {
|
|
180
|
+
NationalityOption["UNDEFINED"] = "UNDEFINED";
|
|
183
181
|
NationalityOption["SLOVAK"] = "SLOVAK";
|
|
184
182
|
NationalityOption["HUNGARIAN"] = "HUNGARIAN";
|
|
185
183
|
NationalityOption["CZECH"] = "CZECH";
|
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
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>
|