@exclusive-website/types 2.7.2 → 2.7.4

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 { ApplyStatus, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
1
+ import { ApplyStatus, 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;
@@ -54,6 +54,7 @@ export interface DaySchedule {
54
54
  export interface ListingQueryReadDto {
55
55
  page: number;
56
56
  perPage: number;
57
+ text?: string;
57
58
  }
58
59
  export interface ListingFilterQueryReadDto {
59
60
  query: ListingQueryReadDto;
@@ -113,7 +114,7 @@ export interface ModelShortPreviewClientReadDto {
113
114
  nickname: string;
114
115
  location: LocationDto;
115
116
  transactionState: TransactionStatus;
116
- approvedState: StateOfListing;
117
+ approvedState: ApprovedState;
117
118
  featuredImage: MediaDto;
118
119
  created: Date;
119
120
  viewCount: number;
@@ -233,7 +234,6 @@ export interface PriceReadDto {
233
234
  }
234
235
  export interface ListingAdminFilterQueryReadDto {
235
236
  query: ListingQueryReadDto;
236
- text?: string;
237
237
  stateOfListing: StateOfListing;
238
238
  transactionState?: TransactionStatus;
239
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.7.2",
3
+ "version": "2.7.4",
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
@@ -1,5 +1,5 @@
1
1
  import {
2
- ApplyStatus,
2
+ ApplyStatus, ApprovedState,
3
3
  Availability,
4
4
  ContactMethod,
5
5
  Currency,
@@ -82,6 +82,7 @@ export interface DaySchedule {
82
82
  export interface ListingQueryReadDto {
83
83
  page: number;
84
84
  perPage: number;
85
+ text?: string;
85
86
  }
86
87
 
87
88
  export interface ListingFilterQueryReadDto {
@@ -147,7 +148,7 @@ export interface ModelShortPreviewClientReadDto {
147
148
  nickname: string;
148
149
  location: LocationDto;
149
150
  transactionState: TransactionStatus;
150
- approvedState: StateOfListing;
151
+ approvedState: ApprovedState;
151
152
  featuredImage: MediaDto;
152
153
  created: Date;
153
154
  viewCount: number;
@@ -286,7 +287,6 @@ export interface PriceReadDto {
286
287
 
287
288
  export interface ListingAdminFilterQueryReadDto {
288
289
  query: ListingQueryReadDto;
289
- text?: string;
290
290
  stateOfListing: StateOfListing;
291
291
  transactionState?: TransactionStatus;
292
292
  }