@exclusive-website/types 2.8.8 → 2.9.0

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;
@@ -350,3 +351,11 @@ export type AdminUserReadDto = {
350
351
  roles: UserRole[];
351
352
  email: string;
352
353
  };
354
+ export type ListingVisibilityUpdateDto = {
355
+ id: number;
356
+ visibility: boolean;
357
+ };
358
+ export type ListingPublishShortDto = {
359
+ id: number;
360
+ updatedAt: Date;
361
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.8.8",
3
+ "version": "2.9.0",
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 {
@@ -415,4 +416,14 @@ export type AdminUserReadDto = {
415
416
  id: number;
416
417
  roles: UserRole[];
417
418
  email: string;
418
- };
419
+ };
420
+
421
+ export type ListingVisibilityUpdateDto = {
422
+ id: number;
423
+ visibility: boolean
424
+ }
425
+
426
+ export type ListingPublishShortDto = {
427
+ id: number;
428
+ updatedAt: Date;
429
+ }