protobuf-platform 1.0.50 → 1.0.52
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/game/game.proto +1 -1
- package/game/game_grpc_pb.js +1 -1
- package/package.json +1 -1
- package/user/user.proto +1 -1
- package/user/user_pb.js +9 -9
package/game/game.proto
CHANGED
@@ -6,7 +6,7 @@ service Game {
|
|
6
6
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
7
7
|
rpc getMediaResource(GetFileRequest) returns (stream File);
|
8
8
|
//Categories
|
9
|
-
rpc createSingleCategory(CategoryRequest) returns (CategoryResponse);
|
9
|
+
rpc createSingleCategory(stream CategoryRequest) returns (CategoryResponse);
|
10
10
|
rpc readSingleCategory(GetCategoryRequest) returns (CategoryResponse);
|
11
11
|
rpc updateSingleCategory(stream CategoryRequest) returns (CategoryResponse);
|
12
12
|
rpc deleteSingleCategory(GetCategoryRequest) returns (CategoryStatusResponse);
|
package/game/game_grpc_pb.js
CHANGED
@@ -141,7 +141,7 @@ var GameService = exports.GameService = {
|
|
141
141
|
// Categories
|
142
142
|
createSingleCategory: {
|
143
143
|
path: '/game.Game/createSingleCategory',
|
144
|
-
requestStream:
|
144
|
+
requestStream: true,
|
145
145
|
responseStream: false,
|
146
146
|
requestType: game_pb.CategoryRequest,
|
147
147
|
responseType: game_pb.CategoryResponse,
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
package/user/user_pb.js
CHANGED
@@ -2954,7 +2954,7 @@ proto.user.RolesItemsResponse.prototype.toObject = function(opt_includeInstance)
|
|
2954
2954
|
*/
|
2955
2955
|
proto.user.RolesItemsResponse.toObject = function(includeInstance, msg) {
|
2956
2956
|
var f, obj = {
|
2957
|
-
|
2957
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
2958
2958
|
proto.user.Role.toObject, includeInstance),
|
2959
2959
|
totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2960
2960
|
totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
@@ -2997,7 +2997,7 @@ proto.user.RolesItemsResponse.deserializeBinaryFromReader = function(msg, reader
|
|
2997
2997
|
case 1:
|
2998
2998
|
var value = new proto.user.Role;
|
2999
2999
|
reader.readMessage(value,proto.user.Role.deserializeBinaryFromReader);
|
3000
|
-
msg.
|
3000
|
+
msg.addItems(value);
|
3001
3001
|
break;
|
3002
3002
|
case 2:
|
3003
3003
|
var value = /** @type {number} */ (reader.readInt32());
|
@@ -3036,7 +3036,7 @@ proto.user.RolesItemsResponse.prototype.serializeBinary = function() {
|
|
3036
3036
|
*/
|
3037
3037
|
proto.user.RolesItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
3038
3038
|
var f = undefined;
|
3039
|
-
f = message.
|
3039
|
+
f = message.getItemsList();
|
3040
3040
|
if (f.length > 0) {
|
3041
3041
|
writer.writeRepeatedMessage(
|
3042
3042
|
1,
|
@@ -3062,10 +3062,10 @@ proto.user.RolesItemsResponse.serializeBinaryToWriter = function(message, writer
|
|
3062
3062
|
|
3063
3063
|
|
3064
3064
|
/**
|
3065
|
-
* repeated Role
|
3065
|
+
* repeated Role items = 1;
|
3066
3066
|
* @return {!Array<!proto.user.Role>}
|
3067
3067
|
*/
|
3068
|
-
proto.user.RolesItemsResponse.prototype.
|
3068
|
+
proto.user.RolesItemsResponse.prototype.getItemsList = function() {
|
3069
3069
|
return /** @type{!Array<!proto.user.Role>} */ (
|
3070
3070
|
jspb.Message.getRepeatedWrapperField(this, proto.user.Role, 1));
|
3071
3071
|
};
|
@@ -3075,7 +3075,7 @@ proto.user.RolesItemsResponse.prototype.getRolesList = function() {
|
|
3075
3075
|
* @param {!Array<!proto.user.Role>} value
|
3076
3076
|
* @return {!proto.user.RolesItemsResponse} returns this
|
3077
3077
|
*/
|
3078
|
-
proto.user.RolesItemsResponse.prototype.
|
3078
|
+
proto.user.RolesItemsResponse.prototype.setItemsList = function(value) {
|
3079
3079
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
3080
3080
|
};
|
3081
3081
|
|
@@ -3085,7 +3085,7 @@ proto.user.RolesItemsResponse.prototype.setRolesList = function(value) {
|
|
3085
3085
|
* @param {number=} opt_index
|
3086
3086
|
* @return {!proto.user.Role}
|
3087
3087
|
*/
|
3088
|
-
proto.user.RolesItemsResponse.prototype.
|
3088
|
+
proto.user.RolesItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
3089
3089
|
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.user.Role, opt_index);
|
3090
3090
|
};
|
3091
3091
|
|
@@ -3094,8 +3094,8 @@ proto.user.RolesItemsResponse.prototype.addRoles = function(opt_value, opt_index
|
|
3094
3094
|
* Clears the list making it empty but non-null.
|
3095
3095
|
* @return {!proto.user.RolesItemsResponse} returns this
|
3096
3096
|
*/
|
3097
|
-
proto.user.RolesItemsResponse.prototype.
|
3098
|
-
return this.
|
3097
|
+
proto.user.RolesItemsResponse.prototype.clearItemsList = function() {
|
3098
|
+
return this.setItemsList([]);
|
3099
3099
|
};
|
3100
3100
|
|
3101
3101
|
|