@exclusive-website/types 1.0.6 → 1.0.8
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/.github/workflows/publish.yml +0 -0
- package/package.json +24 -24
- package/src/types.ts +245 -244
- package/.idea/exclusive-girls-types.iml +0 -12
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@exclusive-website/types",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "A collection of shared types (DTOs and DBEs) for the organization",
|
|
5
|
-
"main": "src/types.ts",
|
|
6
|
-
"types": "src/types.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"test": "echo \"No tests yet\" && exit 0"
|
|
10
|
-
},
|
|
11
|
-
"devDependencies": {
|
|
12
|
-
"typescript": "^4.0.0"
|
|
13
|
-
},
|
|
14
|
-
"dependencies": {},
|
|
15
|
-
"publishConfig": {
|
|
16
|
-
"access": "public"
|
|
17
|
-
},
|
|
18
|
-
"author": "
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "https://github.com/exclusive-website/exclusive-girls-types.git"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@exclusive-website/types",
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "A collection of shared types (DTOs and DBEs) for the organization",
|
|
5
|
+
"main": "src/types.ts",
|
|
6
|
+
"types": "src/types.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"test": "echo \"No tests yet\" && exit 0"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"typescript": "^4.0.0"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"author": "Metinas",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/exclusive-website/exclusive-girls-types.git"
|
|
23
|
+
}
|
|
24
|
+
}
|
package/src/types.ts
CHANGED
|
@@ -1,245 +1,246 @@
|
|
|
1
|
-
export interface ModelDTO {
|
|
2
|
-
id: number;
|
|
3
|
-
images: string[];
|
|
4
|
-
videos: string[];
|
|
5
|
-
nickname: string;
|
|
6
|
-
isNew: boolean;
|
|
7
|
-
isTopped: boolean;
|
|
8
|
-
city: string;
|
|
9
|
-
availability: string;
|
|
10
|
-
age: number;
|
|
11
|
-
weight: number;
|
|
12
|
-
height: number;
|
|
13
|
-
chestSize: string;
|
|
14
|
-
hairColor: string;
|
|
15
|
-
hasTattoo: boolean;
|
|
16
|
-
hasPiercing: boolean;
|
|
17
|
-
isSmoker: boolean;
|
|
18
|
-
shaveStatus: string;
|
|
19
|
-
experience: 'profi' | 'advanced' | 'amateur';
|
|
20
|
-
serviceType: string;
|
|
21
|
-
nationality: string;
|
|
22
|
-
languages: string[];
|
|
23
|
-
servicesFor: string[];
|
|
24
|
-
description: string;
|
|
25
|
-
services: string[];
|
|
26
|
-
otherSpecialServices: string[];
|
|
27
|
-
phoneNumber: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
1
|
+
export interface ModelDTO {
|
|
2
|
+
id: number;
|
|
3
|
+
images: string[];
|
|
4
|
+
videos: string[];
|
|
5
|
+
nickname: string;
|
|
6
|
+
isNew: boolean;
|
|
7
|
+
isTopped: boolean;
|
|
8
|
+
city: string;
|
|
9
|
+
availability: string;
|
|
10
|
+
age: number;
|
|
11
|
+
weight: number;
|
|
12
|
+
height: number;
|
|
13
|
+
chestSize: string;
|
|
14
|
+
hairColor: string;
|
|
15
|
+
hasTattoo: boolean;
|
|
16
|
+
hasPiercing: boolean;
|
|
17
|
+
isSmoker: boolean;
|
|
18
|
+
shaveStatus: string;
|
|
19
|
+
experience: 'profi' | 'advanced' | 'amateur';
|
|
20
|
+
serviceType: string;
|
|
21
|
+
nationality: string;
|
|
22
|
+
languages: string[];
|
|
23
|
+
servicesFor: string[];
|
|
24
|
+
description: string;
|
|
25
|
+
services: string[];
|
|
26
|
+
otherSpecialServices: string[];
|
|
27
|
+
phoneNumber: string;
|
|
28
|
+
listingExpired: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type ActivityStatus = "active" | "inactive";
|
|
32
|
+
|
|
33
|
+
export interface ModelListingDTO {
|
|
34
|
+
id: string;
|
|
35
|
+
listingId: string;
|
|
36
|
+
nickname: string;
|
|
37
|
+
city: string;
|
|
38
|
+
image: string[]; //array of urls
|
|
39
|
+
activityStatus: ActivityStatus;
|
|
40
|
+
approved: boolean;
|
|
41
|
+
expirationTime: number; //in hours
|
|
42
|
+
toppedDuration: number; //in hours
|
|
43
|
+
views: number;
|
|
44
|
+
creationDate: string; //format DD.MM.YYYY
|
|
45
|
+
inModelDashboard: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface ChargingOption {
|
|
49
|
+
cost: number;
|
|
50
|
+
currency: SupportedCurrency;
|
|
51
|
+
duration: string;
|
|
52
|
+
id?: string; //id for radio
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface FreeOfChargeOption {
|
|
56
|
+
amount: string; // "bez"
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface InfoPoint {
|
|
60
|
+
point: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface ListingPricingDTO {
|
|
64
|
+
id: string;
|
|
65
|
+
title: string;
|
|
66
|
+
description: string;
|
|
67
|
+
chargingOptions: ChargingOption[];
|
|
68
|
+
infoPoints: InfoPoint[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface ToppedPricingDTO {
|
|
72
|
+
id: string;
|
|
73
|
+
title: string;
|
|
74
|
+
description: string;
|
|
75
|
+
displayFreeOfChargeOption: boolean;
|
|
76
|
+
freeOfChargeOption?: FreeOfChargeOption;
|
|
77
|
+
generalTopped: {
|
|
78
|
+
title: string;
|
|
79
|
+
description: string;
|
|
80
|
+
chargingOptions: ChargingOption[];
|
|
81
|
+
}
|
|
82
|
+
countyTopped: {
|
|
83
|
+
title: string;
|
|
84
|
+
description: string;
|
|
85
|
+
chargingOptions: ChargingOption[];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
90
|
+
|
|
91
|
+
export interface PaymentOptionDTO {
|
|
92
|
+
id: string;
|
|
93
|
+
title: string;
|
|
94
|
+
description: string;
|
|
95
|
+
images?:
|
|
96
|
+
{
|
|
97
|
+
url: string,
|
|
98
|
+
alt: string,
|
|
99
|
+
width: number,
|
|
100
|
+
height: number,
|
|
101
|
+
}[],
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// ENUMS
|
|
105
|
+
export enum SexualOrientation {
|
|
106
|
+
HETERO = "hetero",
|
|
107
|
+
BI = "bi",
|
|
108
|
+
HOMO = "homo"
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export enum ShaveStatus {
|
|
112
|
+
SHAVED = "shaved",
|
|
113
|
+
PARTIALLY_SHAVED = "partially shaved",
|
|
114
|
+
NOT_SHAVED = "not shaved"
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export enum Language {
|
|
118
|
+
SK = "slovak",
|
|
119
|
+
EN = "english",
|
|
120
|
+
DE = "german"
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export enum AvailableService {
|
|
124
|
+
MASSAGE = "massage",
|
|
125
|
+
HANDJOB = "handjob",
|
|
126
|
+
STRIPTEASE = "striptease",
|
|
127
|
+
MUTUAL_MASSAGE = "mutualMassage",
|
|
128
|
+
FOOTJOB = "footjob",
|
|
129
|
+
FOOT_FETISH = "footFetish",
|
|
130
|
+
AUTOEROTIC = "autoerotic",
|
|
131
|
+
STRAP_ON = "strapOn",
|
|
132
|
+
DOMINANCE = "dominance",
|
|
133
|
+
BONDAGE = "bondage",
|
|
134
|
+
ROLEPLAY = "roleplay"
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export enum SpecialService {
|
|
138
|
+
ANAL = "anal",
|
|
139
|
+
BARE_ORAL = "bareOral",
|
|
140
|
+
CUM_IN_MOUTH = "cumInMouth",
|
|
141
|
+
CUM_ON_FACE = "cumOnFace",
|
|
142
|
+
DEEP_ORAL = "deepOral",
|
|
143
|
+
DOUBLE_PENETRATION = "doublePenetration",
|
|
144
|
+
FISTING = "fisting",
|
|
145
|
+
POSITION_69 = "position69",
|
|
146
|
+
PISSING = "pissing",
|
|
147
|
+
RIMMING = "rimming",
|
|
148
|
+
TOYS = "toys"
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// TYPE DEFINITIONS
|
|
152
|
+
export interface Languages {
|
|
153
|
+
slovak: boolean;
|
|
154
|
+
english: boolean;
|
|
155
|
+
german: boolean;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type Nationality = Record<Language, string>;
|
|
159
|
+
|
|
160
|
+
export interface Contact {
|
|
161
|
+
socials: {
|
|
162
|
+
phone: string;
|
|
163
|
+
clir: boolean;
|
|
164
|
+
whatsapp: boolean;
|
|
165
|
+
viber: boolean;
|
|
166
|
+
sms: boolean;
|
|
167
|
+
};
|
|
168
|
+
location: {
|
|
169
|
+
city: string;
|
|
170
|
+
address: string;
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface Media {
|
|
175
|
+
url: string;
|
|
176
|
+
alt?: string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export type AvailableServices = Record<AvailableService, boolean>;
|
|
180
|
+
|
|
181
|
+
export type SpecialServices = Record<SpecialService, boolean>;
|
|
182
|
+
|
|
183
|
+
export interface ServicesDTO {
|
|
184
|
+
available: AvailableServices;
|
|
185
|
+
special: SpecialServices;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface ListingDTO {
|
|
189
|
+
id: string;
|
|
190
|
+
name: string;
|
|
191
|
+
description: string;
|
|
192
|
+
|
|
193
|
+
demographics: {
|
|
194
|
+
age: number;
|
|
195
|
+
nationality: Nationality;
|
|
196
|
+
languages: Languages;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
contact: Contact;
|
|
200
|
+
|
|
201
|
+
about: {
|
|
202
|
+
height: number;
|
|
203
|
+
weight: number;
|
|
204
|
+
footSize: number;
|
|
205
|
+
breastSize: string;
|
|
206
|
+
breastImplants: boolean;
|
|
207
|
+
hairColor: string;
|
|
208
|
+
hairLength: string;
|
|
209
|
+
tattoo: boolean;
|
|
210
|
+
piercing: boolean;
|
|
211
|
+
smoker: boolean;
|
|
212
|
+
sexualOrientation: SexualOrientation;
|
|
213
|
+
shaveStatus: ShaveStatus;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
addons: {
|
|
217
|
+
experience: string;
|
|
218
|
+
targetClientel: {
|
|
219
|
+
privat: boolean;
|
|
220
|
+
escort: boolean;
|
|
221
|
+
men: boolean;
|
|
222
|
+
women: boolean;
|
|
223
|
+
pairs: boolean;
|
|
224
|
+
ztp: boolean;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
services: ServicesDTO;
|
|
229
|
+
|
|
230
|
+
images: Media[];
|
|
231
|
+
videos?: Media[];
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export interface RegisterUserDto {
|
|
235
|
+
email: string;
|
|
236
|
+
password: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface LoginUserDto {
|
|
240
|
+
email: string;
|
|
241
|
+
password: string;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface JwtDto {
|
|
245
|
+
token: string;
|
|
245
246
|
}
|
|
@@ -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>
|