@exclusive-website/types 1.8.1 → 1.8.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
@@ -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: number;
76
+ viewCount: number;
77
+ }
67
78
  export interface ModelReadDto {
68
79
  id: number;
69
80
  nickname: string;
@@ -96,7 +107,7 @@ export interface ModelReadDto {
96
107
  isClir: boolean;
97
108
  contactMethods: ContactMethod[];
98
109
  schedule: DaySchedule[];
99
- seenCounter: number;
110
+ viewCount: number;
100
111
  created: Date;
101
112
  }
102
113
  export interface UserInfoReadDto {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "1.8.1",
3
+ "version": "1.8.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
@@ -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: number;
102
+ viewCount: number;
103
+ }
104
+
93
105
  export interface ModelReadDto {
94
106
  id: number;
95
107
  nickname: string;
@@ -122,7 +134,7 @@ export interface ModelReadDto {
122
134
  isClir: boolean;
123
135
  contactMethods: ContactMethod[];
124
136
  schedule: DaySchedule[];
125
- seenCounter: number;
137
+ viewCount: number;
126
138
  created: Date;
127
139
  }
128
140