@lean2708/shared-grpc-contracts 1.2.5 → 1.2.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lean2708/shared-grpc-contracts",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "Shared gRPC Protocol Buffer contracts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -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
+ string from_local_date_time = 2;
20
+ string to_local_date_time = 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
+ }