@aepstore-dev/contracts 1.20.0 → 1.21.0

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/gen/products.ts CHANGED
@@ -109,6 +109,8 @@ export interface Product {
109
109
  isViewed: boolean;
110
110
  /** owner-only, current-month revenue (Decimal as string) */
111
111
  revenue: string;
112
+ /** viewer has a COMPLETED purchase of this product */
113
+ isBuyed: boolean;
112
114
  /** Popularity (populated by GetTopProduct / GetPopularProducts). */
113
115
  popularityScore: string;
114
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -132,6 +132,7 @@ message Product {
132
132
  bool is_favorite = 26;
133
133
  bool is_viewed = 27;
134
134
  string revenue = 28; // owner-only, current-month revenue (Decimal as string)
135
+ bool is_buyed = 30; // viewer has a COMPLETED purchase of this product
135
136
 
136
137
  // Popularity (populated by GetTopProduct / GetPopularProducts).
137
138
  string popularity_score = 29; // double as string