@exclusive-website/types 1.8.5 → 1.8.7
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 +15 -9
- package/package.json +1 -1
- package/src/types.ts +16 -9
- package/tsconfig.json +3 -1
package/dist/types.d.ts
CHANGED
|
@@ -28,9 +28,9 @@ export interface ModelWriteDto {
|
|
|
28
28
|
region: Location;
|
|
29
29
|
address: string;
|
|
30
30
|
workingTime: DaySchedule[];
|
|
31
|
-
featuredImage:
|
|
32
|
-
photos:
|
|
33
|
-
videos:
|
|
31
|
+
featuredImage: MediaDto;
|
|
32
|
+
photos: MediaDto[];
|
|
33
|
+
videos: MediaDto[];
|
|
34
34
|
}
|
|
35
35
|
export interface DaySchedule {
|
|
36
36
|
dayOfWeek: DayOfWeek;
|
|
@@ -56,8 +56,8 @@ export interface ModelShortReadDto {
|
|
|
56
56
|
isNew: boolean;
|
|
57
57
|
isTopped: boolean;
|
|
58
58
|
isAvailable: boolean;
|
|
59
|
-
featuredImage:
|
|
60
|
-
photos:
|
|
59
|
+
featuredImage: MediaDto;
|
|
60
|
+
photos: MediaDto[];
|
|
61
61
|
height: number;
|
|
62
62
|
weight: number;
|
|
63
63
|
breastSize: number;
|
|
@@ -71,7 +71,7 @@ export interface ModelShortPreviewReadDto {
|
|
|
71
71
|
isNew: boolean;
|
|
72
72
|
isTopped: boolean;
|
|
73
73
|
isAvailable: boolean;
|
|
74
|
-
featuredImage:
|
|
74
|
+
featuredImage: MediaDto;
|
|
75
75
|
created: Date;
|
|
76
76
|
viewCount: number;
|
|
77
77
|
}
|
|
@@ -83,9 +83,9 @@ export interface ModelReadDto {
|
|
|
83
83
|
isNew: boolean;
|
|
84
84
|
isTopped: boolean;
|
|
85
85
|
isAvailable: boolean;
|
|
86
|
-
featuredImage:
|
|
87
|
-
photos:
|
|
88
|
-
video:
|
|
86
|
+
featuredImage: MediaDto;
|
|
87
|
+
photos: MediaDto[];
|
|
88
|
+
video: MediaDto[];
|
|
89
89
|
height: number;
|
|
90
90
|
weight: number;
|
|
91
91
|
breastSize: number;
|
|
@@ -115,6 +115,12 @@ export interface UserInfoReadDto {
|
|
|
115
115
|
email: string;
|
|
116
116
|
role: UserRole;
|
|
117
117
|
}
|
|
118
|
+
export interface MediaDto {
|
|
119
|
+
url: string;
|
|
120
|
+
}
|
|
121
|
+
export interface AuthJwtDto {
|
|
122
|
+
email: string;
|
|
123
|
+
}
|
|
118
124
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
119
125
|
export interface RegisterUserDto {
|
|
120
126
|
email: string;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -48,9 +48,9 @@ export interface ModelWriteDto {
|
|
|
48
48
|
region: Location;
|
|
49
49
|
address: string;
|
|
50
50
|
workingTime: DaySchedule[];
|
|
51
|
-
featuredImage:
|
|
52
|
-
photos:
|
|
53
|
-
videos:
|
|
51
|
+
featuredImage: MediaDto;
|
|
52
|
+
photos: MediaDto[];
|
|
53
|
+
videos: MediaDto[];
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export interface DaySchedule {
|
|
@@ -81,8 +81,8 @@ export interface ModelShortReadDto {
|
|
|
81
81
|
isNew: boolean;
|
|
82
82
|
isTopped: boolean;
|
|
83
83
|
isAvailable: boolean;
|
|
84
|
-
featuredImage:
|
|
85
|
-
photos:
|
|
84
|
+
featuredImage: MediaDto;
|
|
85
|
+
photos: MediaDto[];
|
|
86
86
|
height: number;
|
|
87
87
|
weight: number;
|
|
88
88
|
breastSize: number;
|
|
@@ -97,7 +97,7 @@ export interface ModelShortPreviewReadDto {
|
|
|
97
97
|
isNew: boolean;
|
|
98
98
|
isTopped: boolean;
|
|
99
99
|
isAvailable: boolean;
|
|
100
|
-
featuredImage:
|
|
100
|
+
featuredImage: MediaDto;
|
|
101
101
|
created: Date;
|
|
102
102
|
viewCount: number;
|
|
103
103
|
}
|
|
@@ -110,9 +110,9 @@ export interface ModelReadDto {
|
|
|
110
110
|
isNew: boolean;
|
|
111
111
|
isTopped: boolean;
|
|
112
112
|
isAvailable: boolean;
|
|
113
|
-
featuredImage:
|
|
114
|
-
photos:
|
|
115
|
-
video:
|
|
113
|
+
featuredImage: MediaDto;
|
|
114
|
+
photos: MediaDto[];
|
|
115
|
+
video: MediaDto[];
|
|
116
116
|
height: number;
|
|
117
117
|
weight: number;
|
|
118
118
|
breastSize: number;
|
|
@@ -144,6 +144,13 @@ export interface UserInfoReadDto {
|
|
|
144
144
|
role: UserRole;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
export interface MediaDto {
|
|
148
|
+
url: string;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface AuthJwtDto {
|
|
152
|
+
email : string;
|
|
153
|
+
}
|
|
147
154
|
|
|
148
155
|
|
|
149
156
|
|
package/tsconfig.json
CHANGED