@exclusive-website/types 2.6.4 → 2.6.5

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,16 @@ 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;
119
116
  featuredImage: MediaDto;
120
117
  created: Date;
121
118
  viewCount: number;
119
+ toppedSubscription: SubscriptionReadDto;
120
+ toppedHomeSubscription: SubscriptionReadDto;
121
+ publishedSubscription: SubscriptionReadDto;
122
122
  }
123
123
  export interface SubscriptionReadDto {
124
- typeOfSubscription: PricingCategory;
124
+ isActive: boolean;
125
125
  endOfSubscription: Date;
126
126
  }
127
127
  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.5",
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,17 @@ 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;
153
150
  featuredImage: MediaDto;
154
151
  created: Date;
155
152
  viewCount: number;
153
+ toppedSubscription: SubscriptionReadDto;
154
+ toppedHomeSubscription: SubscriptionReadDto;
155
+ publishedSubscription: SubscriptionReadDto;
156
156
  }
157
157
 
158
158
  export interface SubscriptionReadDto {
159
- typeOfSubscription: PricingCategory;
159
+ isActive: boolean;
160
160
  endOfSubscription: Date;
161
161
  }
162
162