@exclusive-website/types 2.6.8 → 2.7.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
@@ -221,6 +221,7 @@ export interface ListingPricingReadDto {
221
221
  }
222
222
  export interface ListingPricingWriteDto {
223
223
  id: number;
224
+ isActive: boolean;
224
225
  durationDays: number;
225
226
  category: PricingCategory;
226
227
  prices: PriceReadDto[];
@@ -232,7 +233,7 @@ export interface PriceReadDto {
232
233
  }
233
234
  export interface ListingAdminFilterQueryReadDto {
234
235
  query: ListingQueryReadDto;
235
- text: string;
236
+ text?: string;
236
237
  stateOfListing: StateOfListing;
237
238
  transactionState?: TransactionStatus;
238
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.6.8",
3
+ "version": "2.7.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
@@ -272,6 +272,7 @@ export interface ListingPricingReadDto {
272
272
 
273
273
  export interface ListingPricingWriteDto {
274
274
  id: number;
275
+ isActive: boolean;
275
276
  durationDays: number;
276
277
  category: PricingCategory;
277
278
  prices: PriceReadDto[];
@@ -285,7 +286,7 @@ export interface PriceReadDto {
285
286
 
286
287
  export interface ListingAdminFilterQueryReadDto {
287
288
  query: ListingQueryReadDto;
288
- text: string;
289
+ text?: string;
289
290
  stateOfListing: StateOfListing;
290
291
  transactionState?: TransactionStatus;
291
292
  }