@exclusive-website/types 2.9.4 → 2.9.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +17 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.9.4",
3
+ "version": "2.9.5",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
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
  }