@exclusive-website/types 1.2.1 → 1.2.3
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/types.d.ts +57 -118
- package/package.json +1 -1
- package/src/types.ts +2 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,33 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AvailableService, BreastSize, ContactMethod, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherOption, Practice, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, SpecialService } from "./filterEnums";
|
|
2
2
|
export interface ModelDTO {
|
|
3
3
|
id: number;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
4
|
+
media: {
|
|
5
|
+
images: string[];
|
|
6
|
+
videos: string[];
|
|
7
|
+
};
|
|
8
|
+
identity: {
|
|
9
|
+
nickname: string;
|
|
10
|
+
nationality: NationalityOption;
|
|
11
|
+
languages: Language[];
|
|
12
|
+
sexualOrientation: SexualOrientation;
|
|
13
|
+
phoneNumber: string;
|
|
14
|
+
};
|
|
15
|
+
location: {
|
|
16
|
+
city: Location;
|
|
17
|
+
};
|
|
18
|
+
physical: {
|
|
19
|
+
age: number;
|
|
20
|
+
weight: number;
|
|
21
|
+
height: number;
|
|
22
|
+
breastSize: BreastSize;
|
|
23
|
+
hairColor: HairColor;
|
|
24
|
+
hairLength: HairLength;
|
|
25
|
+
shaveStatus: ShaveStatus;
|
|
26
|
+
hasTattoo: boolean;
|
|
27
|
+
hasPiercing: boolean;
|
|
28
|
+
isSmoker: boolean;
|
|
29
|
+
};
|
|
30
|
+
servicesInfo: {
|
|
31
|
+
serviceType: ServiceType;
|
|
32
|
+
experience: ExperienceLevel;
|
|
33
|
+
services: AvailableService[];
|
|
34
|
+
servicesFor: ServicesFor[];
|
|
35
|
+
otherSpecialServices: OtherOption[];
|
|
36
|
+
specialServices: SpecialService[];
|
|
37
|
+
practices: Practice[];
|
|
38
|
+
};
|
|
39
|
+
listing: {
|
|
40
|
+
isNew: boolean;
|
|
41
|
+
isTopped: boolean;
|
|
42
|
+
isAvailable: boolean;
|
|
43
|
+
listingExpired: boolean;
|
|
44
|
+
description: string;
|
|
45
|
+
contactMethods: ContactMethod[];
|
|
46
|
+
};
|
|
30
47
|
}
|
|
48
|
+
export type CardDTO = Pick<ModelDTO, "id" | "media" | "identity" | "location" | "physical" | "listing">;
|
|
31
49
|
export type ActivityStatus = "active" | "inactive";
|
|
32
50
|
export interface ModelListingDTO {
|
|
33
51
|
id: string;
|
|
@@ -43,6 +61,18 @@ export interface ModelListingDTO {
|
|
|
43
61
|
creationDate: string;
|
|
44
62
|
inModelDashboard: boolean;
|
|
45
63
|
}
|
|
64
|
+
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
65
|
+
export interface RegisterUserDto {
|
|
66
|
+
email: string;
|
|
67
|
+
password: string;
|
|
68
|
+
}
|
|
69
|
+
export interface LoginUserDto {
|
|
70
|
+
email: string;
|
|
71
|
+
password: string;
|
|
72
|
+
}
|
|
73
|
+
export interface JwtDto {
|
|
74
|
+
token: string;
|
|
75
|
+
}
|
|
46
76
|
export interface ChargingOption {
|
|
47
77
|
cost: number;
|
|
48
78
|
currency: SupportedCurrency;
|
|
@@ -79,94 +109,3 @@ export interface ToppedPricingDTO {
|
|
|
79
109
|
chargingOptions: ChargingOption[];
|
|
80
110
|
};
|
|
81
111
|
}
|
|
82
|
-
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
83
|
-
export interface PaymentOptionDTO {
|
|
84
|
-
id: string;
|
|
85
|
-
title: string;
|
|
86
|
-
description: string;
|
|
87
|
-
images?: {
|
|
88
|
-
url: string;
|
|
89
|
-
alt: string;
|
|
90
|
-
width: number;
|
|
91
|
-
height: number;
|
|
92
|
-
}[];
|
|
93
|
-
}
|
|
94
|
-
export interface Languages {
|
|
95
|
-
slovak: boolean;
|
|
96
|
-
english: boolean;
|
|
97
|
-
german: boolean;
|
|
98
|
-
}
|
|
99
|
-
export type Nationality = Record<Language, string>;
|
|
100
|
-
export interface Contact {
|
|
101
|
-
socials: {
|
|
102
|
-
phone: string;
|
|
103
|
-
clir: boolean;
|
|
104
|
-
whatsapp: boolean;
|
|
105
|
-
viber: boolean;
|
|
106
|
-
sms: boolean;
|
|
107
|
-
};
|
|
108
|
-
location: {
|
|
109
|
-
city: string;
|
|
110
|
-
address: string;
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
export interface Media {
|
|
114
|
-
url: string;
|
|
115
|
-
alt?: string;
|
|
116
|
-
}
|
|
117
|
-
export type AvailableServices = Record<AvailableService, boolean>;
|
|
118
|
-
export type SpecialServices = Record<SpecialService, boolean>;
|
|
119
|
-
export interface ServicesDTO {
|
|
120
|
-
available: AvailableServices;
|
|
121
|
-
special: SpecialServices;
|
|
122
|
-
}
|
|
123
|
-
export interface ListingDTO {
|
|
124
|
-
id: string;
|
|
125
|
-
name: string;
|
|
126
|
-
description: string;
|
|
127
|
-
demographics: {
|
|
128
|
-
age: number;
|
|
129
|
-
nationality: Nationality;
|
|
130
|
-
languages: Languages;
|
|
131
|
-
};
|
|
132
|
-
contact: Contact;
|
|
133
|
-
about: {
|
|
134
|
-
height: number;
|
|
135
|
-
weight: number;
|
|
136
|
-
footSize: number;
|
|
137
|
-
breastSize: string;
|
|
138
|
-
breastImplants: boolean;
|
|
139
|
-
hairColor: string;
|
|
140
|
-
hairLength: string;
|
|
141
|
-
tattoo: boolean;
|
|
142
|
-
piercing: boolean;
|
|
143
|
-
smoker: boolean;
|
|
144
|
-
sexualOrientation: SexualOrientation;
|
|
145
|
-
shaveStatus: ShaveStatus;
|
|
146
|
-
};
|
|
147
|
-
addons: {
|
|
148
|
-
experience: string;
|
|
149
|
-
targetClientel: {
|
|
150
|
-
privat: boolean;
|
|
151
|
-
escort: boolean;
|
|
152
|
-
men: boolean;
|
|
153
|
-
women: boolean;
|
|
154
|
-
pairs: boolean;
|
|
155
|
-
ztp: boolean;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
services: ServicesDTO;
|
|
159
|
-
images: Media[];
|
|
160
|
-
videos?: Media[];
|
|
161
|
-
}
|
|
162
|
-
export interface RegisterUserDto {
|
|
163
|
-
email: string;
|
|
164
|
-
password: string;
|
|
165
|
-
}
|
|
166
|
-
export interface LoginUserDto {
|
|
167
|
-
email: string;
|
|
168
|
-
password: string;
|
|
169
|
-
}
|
|
170
|
-
export interface JwtDto {
|
|
171
|
-
token: string;
|
|
172
|
-
}
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface ModelDTO {
|
|
|
15
15
|
};
|
|
16
16
|
location: {
|
|
17
17
|
city: Location;
|
|
18
|
-
availability: AvailabilityStatus;
|
|
18
|
+
// availability: AvailabilityStatus;
|
|
19
19
|
};
|
|
20
20
|
physical: {
|
|
21
21
|
age: number;
|
|
@@ -41,6 +41,7 @@ export interface ModelDTO {
|
|
|
41
41
|
listing: {
|
|
42
42
|
isNew: boolean;
|
|
43
43
|
isTopped: boolean;
|
|
44
|
+
isAvailable: boolean;
|
|
44
45
|
listingExpired: boolean;
|
|
45
46
|
description: string;
|
|
46
47
|
contactMethods: ContactMethod[];
|