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