@exclusive-website/types 2.9.4 → 2.9.6
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 +14 -0
- package/package.json +1 -1
- package/src/types.ts +17 -0
package/dist/types.d.ts
CHANGED
|
@@ -361,3 +361,17 @@ export declare type AdminListingSubscriptionWriteDto = {
|
|
|
361
361
|
topHomeActiveUntil: Date;
|
|
362
362
|
topGlobalActiveUntil: Date;
|
|
363
363
|
};
|
|
364
|
+
export declare type ListingVisibilityUpdateDto = {
|
|
365
|
+
id: number;
|
|
366
|
+
visibility: boolean;
|
|
367
|
+
};
|
|
368
|
+
export declare type ListingPublishShortDto = {
|
|
369
|
+
id: number;
|
|
370
|
+
updatedAt: Date;
|
|
371
|
+
};
|
|
372
|
+
export declare type ImagesAdminWriteDto = {
|
|
373
|
+
listingId: number;
|
|
374
|
+
featuredImage: MediaDto;
|
|
375
|
+
photos: MediaDto[];
|
|
376
|
+
videos: MediaDto[];
|
|
377
|
+
};
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -428,4 +428,21 @@ export type AdminListingSubscriptionWriteDto = {
|
|
|
428
428
|
publishActiveUntil: Date;
|
|
429
429
|
topHomeActiveUntil: Date;
|
|
430
430
|
topGlobalActiveUntil: Date;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type ListingVisibilityUpdateDto = {
|
|
434
|
+
id: number;
|
|
435
|
+
visibility: boolean
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type ListingPublishShortDto = {
|
|
439
|
+
id: number;
|
|
440
|
+
updatedAt: Date;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type ImagesAdminWriteDto = {
|
|
444
|
+
listingId: number;
|
|
445
|
+
featuredImage: MediaDto;
|
|
446
|
+
photos: MediaDto[];
|
|
447
|
+
videos: MediaDto[];
|
|
431
448
|
}
|