@lean2708/shared-grpc-contracts 1.0.8 → 1.0.9
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/package.json +1 -1
- package/proto/shared/shop/shop.proto +16 -0
package/package.json
CHANGED
|
@@ -14,6 +14,9 @@ service ShopService {
|
|
|
14
14
|
rpc GetShopsByIds(GetShopsByIdsRequest)
|
|
15
15
|
returns (GetShopsByIdsResponse);
|
|
16
16
|
|
|
17
|
+
rpc CanManageShopVoucher(CanManageShopVoucherRequest)
|
|
18
|
+
returns (CanManageShopVoucherResponse);
|
|
19
|
+
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
message ExistsShopRequest {
|
|
@@ -48,4 +51,17 @@ message ShopSummary {
|
|
|
48
51
|
|
|
49
52
|
string avatar_url = 3;
|
|
50
53
|
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message CanManageShopVoucherRequest {
|
|
57
|
+
|
|
58
|
+
int64 shop_id = 1;
|
|
59
|
+
|
|
60
|
+
string user_id = 2;
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
message CanManageShopVoucherResponse {
|
|
65
|
+
|
|
66
|
+
bool allowed = 1;
|
|
51
67
|
}
|