@exclusive-website/types 2.4.2 → 2.4.3

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, TransactionStatus, UserRole } from "./filterEnums";
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";
2
2
  export interface ModelWriteDto {
3
3
  nickname: string;
4
4
  phoneNumber: string;
@@ -202,9 +202,7 @@ export interface PriceReadDto {
202
202
  }
203
203
  export interface ListingAdminFilterQueryReadDto {
204
204
  query: ListingQueryReadDto;
205
- stateOfListing: StateOfListingDto;
206
- }
207
- export interface StateOfListingDto {
205
+ stateOfListing: StateOfListing;
208
206
  approvedState: ApprovedState;
209
207
  transactionState: TransactionStatus;
210
208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
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,10 +246,7 @@ export interface PriceReadDto {
246
246
 
247
247
  export interface ListingAdminFilterQueryReadDto {
248
248
  query: ListingQueryReadDto;
249
- stateOfListing: StateOfListingDto;
250
- }
251
-
252
- export interface StateOfListingDto {
249
+ stateOfListing: StateOfListing;
253
250
  approvedState: ApprovedState;
254
251
  transactionState: TransactionStatus;
255
252
  }