@lean2708/shared-grpc-contracts 1.2.5 → 1.2.6
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/user/user.proto +15 -1
package/package.json
CHANGED
|
@@ -10,6 +10,20 @@ service UserSummaryService {
|
|
|
10
10
|
rpc GetUserSummaries (GetUserSummariesRequest) returns (GetUserSummariesResponse);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
service ShopFollowerStatisticsService {
|
|
14
|
+
rpc CountShopFollowers (CountShopFollowersRequest) returns (CountShopFollowersResponse);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message CountShopFollowersRequest {
|
|
18
|
+
int64 shop_id = 1;
|
|
19
|
+
int64 from_epoch_millis = 2;
|
|
20
|
+
int64 to_epoch_millis = 3;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message CountShopFollowersResponse {
|
|
24
|
+
int64 count = 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
13
27
|
message GetUserSummariesRequest {
|
|
14
28
|
repeated string user_ids = 1;
|
|
15
29
|
}
|
|
@@ -22,4 +36,4 @@ message UserSummaryResponse {
|
|
|
22
36
|
|
|
23
37
|
message GetUserSummariesResponse {
|
|
24
38
|
repeated UserSummaryResponse users = 1;
|
|
25
|
-
}
|
|
39
|
+
}
|