@exclusive-website/types 2.9.6 → 2.9.8

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
@@ -123,6 +123,7 @@ export interface ModelShortPreviewClientReadDto {
123
123
  toppedHomeSubscription: SubscriptionReadDto;
124
124
  publishedSubscription: SubscriptionReadDto;
125
125
  transactionId?: number;
126
+ visibility: boolean;
126
127
  }
127
128
  export interface SubscriptionReadDto {
128
129
  isActive: boolean;
@@ -351,15 +352,15 @@ export declare type AdminUserReadDto = {
351
352
  email: string;
352
353
  };
353
354
  export declare type AdminListingSubscriptionReadDto = {
354
- publishActiveUntil: Date;
355
- topHomeActiveUntil: Date;
356
- topGlobalActiveUntil: Date;
355
+ publishActiveUntil: Date | null;
356
+ topHomeActiveUntil: Date | null;
357
+ topGlobalActiveUntil: Date | null;
357
358
  };
358
359
  export declare type AdminListingSubscriptionWriteDto = {
359
360
  listingId: number;
360
- publishActiveUntil: Date;
361
- topHomeActiveUntil: Date;
362
- topGlobalActiveUntil: Date;
361
+ publishActiveUntil: Date | null;
362
+ topHomeActiveUntil: Date | null;
363
+ topGlobalActiveUntil: Date | null;
363
364
  };
364
365
  export declare type ListingVisibilityUpdateDto = {
365
366
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.9.6",
3
+ "version": "2.9.8",
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
@@ -157,6 +157,7 @@ export interface ModelShortPreviewClientReadDto {
157
157
  toppedHomeSubscription: SubscriptionReadDto;
158
158
  publishedSubscription: SubscriptionReadDto;
159
159
  transactionId? : number;
160
+ visibility: boolean;
160
161
  }
161
162
 
162
163
  export interface SubscriptionReadDto {
@@ -418,17 +419,17 @@ export type AdminUserReadDto = {
418
419
  };
419
420
 
420
421
  export type AdminListingSubscriptionReadDto = {
421
- publishActiveUntil: Date;
422
- topHomeActiveUntil: Date;
423
- topGlobalActiveUntil: Date;
424
- }
422
+ publishActiveUntil: Date | null;
423
+ topHomeActiveUntil: Date | null;
424
+ topGlobalActiveUntil: Date | null;
425
+ };
425
426
 
426
427
  export type AdminListingSubscriptionWriteDto = {
427
428
  listingId: number;
428
- publishActiveUntil: Date;
429
- topHomeActiveUntil: Date;
430
- topGlobalActiveUntil: Date;
431
- }
429
+ publishActiveUntil: Date | null;
430
+ topHomeActiveUntil: Date | null;
431
+ topGlobalActiveUntil: Date | null;
432
+ };
432
433
 
433
434
  export type ListingVisibilityUpdateDto = {
434
435
  id: number;