@exclusive-website/types 2.4.9 → 2.5.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 +17 -2
- package/package.json +1 -1
- package/src/types.ts +19 -2
package/dist/types.d.ts
CHANGED
|
@@ -108,6 +108,22 @@ export interface ModelShortPreviewReadDto {
|
|
|
108
108
|
created: Date;
|
|
109
109
|
viewCount: number;
|
|
110
110
|
}
|
|
111
|
+
export interface ModelShortPreviewClientReadDto {
|
|
112
|
+
id: number;
|
|
113
|
+
nickname: string;
|
|
114
|
+
location: LocationDto;
|
|
115
|
+
toppedSubscription: SubscriptionReadDto;
|
|
116
|
+
toppedHomeSubscription: SubscriptionReadDto;
|
|
117
|
+
publishedSubscription: SubscriptionReadDto;
|
|
118
|
+
transactionState: TransactionStatus;
|
|
119
|
+
featuredImage: MediaDto;
|
|
120
|
+
created: Date;
|
|
121
|
+
viewCount: number;
|
|
122
|
+
}
|
|
123
|
+
export interface SubscriptionReadDto {
|
|
124
|
+
typeOfSubscription: PricingCategory;
|
|
125
|
+
endOfSubscription: Date;
|
|
126
|
+
}
|
|
111
127
|
export interface ModelReadDto {
|
|
112
128
|
id: number;
|
|
113
129
|
nickname: string;
|
|
@@ -210,7 +226,6 @@ export interface PriceReadDto {
|
|
|
210
226
|
export interface ListingAdminFilterQueryReadDto {
|
|
211
227
|
query: ListingQueryReadDto;
|
|
212
228
|
stateOfListing: StateOfListing;
|
|
213
|
-
approvedState: StateOfListing;
|
|
214
229
|
transactionState: TransactionStatus;
|
|
215
230
|
}
|
|
216
231
|
export interface ModelAdminListReadDto {
|
|
@@ -265,7 +280,7 @@ export interface ModelAdminDetailReadDto {
|
|
|
265
280
|
created: Date;
|
|
266
281
|
approvedState: StateOfListing;
|
|
267
282
|
paymentState: TransactionStatus;
|
|
268
|
-
|
|
283
|
+
activeTransaction: TransactionReadDto[];
|
|
269
284
|
}
|
|
270
285
|
export interface TransactionReadDto {
|
|
271
286
|
status: TransactionStatus;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -141,6 +141,24 @@ export interface ModelShortPreviewReadDto {
|
|
|
141
141
|
viewCount: number;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
+
export interface ModelShortPreviewClientReadDto {
|
|
145
|
+
id: number;
|
|
146
|
+
nickname: string;
|
|
147
|
+
location: LocationDto;
|
|
148
|
+
toppedSubscription: SubscriptionReadDto;
|
|
149
|
+
toppedHomeSubscription: SubscriptionReadDto;
|
|
150
|
+
publishedSubscription: SubscriptionReadDto;
|
|
151
|
+
transactionState: TransactionStatus;
|
|
152
|
+
featuredImage: MediaDto;
|
|
153
|
+
created: Date;
|
|
154
|
+
viewCount: number;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface SubscriptionReadDto {
|
|
158
|
+
typeOfSubscription: PricingCategory;
|
|
159
|
+
endOfSubscription: Date;
|
|
160
|
+
}
|
|
161
|
+
|
|
144
162
|
export interface ModelReadDto {
|
|
145
163
|
id: number;
|
|
146
164
|
nickname: string;
|
|
@@ -259,7 +277,6 @@ export interface PriceReadDto {
|
|
|
259
277
|
export interface ListingAdminFilterQueryReadDto {
|
|
260
278
|
query: ListingQueryReadDto;
|
|
261
279
|
stateOfListing: StateOfListing;
|
|
262
|
-
approvedState: StateOfListing;
|
|
263
280
|
transactionState: TransactionStatus;
|
|
264
281
|
}
|
|
265
282
|
|
|
@@ -317,7 +334,7 @@ export interface ModelAdminDetailReadDto {
|
|
|
317
334
|
created: Date;
|
|
318
335
|
approvedState: StateOfListing;
|
|
319
336
|
paymentState: TransactionStatus;
|
|
320
|
-
|
|
337
|
+
activeTransaction: TransactionReadDto[];
|
|
321
338
|
}
|
|
322
339
|
|
|
323
340
|
export interface TransactionReadDto {
|