@aepstore-dev/contracts 1.22.0 → 1.23.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
|
@@ -111,6 +111,8 @@ export interface Product {
|
|
|
111
111
|
revenue: string;
|
|
112
112
|
/** viewer has a COMPLETED purchase of this product */
|
|
113
113
|
isBuyed: boolean;
|
|
114
|
+
/** viewer has already left a review on this product */
|
|
115
|
+
isReviewed: boolean;
|
|
114
116
|
/** Popularity (populated by GetTopProduct / GetPopularProducts). */
|
|
115
117
|
popularityScore: string;
|
|
116
118
|
}
|
package/package.json
CHANGED
package/proto/products.proto
CHANGED
|
@@ -133,6 +133,7 @@ message Product {
|
|
|
133
133
|
bool is_viewed = 27;
|
|
134
134
|
string revenue = 28; // owner-only, current-month revenue (Decimal as string)
|
|
135
135
|
bool is_buyed = 30; // viewer has a COMPLETED purchase of this product
|
|
136
|
+
bool is_reviewed = 31; // viewer has already left a review on this product
|
|
136
137
|
|
|
137
138
|
// Popularity (populated by GetTopProduct / GetPopularProducts).
|
|
138
139
|
string popularity_score = 29; // double as string
|