@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.
- package/dist/gen/product.d.ts +4 -0
- package/dist/proto/product.proto +5 -1
- package/gen/product.ts +4 -0
- package/package.json +1 -1
- package/proto/product.proto +5 -1
package/dist/gen/product.d.ts
CHANGED
|
@@ -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;
|
package/dist/proto/product.proto
CHANGED
|
@@ -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
package/proto/product.proto
CHANGED
|
@@ -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
|
|