protobuf-platform 1.2.630 → 1.2.633
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/bonus/bonus.proto +35 -0
- package/bonus/bonus_grpc_pb.js +55 -0
- package/bonus/bonus_pb.js +2578 -1105
- package/game/game.proto +26 -16
- package/game/game_grpc_pb.js +35 -24
- package/game/game_pb.js +651 -299
- package/package.json +2 -2
- package/tournament/tournament.proto +33 -0
- package/tournament/tournament_grpc_pb.js +22 -0
- package/tournament/tournament_pb.js +1533 -44
package/game/game.proto
CHANGED
|
@@ -8,8 +8,8 @@ service Game {
|
|
|
8
8
|
rpc updateSingleMultiScope(stream MultiScopeRequest) returns (MultiScopeResponse);
|
|
9
9
|
rpc deleteSingleMultiScope(GetMultiScopeRequest) returns (MultiScopeStatusResponse);
|
|
10
10
|
rpc readListMultiScopes(MultiScopeListRequest) returns (MultiScopeItemsResponse);
|
|
11
|
-
rpc
|
|
12
|
-
rpc
|
|
11
|
+
rpc setMultiScopeItems(MultiScopeSetItemsRequest) returns (MultiScopeStatusResponse);
|
|
12
|
+
rpc readMultiScopeItems(GetMultiScopeRequest) returns (MultiScopeCompositionResponse);
|
|
13
13
|
//Tech
|
|
14
14
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
|
15
15
|
//Common
|
|
@@ -977,15 +977,25 @@ message GamePoorItemsResponse {
|
|
|
977
977
|
repeated GameItem items = 1;
|
|
978
978
|
}
|
|
979
979
|
/** Global structural composition. Visibility belongs to explicit CMS GEO placements. */
|
|
980
|
-
message
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
980
|
+
message MultiScopeItemReference {
|
|
981
|
+
string instance_type = 1;
|
|
982
|
+
int32 instance_id = 2;
|
|
983
|
+
int32 priority_order = 3;
|
|
984
|
+
}
|
|
985
|
+
message MultiScopeCompositionItem {
|
|
986
|
+
string instance_type = 1;
|
|
987
|
+
int32 instance_id = 2;
|
|
988
|
+
int32 priority_order = 3;
|
|
989
|
+
string title = 4;
|
|
990
|
+
string slug = 5;
|
|
991
|
+
optional string image = 6;
|
|
992
|
+
optional string image_cdn = 7;
|
|
993
|
+
optional string icon = 8;
|
|
994
|
+
optional string icon_cdn = 9;
|
|
995
|
+
bool is_active = 10;
|
|
996
|
+
}
|
|
997
|
+
message MultiScopeCompositionResponse {
|
|
998
|
+
repeated MultiScopeCompositionItem items = 1;
|
|
989
999
|
}
|
|
990
1000
|
message MultiScopeItem {
|
|
991
1001
|
int32 id = 1;
|
|
@@ -998,8 +1008,9 @@ message MultiScopeItem {
|
|
|
998
1008
|
optional string icon_cdn = 8;
|
|
999
1009
|
string created_at = 9;
|
|
1000
1010
|
string updated_at = 10;
|
|
1001
|
-
|
|
1002
|
-
|
|
1011
|
+
reserved 11, 12;
|
|
1012
|
+
reserved "collections", "tags";
|
|
1013
|
+
repeated MultiScopeCompositionItem items = 13;
|
|
1003
1014
|
}
|
|
1004
1015
|
message MultiScopeItemRequest {
|
|
1005
1016
|
optional int32 id = 1;
|
|
@@ -1026,10 +1037,9 @@ message MultiScopeListRequest {
|
|
|
1026
1037
|
optional bool is_active = 4;
|
|
1027
1038
|
repeated int32 ids = 5;
|
|
1028
1039
|
}
|
|
1029
|
-
message
|
|
1040
|
+
message MultiScopeSetItemsRequest {
|
|
1030
1041
|
int32 id = 1;
|
|
1031
|
-
repeated
|
|
1032
|
-
repeated int32 tag_ids = 3;
|
|
1042
|
+
repeated MultiScopeItemReference items = 2;
|
|
1033
1043
|
}
|
|
1034
1044
|
message MultiScopeResponse {
|
|
1035
1045
|
MultiScopeItem data = 1;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -873,6 +873,17 @@ function deserialize_game_MerchantFreeSpinLimitsResponse(buffer_arg) {
|
|
|
873
873
|
return game_pb.MerchantFreeSpinLimitsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
874
874
|
}
|
|
875
875
|
|
|
876
|
+
function serialize_game_MultiScopeCompositionResponse(arg) {
|
|
877
|
+
if (!(arg instanceof game_pb.MultiScopeCompositionResponse)) {
|
|
878
|
+
throw new Error('Expected argument of type game.MultiScopeCompositionResponse');
|
|
879
|
+
}
|
|
880
|
+
return Buffer.from(arg.serializeBinary());
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
function deserialize_game_MultiScopeCompositionResponse(buffer_arg) {
|
|
884
|
+
return game_pb.MultiScopeCompositionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
885
|
+
}
|
|
886
|
+
|
|
876
887
|
function serialize_game_MultiScopeItemsResponse(arg) {
|
|
877
888
|
if (!(arg instanceof game_pb.MultiScopeItemsResponse)) {
|
|
878
889
|
throw new Error('Expected argument of type game.MultiScopeItemsResponse');
|
|
@@ -895,17 +906,6 @@ function deserialize_game_MultiScopeListRequest(buffer_arg) {
|
|
|
895
906
|
return game_pb.MultiScopeListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
896
907
|
}
|
|
897
908
|
|
|
898
|
-
function serialize_game_MultiScopeMembersRequest(arg) {
|
|
899
|
-
if (!(arg instanceof game_pb.MultiScopeMembersRequest)) {
|
|
900
|
-
throw new Error('Expected argument of type game.MultiScopeMembersRequest');
|
|
901
|
-
}
|
|
902
|
-
return Buffer.from(arg.serializeBinary());
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
function deserialize_game_MultiScopeMembersRequest(buffer_arg) {
|
|
906
|
-
return game_pb.MultiScopeMembersRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
907
|
-
}
|
|
908
|
-
|
|
909
909
|
function serialize_game_MultiScopeRequest(arg) {
|
|
910
910
|
if (!(arg instanceof game_pb.MultiScopeRequest)) {
|
|
911
911
|
throw new Error('Expected argument of type game.MultiScopeRequest');
|
|
@@ -928,6 +928,17 @@ function deserialize_game_MultiScopeResponse(buffer_arg) {
|
|
|
928
928
|
return game_pb.MultiScopeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
+
function serialize_game_MultiScopeSetItemsRequest(arg) {
|
|
932
|
+
if (!(arg instanceof game_pb.MultiScopeSetItemsRequest)) {
|
|
933
|
+
throw new Error('Expected argument of type game.MultiScopeSetItemsRequest');
|
|
934
|
+
}
|
|
935
|
+
return Buffer.from(arg.serializeBinary());
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
function deserialize_game_MultiScopeSetItemsRequest(buffer_arg) {
|
|
939
|
+
return game_pb.MultiScopeSetItemsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
940
|
+
}
|
|
941
|
+
|
|
931
942
|
function serialize_game_MultiScopeStatusResponse(arg) {
|
|
932
943
|
if (!(arg instanceof game_pb.MultiScopeStatusResponse)) {
|
|
933
944
|
throw new Error('Expected argument of type game.MultiScopeStatusResponse');
|
|
@@ -1612,27 +1623,27 @@ var GameService = exports.GameService = {
|
|
|
1612
1623
|
responseSerialize: serialize_game_MultiScopeItemsResponse,
|
|
1613
1624
|
responseDeserialize: deserialize_game_MultiScopeItemsResponse,
|
|
1614
1625
|
},
|
|
1615
|
-
|
|
1616
|
-
path: '/game.Game/
|
|
1626
|
+
setMultiScopeItems: {
|
|
1627
|
+
path: '/game.Game/setMultiScopeItems',
|
|
1617
1628
|
requestStream: false,
|
|
1618
1629
|
responseStream: false,
|
|
1619
|
-
requestType: game_pb.
|
|
1630
|
+
requestType: game_pb.MultiScopeSetItemsRequest,
|
|
1620
1631
|
responseType: game_pb.MultiScopeStatusResponse,
|
|
1621
|
-
requestSerialize:
|
|
1622
|
-
requestDeserialize:
|
|
1632
|
+
requestSerialize: serialize_game_MultiScopeSetItemsRequest,
|
|
1633
|
+
requestDeserialize: deserialize_game_MultiScopeSetItemsRequest,
|
|
1623
1634
|
responseSerialize: serialize_game_MultiScopeStatusResponse,
|
|
1624
1635
|
responseDeserialize: deserialize_game_MultiScopeStatusResponse,
|
|
1625
1636
|
},
|
|
1626
|
-
|
|
1627
|
-
path: '/game.Game/
|
|
1637
|
+
readMultiScopeItems: {
|
|
1638
|
+
path: '/game.Game/readMultiScopeItems',
|
|
1628
1639
|
requestStream: false,
|
|
1629
1640
|
responseStream: false,
|
|
1630
|
-
requestType: game_pb.
|
|
1631
|
-
responseType: game_pb.
|
|
1632
|
-
requestSerialize:
|
|
1633
|
-
requestDeserialize:
|
|
1634
|
-
responseSerialize:
|
|
1635
|
-
responseDeserialize:
|
|
1641
|
+
requestType: game_pb.GetMultiScopeRequest,
|
|
1642
|
+
responseType: game_pb.MultiScopeCompositionResponse,
|
|
1643
|
+
requestSerialize: serialize_game_GetMultiScopeRequest,
|
|
1644
|
+
requestDeserialize: deserialize_game_GetMultiScopeRequest,
|
|
1645
|
+
responseSerialize: serialize_game_MultiScopeCompositionResponse,
|
|
1646
|
+
responseDeserialize: deserialize_game_MultiScopeCompositionResponse,
|
|
1636
1647
|
},
|
|
1637
1648
|
// Tech
|
|
1638
1649
|
checkConnection: {
|