@exclusive-website/types 1.9.4 → 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 +11 -1
- package/package.json +1 -1
- package/src/filterEnums.ts +9 -1
- package/src/types.ts +12 -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,6 +74,7 @@ export interface ModelShortReadDto {
|
|
|
72
74
|
id: number;
|
|
73
75
|
nickname: string;
|
|
74
76
|
age: number;
|
|
77
|
+
country: Country;
|
|
75
78
|
region: Region;
|
|
76
79
|
city: City;
|
|
77
80
|
isNew: boolean;
|
|
@@ -88,6 +91,7 @@ export interface ModelShortReadDto {
|
|
|
88
91
|
export interface ModelShortPreviewReadDto {
|
|
89
92
|
id: number;
|
|
90
93
|
nickname: string;
|
|
94
|
+
country: Country;
|
|
91
95
|
region: Region;
|
|
92
96
|
city: City;
|
|
93
97
|
isNew: boolean;
|
|
@@ -101,6 +105,7 @@ export interface ModelReadDto {
|
|
|
101
105
|
id: number;
|
|
102
106
|
nickname: string;
|
|
103
107
|
age: number;
|
|
108
|
+
country: Country;
|
|
104
109
|
region: Region;
|
|
105
110
|
city: City;
|
|
106
111
|
isNew: boolean;
|
|
@@ -148,6 +153,11 @@ export interface AuthJwtDto {
|
|
|
148
153
|
export interface FavoritesListing {
|
|
149
154
|
ids: number[];
|
|
150
155
|
}
|
|
156
|
+
export interface LocationFilterDto {
|
|
157
|
+
countries: Country[];
|
|
158
|
+
regions: Region[];
|
|
159
|
+
cities: City[];
|
|
160
|
+
}
|
|
151
161
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
152
162
|
export interface RegisterUserDto {
|
|
153
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,6 +102,7 @@ export interface ModelShortReadDto {
|
|
|
100
102
|
id: number;
|
|
101
103
|
nickname: string;
|
|
102
104
|
age: number;
|
|
105
|
+
country: Country;
|
|
103
106
|
region: Region;
|
|
104
107
|
city: City;
|
|
105
108
|
isNew: boolean;
|
|
@@ -117,6 +120,7 @@ export interface ModelShortReadDto {
|
|
|
117
120
|
export interface ModelShortPreviewReadDto {
|
|
118
121
|
id: number;
|
|
119
122
|
nickname: string;
|
|
123
|
+
country: Country;
|
|
120
124
|
region: Region;
|
|
121
125
|
city: City;
|
|
122
126
|
isNew: boolean;
|
|
@@ -131,6 +135,7 @@ export interface ModelReadDto {
|
|
|
131
135
|
id: number;
|
|
132
136
|
nickname: string;
|
|
133
137
|
age: number;
|
|
138
|
+
country: Country;
|
|
134
139
|
region: Region;
|
|
135
140
|
city: City;
|
|
136
141
|
isNew: boolean;
|
|
@@ -183,6 +188,12 @@ export interface FavoritesListing {
|
|
|
183
188
|
ids: number[];
|
|
184
189
|
}
|
|
185
190
|
|
|
191
|
+
export interface LocationFilterDto {
|
|
192
|
+
countries: Country[];
|
|
193
|
+
regions: Region[];
|
|
194
|
+
cities: City[];
|
|
195
|
+
}
|
|
196
|
+
|
|
186
197
|
|
|
187
198
|
|
|
188
199
|
|