@exclusive-website/types 1.8.9 → 1.9.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/dist/types.d.ts +3 -2
- package/package.json +1 -1
- package/src/types.ts +3 -2
package/dist/types.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface ModelShortReadDto {
|
|
|
87
87
|
export interface ModelShortPreviewReadDto {
|
|
88
88
|
id: number;
|
|
89
89
|
nickname: string;
|
|
90
|
-
region:
|
|
90
|
+
region: Region;
|
|
91
91
|
isNew: boolean;
|
|
92
92
|
isTopped: boolean;
|
|
93
93
|
isAvailable: boolean;
|
|
@@ -99,7 +99,7 @@ export interface ModelReadDto {
|
|
|
99
99
|
id: number;
|
|
100
100
|
nickname: string;
|
|
101
101
|
age: number;
|
|
102
|
-
region:
|
|
102
|
+
region: Region;
|
|
103
103
|
isNew: boolean;
|
|
104
104
|
isTopped: boolean;
|
|
105
105
|
isAvailable: boolean;
|
|
@@ -140,6 +140,7 @@ export interface MediaDto {
|
|
|
140
140
|
}
|
|
141
141
|
export interface AuthJwtDto {
|
|
142
142
|
email: string;
|
|
143
|
+
roles: UserRole[];
|
|
143
144
|
}
|
|
144
145
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
145
146
|
export interface RegisterUserDto {
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -116,7 +116,7 @@ export interface ModelShortReadDto {
|
|
|
116
116
|
export interface ModelShortPreviewReadDto {
|
|
117
117
|
id: number;
|
|
118
118
|
nickname: string;
|
|
119
|
-
region:
|
|
119
|
+
region: Region;
|
|
120
120
|
isNew: boolean;
|
|
121
121
|
isTopped: boolean;
|
|
122
122
|
isAvailable: boolean;
|
|
@@ -129,7 +129,7 @@ export interface ModelReadDto {
|
|
|
129
129
|
id: number;
|
|
130
130
|
nickname: string;
|
|
131
131
|
age: number;
|
|
132
|
-
region:
|
|
132
|
+
region: Region;
|
|
133
133
|
isNew: boolean;
|
|
134
134
|
isTopped: boolean;
|
|
135
135
|
isAvailable: boolean;
|
|
@@ -173,6 +173,7 @@ export interface MediaDto {
|
|
|
173
173
|
|
|
174
174
|
export interface AuthJwtDto {
|
|
175
175
|
email : string;
|
|
176
|
+
roles : UserRole[]
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
|