@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 +2 -0
- package/package.json +1 -1
- package/proto/products.proto +1 -0
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
package/proto/products.proto
CHANGED
|
@@ -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
|