@exclusive-website/types 2.6.4 → 2.6.6

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
@@ -112,16 +112,17 @@ export interface ModelShortPreviewClientReadDto {
112
112
  id: number;
113
113
  nickname: string;
114
114
  location: LocationDto;
115
- toppedSubscription: SubscriptionReadDto;
116
- toppedHomeSubscription: SubscriptionReadDto;
117
- publishedSubscription: SubscriptionReadDto;
118
115
  transactionState: TransactionStatus;
116
+ approvedState: StateOfListing;
119
117
  featuredImage: MediaDto;
120
118
  created: Date;
121
119
  viewCount: number;
120
+ toppedSubscription: SubscriptionReadDto;
121
+ toppedHomeSubscription: SubscriptionReadDto;
122
+ publishedSubscription: SubscriptionReadDto;
122
123
  }
123
124
  export interface SubscriptionReadDto {
124
- typeOfSubscription: PricingCategory;
125
+ isActive: boolean;
125
126
  endOfSubscription: Date;
126
127
  }
127
128
  export interface ModelReadDto {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.6.4",
3
+ "version": "2.6.6",
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
@@ -146,17 +146,18 @@ export interface ModelShortPreviewClientReadDto {
146
146
  id: number;
147
147
  nickname: string;
148
148
  location: LocationDto;
149
- toppedSubscription: SubscriptionReadDto;
150
- toppedHomeSubscription: SubscriptionReadDto;
151
- publishedSubscription: SubscriptionReadDto;
152
149
  transactionState: TransactionStatus;
150
+ approvedState: StateOfListing;
153
151
  featuredImage: MediaDto;
154
152
  created: Date;
155
153
  viewCount: number;
154
+ toppedSubscription: SubscriptionReadDto;
155
+ toppedHomeSubscription: SubscriptionReadDto;
156
+ publishedSubscription: SubscriptionReadDto;
156
157
  }
157
158
 
158
159
  export interface SubscriptionReadDto {
159
- typeOfSubscription: PricingCategory;
160
+ isActive: boolean;
160
161
  endOfSubscription: Date;
161
162
  }
162
163