@exclusive-website/types 1.7.0 → 1.7.1
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/.idea/exclusive-girls-types.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/dist/types.d.ts +20 -15
- package/package.json +1 -1
- package/src/types.ts +57 -17
|
@@ -0,0 +1,12 @@
|
|
|
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>
|
|
@@ -0,0 +1,8 @@
|
|
|
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>
|
package/.idea/vcs.xml
ADDED
package/dist/types.d.ts
CHANGED
|
@@ -27,10 +27,29 @@ export interface ModelWriteDto {
|
|
|
27
27
|
otherService: OtherPractise[];
|
|
28
28
|
region: Location;
|
|
29
29
|
address: string;
|
|
30
|
-
workingTime:
|
|
30
|
+
workingTime: ScheduleDTO[];
|
|
31
31
|
featuredImage: number;
|
|
32
32
|
media: number[];
|
|
33
33
|
}
|
|
34
|
+
export interface DaySchedule {
|
|
35
|
+
status: DayStatus;
|
|
36
|
+
delivery?: boolean;
|
|
37
|
+
workingHoursFrom?: string;
|
|
38
|
+
workingHoursTo?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ScheduleDTO {
|
|
41
|
+
monday: DaySchedule;
|
|
42
|
+
tuesday: DaySchedule;
|
|
43
|
+
wednesday: DaySchedule;
|
|
44
|
+
thursday: DaySchedule;
|
|
45
|
+
friday: DaySchedule;
|
|
46
|
+
saturday: DaySchedule;
|
|
47
|
+
sunday: DaySchedule;
|
|
48
|
+
}
|
|
49
|
+
export interface ListingQueryReadDto {
|
|
50
|
+
page: number;
|
|
51
|
+
perPage: number;
|
|
52
|
+
}
|
|
34
53
|
export interface ModelListReadDto {
|
|
35
54
|
models: ModelShortReadDto[];
|
|
36
55
|
currentPage: number;
|
|
@@ -108,20 +127,6 @@ export interface TimeRange {
|
|
|
108
127
|
from: string;
|
|
109
128
|
to: string;
|
|
110
129
|
}
|
|
111
|
-
export interface DaySchedule {
|
|
112
|
-
status: DayStatus;
|
|
113
|
-
delivery?: boolean;
|
|
114
|
-
workingHours?: TimeRange;
|
|
115
|
-
}
|
|
116
|
-
export interface ScheduleDTO {
|
|
117
|
-
monday: DaySchedule;
|
|
118
|
-
tuesday: DaySchedule;
|
|
119
|
-
wednesday: DaySchedule;
|
|
120
|
-
thursday: DaySchedule;
|
|
121
|
-
friday: DaySchedule;
|
|
122
|
-
saturday: DaySchedule;
|
|
123
|
-
sunday: DaySchedule;
|
|
124
|
-
}
|
|
125
130
|
export interface PaymentOptionDTO {
|
|
126
131
|
id: string;
|
|
127
132
|
title: string;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -47,11 +47,34 @@ export interface ModelWriteDto {
|
|
|
47
47
|
|
|
48
48
|
region: Location;
|
|
49
49
|
address: string;
|
|
50
|
-
workingTime:
|
|
50
|
+
workingTime: ScheduleDTO[];
|
|
51
51
|
featuredImage: number;
|
|
52
52
|
media: number[];
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
export interface DaySchedule {
|
|
56
|
+
status: DayStatus;
|
|
57
|
+
delivery?: boolean; // Optional, only relevant for PRACUJEM
|
|
58
|
+
workingHoursFrom?: string;
|
|
59
|
+
workingHoursTo?: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface ScheduleDTO {
|
|
63
|
+
monday: DaySchedule;
|
|
64
|
+
tuesday: DaySchedule;
|
|
65
|
+
wednesday: DaySchedule;
|
|
66
|
+
thursday: DaySchedule;
|
|
67
|
+
friday: DaySchedule;
|
|
68
|
+
saturday: DaySchedule;
|
|
69
|
+
sunday: DaySchedule;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface ListingQueryReadDto {
|
|
73
|
+
page: number;
|
|
74
|
+
perPage: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
55
78
|
export interface ModelListReadDto {
|
|
56
79
|
models: ModelShortReadDto[];
|
|
57
80
|
currentPage: number;
|
|
@@ -118,8 +141,20 @@ export interface UserInfoReadDto {
|
|
|
118
141
|
role: UserRole;
|
|
119
142
|
}
|
|
120
143
|
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
121
151
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
122
152
|
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
123
158
|
//SECURITY
|
|
124
159
|
export interface RegisterUserDto {
|
|
125
160
|
email: string;
|
|
@@ -135,28 +170,19 @@ export interface JwtDto {
|
|
|
135
170
|
token: string;
|
|
136
171
|
}
|
|
137
172
|
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
138
180
|
//SCHEDULE
|
|
139
181
|
export interface TimeRange {
|
|
140
182
|
from: string; // Format: "HH:mm"
|
|
141
183
|
to: string; // Format: "HH:mm"
|
|
142
184
|
}
|
|
143
185
|
|
|
144
|
-
export interface DaySchedule {
|
|
145
|
-
status: DayStatus;
|
|
146
|
-
delivery?: boolean; // Optional, only relevant for PRACUJEM
|
|
147
|
-
workingHours?: TimeRange; // Optional, only for PRACUJEM with delivery
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export interface ScheduleDTO {
|
|
151
|
-
monday: DaySchedule;
|
|
152
|
-
tuesday: DaySchedule;
|
|
153
|
-
wednesday: DaySchedule;
|
|
154
|
-
thursday: DaySchedule;
|
|
155
|
-
friday: DaySchedule;
|
|
156
|
-
saturday: DaySchedule;
|
|
157
|
-
sunday: DaySchedule;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
186
|
//PAYMENT
|
|
161
187
|
export interface PaymentOptionDTO {
|
|
162
188
|
id: string;
|
|
@@ -170,6 +196,14 @@ export interface PaymentOptionDTO {
|
|
|
170
196
|
}[];
|
|
171
197
|
}
|
|
172
198
|
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
173
207
|
export interface ChargingOption {
|
|
174
208
|
cost: number;
|
|
175
209
|
currency: SupportedCurrency;
|
|
@@ -185,6 +219,12 @@ export interface InfoPoint {
|
|
|
185
219
|
point: string;
|
|
186
220
|
}
|
|
187
221
|
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
188
228
|
export interface ListingPricingDTO {
|
|
189
229
|
id: string;
|
|
190
230
|
title: string;
|