@exclusive-website/types 2.1.3 → 2.1.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
@@ -25,7 +25,9 @@ export interface ModelWriteDto {
25
25
  description: string;
26
26
  practice: Practise[];
27
27
  otherService: OtherPractise[];
28
- cityId: number;
28
+ country: CountryDto;
29
+ region: RegionDto;
30
+ city: CityDto;
29
31
  workingTime: DaySchedule[];
30
32
  featuredImage: MediaDto;
31
33
  photos: MediaDto[];
@@ -147,8 +149,11 @@ export interface FavoritesListing {
147
149
  }
148
150
  export interface LocationDto {
149
151
  country: string;
152
+ countryId: string;
150
153
  region: string;
154
+ regionId: string;
151
155
  city: string;
156
+ cityId: string;
152
157
  }
153
158
  export interface CountryDto {
154
159
  countryId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.1.3",
3
+ "version": "2.1.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
@@ -43,8 +43,9 @@ export interface ModelWriteDto {
43
43
  description: string;
44
44
  practice: Practise[];
45
45
  otherService: OtherPractise[];
46
-
47
- cityId: number;
46
+ country: CountryDto;
47
+ region: RegionDto;
48
+ city: CityDto;
48
49
  workingTime: DaySchedule[];
49
50
  featuredImage: MediaDto;
50
51
  photos: MediaDto[];
@@ -179,8 +180,11 @@ export interface FavoritesListing {
179
180
 
180
181
  export interface LocationDto {
181
182
  country: string;
183
+ countryId: string;
182
184
  region: string;
185
+ regionId: string;
183
186
  city: string;
187
+ cityId: string;
184
188
  }
185
189
 
186
190
  export interface CountryDto {