@aepstore-dev/contracts 1.39.0 → 1.40.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 +4 -3
package/gen/products.ts
CHANGED
|
@@ -104,6 +104,8 @@ export interface Product {
|
|
|
104
104
|
moderation: ProductModeration | undefined;
|
|
105
105
|
createdAt: string;
|
|
106
106
|
updatedAt: string;
|
|
107
|
+
/** ISO 8601 when soft-deleted, empty/null otherwise */
|
|
108
|
+
deletedAt: string;
|
|
107
109
|
preview: string;
|
|
108
110
|
video: string;
|
|
109
111
|
user: ProductUser | undefined;
|
package/package.json
CHANGED
package/proto/products.proto
CHANGED
|
@@ -122,9 +122,10 @@ message Product {
|
|
|
122
122
|
string average_rating = 7; // double as string for consistency
|
|
123
123
|
ProductStatus status = 8;
|
|
124
124
|
ProductModeration moderation = 32; // null while DRAFT / not yet submitted
|
|
125
|
-
string created_at = 13;
|
|
126
|
-
string updated_at = 14;
|
|
127
|
-
string
|
|
125
|
+
string created_at = 13;
|
|
126
|
+
string updated_at = 14;
|
|
127
|
+
string deleted_at = 34; // ISO 8601 when soft-deleted, empty/null otherwise
|
|
128
|
+
string preview = 15;
|
|
128
129
|
string video = 16;
|
|
129
130
|
ProductUser user = 17;
|
|
130
131
|
repeated ProductMedia media = 18;
|