@exclusive-website/types 2.3.8 → 2.4.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
@@ -1,4 +1,4 @@
1
- import { ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
1
+ import { ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, TransactionStatus, UserRole } from "./filterEnums";
2
2
  export interface ModelWriteDto {
3
3
  nickname: string;
4
4
  phoneNumber: string;
@@ -202,7 +202,11 @@ export interface PriceReadDto {
202
202
  }
203
203
  export interface ListingAdminFilterQueryReadDto {
204
204
  query: ListingQueryReadDto;
205
- state: StateOfListing;
205
+ stateOfListing: StateOfListingDto;
206
+ }
207
+ export interface StateOfListingDto {
208
+ approvedState: ApprovedState;
209
+ transactionState: TransactionStatus;
206
210
  }
207
211
  export interface ModelAdminListReadDto {
208
212
  models: ModelAdminShortReadDto[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.3.8",
3
+ "version": "2.4.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
@@ -246,7 +246,12 @@ export interface PriceReadDto {
246
246
 
247
247
  export interface ListingAdminFilterQueryReadDto {
248
248
  query: ListingQueryReadDto;
249
- state: StateOfListing;
249
+ stateOfListing: StateOfListingDto;
250
+ }
251
+
252
+ export interface StateOfListingDto {
253
+ approvedState: ApprovedState;
254
+ transactionState: TransactionStatus;
250
255
  }
251
256
 
252
257
  export interface ModelAdminListReadDto {