protobuf-platform 1.0.35 → 1.0.36

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 CHANGED
@@ -26,10 +26,10 @@ message CategoryItem {
26
26
  }
27
27
  //Category CRUD | Requests
28
28
  message CategoryRequest {
29
- oneof request {
29
+ //oneof request {
30
30
  CategoryItemRequest category_data = 1;
31
31
  File file = 2;
32
- }
32
+ //}
33
33
  }
34
34
  message File {
35
35
  bytes media = 2;
package/game/game_pb.js CHANGED
@@ -25,7 +25,6 @@ goog.exportSymbol('proto.game.CategoryItem', null, global);
25
25
  goog.exportSymbol('proto.game.CategoryItemRequest', null, global);
26
26
  goog.exportSymbol('proto.game.CategoryListResponse', null, global);
27
27
  goog.exportSymbol('proto.game.CategoryRequest', null, global);
28
- goog.exportSymbol('proto.game.CategoryRequest.RequestCase', null, global);
29
28
  goog.exportSymbol('proto.game.CategoryResponse', null, global);
30
29
  goog.exportSymbol('proto.game.CategoryStatusResponse', null, global);
31
30
  goog.exportSymbol('proto.game.File', null, global);
@@ -107,7 +106,7 @@ if (goog.DEBUG && !COMPILED) {
107
106
  * @constructor
108
107
  */
109
108
  proto.game.CategoryRequest = function(opt_data) {
110
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.game.CategoryRequest.oneofGroups_);
109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
111
110
  };
112
111
  goog.inherits(proto.game.CategoryRequest, jspb.Message);
113
112
  if (goog.DEBUG && !COMPILED) {
@@ -913,32 +912,6 @@ proto.game.CategoryItem.prototype.hasImagePath = function() {
913
912
 
914
913
 
915
914
 
916
- /**
917
- * Oneof group definitions for this message. Each group defines the field
918
- * numbers belonging to that group. When of these fields' value is set, all
919
- * other fields in the group are cleared. During deserialization, if multiple
920
- * fields are encountered for a group, only the last value seen will be kept.
921
- * @private {!Array<!Array<number>>}
922
- * @const
923
- */
924
- proto.game.CategoryRequest.oneofGroups_ = [[1,2]];
925
-
926
- /**
927
- * @enum {number}
928
- */
929
- proto.game.CategoryRequest.RequestCase = {
930
- REQUEST_NOT_SET: 0,
931
- CATEGORY_DATA: 1,
932
- FILE: 2
933
- };
934
-
935
- /**
936
- * @return {proto.game.CategoryRequest.RequestCase}
937
- */
938
- proto.game.CategoryRequest.prototype.getRequestCase = function() {
939
- return /** @type {proto.game.CategoryRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.game.CategoryRequest.oneofGroups_[0]));
940
- };
941
-
942
915
 
943
916
 
944
917
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1081,7 +1054,7 @@ proto.game.CategoryRequest.prototype.getCategoryData = function() {
1081
1054
  * @return {!proto.game.CategoryRequest} returns this
1082
1055
  */
1083
1056
  proto.game.CategoryRequest.prototype.setCategoryData = function(value) {
1084
- return jspb.Message.setOneofWrapperField(this, 1, proto.game.CategoryRequest.oneofGroups_[0], value);
1057
+ return jspb.Message.setWrapperField(this, 1, value);
1085
1058
  };
1086
1059
 
1087
1060
 
@@ -1118,7 +1091,7 @@ proto.game.CategoryRequest.prototype.getFile = function() {
1118
1091
  * @return {!proto.game.CategoryRequest} returns this
1119
1092
  */
1120
1093
  proto.game.CategoryRequest.prototype.setFile = function(value) {
1121
- return jspb.Message.setOneofWrapperField(this, 2, proto.game.CategoryRequest.oneofGroups_[0], value);
1094
+ return jspb.Message.setWrapperField(this, 2, value);
1122
1095
  };
1123
1096
 
1124
1097
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {