@mamindom/contracts 1.0.111 → 1.0.112
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/dist/gen/product.d.ts +1 -1
- package/dist/gen/product_review.d.ts +1 -1
- package/dist/proto/product.proto +2 -2
- package/dist/proto/product_review.proto +5 -5
- package/gen/product.ts +1 -1
- package/gen/product_review.ts +1 -1
- package/package.json +1 -1
- package/proto/product.proto +2 -2
- package/proto/product_review.proto +5 -5
package/dist/gen/product.d.ts
CHANGED
|
@@ -464,7 +464,7 @@ export interface DeleteProductVariantRequest {
|
|
|
464
464
|
id: string;
|
|
465
465
|
}
|
|
466
466
|
export interface GetRelatedProductsRequest {
|
|
467
|
-
productId
|
|
467
|
+
productId?: string | undefined;
|
|
468
468
|
type?: RelatedProductType | undefined;
|
|
469
469
|
productSlug?: string | undefined;
|
|
470
470
|
}
|
package/dist/proto/product.proto
CHANGED
|
@@ -425,9 +425,9 @@ enum RelatedProductType {
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
message GetRelatedProductsRequest {
|
|
428
|
-
string product_id
|
|
428
|
+
optional string product_id = 1;
|
|
429
429
|
optional RelatedProductType type = 2;
|
|
430
|
-
optional string product_slug
|
|
430
|
+
optional string product_slug = 3;
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
message RelatedProductItem {
|
|
@@ -48,11 +48,11 @@ message GetReviewsResponse {
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
message CreateReviewRequest {
|
|
51
|
-
string product_id
|
|
52
|
-
string author_name
|
|
53
|
-
string author_email
|
|
54
|
-
string body
|
|
55
|
-
int32 rating
|
|
51
|
+
optional string product_id = 1;
|
|
52
|
+
string author_name = 2;
|
|
53
|
+
string author_email = 3;
|
|
54
|
+
string body = 4;
|
|
55
|
+
int32 rating = 5;
|
|
56
56
|
optional string product_slug = 6;
|
|
57
57
|
}
|
|
58
58
|
|
package/gen/product.ts
CHANGED
package/gen/product_review.ts
CHANGED
package/package.json
CHANGED
package/proto/product.proto
CHANGED
|
@@ -425,9 +425,9 @@ enum RelatedProductType {
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
message GetRelatedProductsRequest {
|
|
428
|
-
string product_id
|
|
428
|
+
optional string product_id = 1;
|
|
429
429
|
optional RelatedProductType type = 2;
|
|
430
|
-
optional string product_slug
|
|
430
|
+
optional string product_slug = 3;
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
message RelatedProductItem {
|
|
@@ -48,11 +48,11 @@ message GetReviewsResponse {
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
message CreateReviewRequest {
|
|
51
|
-
string product_id
|
|
52
|
-
string author_name
|
|
53
|
-
string author_email
|
|
54
|
-
string body
|
|
55
|
-
int32 rating
|
|
51
|
+
optional string product_id = 1;
|
|
52
|
+
string author_name = 2;
|
|
53
|
+
string author_email = 3;
|
|
54
|
+
string body = 4;
|
|
55
|
+
int32 rating = 5;
|
|
56
56
|
optional string product_slug = 6;
|
|
57
57
|
}
|
|
58
58
|
|