@exclusive-website/types 1.8.0 → 1.8.2

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
@@ -28,9 +28,9 @@ export interface ModelWriteDto {
28
28
  region: Location;
29
29
  address: string;
30
30
  workingTime: DaySchedule[];
31
- featuredImage: number;
32
- photos: number[];
33
- videos: number[];
31
+ featuredImage: string;
32
+ photos: string[];
33
+ videos: string[];
34
34
  }
35
35
  export interface DaySchedule {
36
36
  dayOfWeek: DayOfWeek;
@@ -64,6 +64,17 @@ export interface ModelShortReadDto {
64
64
  hairColor: HairColor;
65
65
  hairLength: HairLength;
66
66
  }
67
+ export interface ModelShortPreviewReadDto {
68
+ id: number;
69
+ nickname: string;
70
+ region: Location;
71
+ isNew: boolean;
72
+ isTopped: boolean;
73
+ isAvailable: boolean;
74
+ featuredImage: string;
75
+ created: string;
76
+ viewCount: number;
77
+ }
67
78
  export interface ModelReadDto {
68
79
  id: number;
69
80
  nickname: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
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
@@ -48,9 +48,9 @@ export interface ModelWriteDto {
48
48
  region: Location;
49
49
  address: string;
50
50
  workingTime: DaySchedule[];
51
- featuredImage: number;
52
- photos: number[];
53
- videos: number[];
51
+ featuredImage: string;
52
+ photos: string[];
53
+ videos: string[];
54
54
  }
55
55
 
56
56
  export interface DaySchedule {
@@ -90,6 +90,18 @@ export interface ModelShortReadDto {
90
90
  hairLength: HairLength;
91
91
  }
92
92
 
93
+ export interface ModelShortPreviewReadDto {
94
+ id: number;
95
+ nickname: string;
96
+ region: Location;
97
+ isNew: boolean;
98
+ isTopped: boolean;
99
+ isAvailable: boolean;
100
+ featuredImage: string;
101
+ created: string;
102
+ viewCount: number;
103
+ }
104
+
93
105
  export interface ModelReadDto {
94
106
  id: number;
95
107
  nickname: string;