@platfformx/proto-contracts 1.2.29 → 1.3.1

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.
@@ -6,6 +6,7 @@ export interface CreateProductRequest {
6
6
  description?: string | undefined;
7
7
  price: string;
8
8
  images: string[];
9
+ tags: string[];
9
10
  }
10
11
  export interface GetProductRequest {
11
12
  productId?: string | undefined;
@@ -56,7 +57,7 @@ export interface ProductResponse {
56
57
  reviewCount: number;
57
58
  createdAt: string;
58
59
  updatedAt: string;
59
- tags?: string | undefined;
60
+ tags: string[];
60
61
  popularityScore: number;
61
62
  }
62
63
  export declare const PRODUCT_V1_PACKAGE_NAME = "product.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.2.29",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,6 +18,7 @@ message CreateProductRequest {
18
18
  optional string description = 3;
19
19
  string price = 4;
20
20
  repeated string images = 5;
21
+ repeated string tags = 6;
21
22
  }
22
23
 
23
24
 
@@ -81,7 +82,7 @@ message ProductResponse{
81
82
  string created_at = 12;
82
83
  string updated_at = 13;
83
84
 
84
- optional string tags = 14;
85
+ repeated string tags = 14;
85
86
  int32 popularity_score = 15;
86
87
  }
87
88