@mamindom/contracts 1.0.93 → 1.0.94

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.
@@ -91,6 +91,8 @@ export interface ProductListItemResponse {
91
91
  isPopular: boolean;
92
92
  groupId?: string | undefined;
93
93
  colorHex?: string | undefined;
94
+ rating: number;
95
+ reviewCount: number;
94
96
  }
95
97
  export interface ProductListItemResponse_NameEntry {
96
98
  key: string;
@@ -149,6 +151,8 @@ export interface ProductDetailResponse {
149
151
  };
150
152
  colorHex?: string | undefined;
151
153
  groupSiblings: ProductGroupMember[];
154
+ rating: number;
155
+ reviewCount: number;
152
156
  }
153
157
  export interface ProductDetailResponse_NameEntry {
154
158
  key: string;
@@ -155,6 +155,8 @@ message ProductListItemResponse {
155
155
  bool is_popular = 17;
156
156
  optional string group_id = 18;
157
157
  optional string color_hex = 19;
158
+ float rating = 20;
159
+ int32 review_count = 21;
158
160
  }
159
161
 
160
162
 
@@ -198,7 +200,9 @@ message ProductDetailResponse {
198
200
  optional string group_id = 31;
199
201
  map<string, string> color_label = 32;
200
202
  optional string color_hex = 33;
201
- repeated ProductGroupMember group_siblings = 34;
203
+ repeated ProductGroupMember group_siblings = 34;
204
+ float rating = 35;
205
+ int32 review_count = 36;
202
206
  }
203
207
 
204
208
 
package/gen/product.ts CHANGED
@@ -111,6 +111,8 @@ export interface ProductListItemResponse {
111
111
  isPopular: boolean;
112
112
  groupId?: string | undefined;
113
113
  colorHex?: string | undefined;
114
+ rating: number;
115
+ reviewCount: number;
114
116
  }
115
117
 
116
118
  export interface ProductListItemResponse_NameEntry {
@@ -153,6 +155,8 @@ export interface ProductDetailResponse {
153
155
  colorLabel: { [key: string]: string };
154
156
  colorHex?: string | undefined;
155
157
  groupSiblings: ProductGroupMember[];
158
+ rating: number;
159
+ reviewCount: number;
156
160
  }
157
161
 
158
162
  export interface ProductDetailResponse_NameEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.93",
4
+ "version": "1.0.94",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -155,6 +155,8 @@ message ProductListItemResponse {
155
155
  bool is_popular = 17;
156
156
  optional string group_id = 18;
157
157
  optional string color_hex = 19;
158
+ float rating = 20;
159
+ int32 review_count = 21;
158
160
  }
159
161
 
160
162
 
@@ -198,7 +200,9 @@ message ProductDetailResponse {
198
200
  optional string group_id = 31;
199
201
  map<string, string> color_label = 32;
200
202
  optional string color_hex = 33;
201
- repeated ProductGroupMember group_siblings = 34;
203
+ repeated ProductGroupMember group_siblings = 34;
204
+ float rating = 35;
205
+ int32 review_count = 36;
202
206
  }
203
207
 
204
208