@exclusive-website/types 2.1.3 → 2.1.5

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.5",
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
@@ -44,7 +44,9 @@ export interface ModelWriteDto {
44
44
  practice: Practise[];
45
45
  otherService: OtherPractise[];
46
46
 
47
- cityId: number;
47
+ country: CountryDto;
48
+ region: RegionDto;
49
+ city: CityDto;
48
50
  workingTime: DaySchedule[];
49
51
  featuredImage: MediaDto;
50
52
  photos: MediaDto[];