@mamindom/contracts 1.0.71 → 1.0.73

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.
@@ -86,6 +86,8 @@ export interface ProductListItemResponse {
86
86
  categorySortOrder: number;
87
87
  barcode?: string | undefined;
88
88
  videoUrl?: string | undefined;
89
+ viewed: number;
90
+ isPopular: boolean;
89
91
  }
90
92
  export interface ProductListItemResponse_NameEntry {
91
93
  key: string;
@@ -137,6 +139,7 @@ export interface ProductDetailResponse {
137
139
  stickers: ProductStickerResponse[];
138
140
  barcode?: string | undefined;
139
141
  sizeCharts: ProductSizeChartResponse[];
142
+ isPopular: boolean;
140
143
  }
141
144
  export interface ProductDetailResponse_NameEntry {
142
145
  key: string;
@@ -112,6 +112,7 @@ message ProductListItemResponse {
112
112
  string id = 1;
113
113
  string sku = 2;
114
114
  string slug = 3;
115
+
115
116
  ProductStatus status = 4;
116
117
 
117
118
  map<string, string> name = 5;
@@ -129,6 +130,8 @@ message ProductListItemResponse {
129
130
  int32 category_sort_order = 13;
130
131
  optional string barcode = 14;
131
132
  optional string video_url = 15;
133
+ int32 viewed = 16;
134
+ bool is_popular = 17;
132
135
  }
133
136
 
134
137
 
@@ -168,6 +171,7 @@ message ProductDetailResponse {
168
171
  repeated ProductStickerResponse stickers = 27;
169
172
  optional string barcode = 28;
170
173
  repeated ProductSizeChartResponse size_charts = 29;
174
+ bool is_popular = 30;
171
175
  }
172
176
 
173
177
 
package/gen/product.ts CHANGED
@@ -106,6 +106,8 @@ export interface ProductListItemResponse {
106
106
  categorySortOrder: number;
107
107
  barcode?: string | undefined;
108
108
  videoUrl?: string | undefined;
109
+ viewed: number;
110
+ isPopular: boolean;
109
111
  }
110
112
 
111
113
  export interface ProductListItemResponse_NameEntry {
@@ -143,6 +145,7 @@ export interface ProductDetailResponse {
143
145
  stickers: ProductStickerResponse[];
144
146
  barcode?: string | undefined;
145
147
  sizeCharts: ProductSizeChartResponse[];
148
+ isPopular: boolean;
146
149
  }
147
150
 
148
151
  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.71",
4
+ "version": "1.0.73",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -112,6 +112,7 @@ message ProductListItemResponse {
112
112
  string id = 1;
113
113
  string sku = 2;
114
114
  string slug = 3;
115
+
115
116
  ProductStatus status = 4;
116
117
 
117
118
  map<string, string> name = 5;
@@ -129,6 +130,8 @@ message ProductListItemResponse {
129
130
  int32 category_sort_order = 13;
130
131
  optional string barcode = 14;
131
132
  optional string video_url = 15;
133
+ int32 viewed = 16;
134
+ bool is_popular = 17;
132
135
  }
133
136
 
134
137
 
@@ -168,6 +171,7 @@ message ProductDetailResponse {
168
171
  repeated ProductStickerResponse stickers = 27;
169
172
  optional string barcode = 28;
170
173
  repeated ProductSizeChartResponse size_charts = 29;
174
+ bool is_popular = 30;
171
175
  }
172
176
 
173
177