@exclusive-website/types 2.8.7 → 2.8.9

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
@@ -111,6 +111,7 @@ export interface ModelShortPreviewReadDto {
111
111
  }
112
112
  export interface ModelShortPreviewClientReadDto {
113
113
  id: number;
114
+ variableSymbol: string;
114
115
  nickname: string;
115
116
  location: LocationDto;
116
117
  transactionState: TransactionStatus;
@@ -122,6 +123,7 @@ export interface ModelShortPreviewClientReadDto {
122
123
  toppedHomeSubscription: SubscriptionReadDto;
123
124
  publishedSubscription: SubscriptionReadDto;
124
125
  transactionId?: number;
126
+ visibility: boolean;
125
127
  }
126
128
  export interface SubscriptionReadDto {
127
129
  isActive: boolean;
@@ -349,3 +351,7 @@ export type AdminUserReadDto = {
349
351
  roles: UserRole[];
350
352
  email: string;
351
353
  };
354
+ export type ListingVisibilityUpdateDto = {
355
+ id: number;
356
+ visibility: boolean;
357
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.8.7",
3
+ "version": "2.8.9",
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
@@ -145,6 +145,7 @@ export interface ModelShortPreviewReadDto {
145
145
 
146
146
  export interface ModelShortPreviewClientReadDto {
147
147
  id: number;
148
+ variableSymbol: string;
148
149
  nickname: string;
149
150
  location: LocationDto;
150
151
  transactionState: TransactionStatus;
@@ -156,6 +157,7 @@ export interface ModelShortPreviewClientReadDto {
156
157
  toppedHomeSubscription: SubscriptionReadDto;
157
158
  publishedSubscription: SubscriptionReadDto;
158
159
  transactionId? : number;
160
+ visibility: boolean;
159
161
  }
160
162
 
161
163
  export interface SubscriptionReadDto {
@@ -414,4 +416,9 @@ export type AdminUserReadDto = {
414
416
  id: number;
415
417
  roles: UserRole[];
416
418
  email: string;
417
- };
419
+ };
420
+
421
+ export type ListingVisibilityUpdateDto = {
422
+ id: number;
423
+ visibility: boolean
424
+ }