@exclusive-website/types 2.9.5 → 2.9.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 CHANGED
@@ -351,13 +351,27 @@ export declare type AdminUserReadDto = {
351
351
  email: string;
352
352
  };
353
353
  export declare type AdminListingSubscriptionReadDto = {
354
- publishActiveUntil: Date;
355
- topHomeActiveUntil: Date;
356
- topGlobalActiveUntil: Date;
354
+ publishActiveUntil: Date | null;
355
+ topHomeActiveUntil: Date | null;
356
+ topGlobalActiveUntil: Date | null;
357
357
  };
358
358
  export declare type AdminListingSubscriptionWriteDto = {
359
359
  listingId: number;
360
- publishActiveUntil: Date;
361
- topHomeActiveUntil: Date;
362
- topGlobalActiveUntil: Date;
360
+ publishActiveUntil: Date | null;
361
+ topHomeActiveUntil: Date | null;
362
+ topGlobalActiveUntil: Date | null;
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[];
363
377
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.9.5",
3
+ "version": "2.9.7",
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
@@ -418,17 +418,17 @@ export type AdminUserReadDto = {
418
418
  };
419
419
 
420
420
  export type AdminListingSubscriptionReadDto = {
421
- publishActiveUntil: Date;
422
- topHomeActiveUntil: Date;
423
- topGlobalActiveUntil: Date;
424
- }
421
+ publishActiveUntil: Date | null;
422
+ topHomeActiveUntil: Date | null;
423
+ topGlobalActiveUntil: Date | null;
424
+ };
425
425
 
426
426
  export type AdminListingSubscriptionWriteDto = {
427
427
  listingId: number;
428
- publishActiveUntil: Date;
429
- topHomeActiveUntil: Date;
430
- topGlobalActiveUntil: Date;
431
- }
428
+ publishActiveUntil: Date | null;
429
+ topHomeActiveUntil: Date | null;
430
+ topGlobalActiveUntil: Date | null;
431
+ };
432
432
 
433
433
  export type ListingVisibilityUpdateDto = {
434
434
  id: number;