protobuf-platform 1.0.45 → 1.0.46

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": "protobuf-platform",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -58,6 +58,7 @@ message RolePermissionRequest {
58
58
  string section_one = 2;
59
59
  optional string section_two = 3;
60
60
  optional string section_three = 4;
61
+ string action_name = 5;
61
62
  }
62
63
  message RolePermissionStatusResponse {
63
64
  string status = 1;
package/user/user_pb.js CHANGED
@@ -1992,7 +1992,8 @@ proto.user.RolePermissionRequest.toObject = function(includeInstance, msg) {
1992
1992
  role: jspb.Message.getFieldWithDefault(msg, 1, ""),
1993
1993
  sectionOne: jspb.Message.getFieldWithDefault(msg, 2, ""),
1994
1994
  sectionTwo: jspb.Message.getFieldWithDefault(msg, 3, ""),
1995
- sectionThree: jspb.Message.getFieldWithDefault(msg, 4, "")
1995
+ sectionThree: jspb.Message.getFieldWithDefault(msg, 4, ""),
1996
+ actionName: jspb.Message.getFieldWithDefault(msg, 5, "")
1996
1997
  };
1997
1998
 
1998
1999
  if (includeInstance) {
@@ -2045,6 +2046,10 @@ proto.user.RolePermissionRequest.deserializeBinaryFromReader = function(msg, rea
2045
2046
  var value = /** @type {string} */ (reader.readString());
2046
2047
  msg.setSectionThree(value);
2047
2048
  break;
2049
+ case 5:
2050
+ var value = /** @type {string} */ (reader.readString());
2051
+ msg.setActionName(value);
2052
+ break;
2048
2053
  default:
2049
2054
  reader.skipField();
2050
2055
  break;
@@ -2102,6 +2107,13 @@ proto.user.RolePermissionRequest.serializeBinaryToWriter = function(message, wri
2102
2107
  f
2103
2108
  );
2104
2109
  }
2110
+ f = message.getActionName();
2111
+ if (f.length > 0) {
2112
+ writer.writeString(
2113
+ 5,
2114
+ f
2115
+ );
2116
+ }
2105
2117
  };
2106
2118
 
2107
2119
 
@@ -2213,6 +2225,24 @@ proto.user.RolePermissionRequest.prototype.hasSectionThree = function() {
2213
2225
  };
2214
2226
 
2215
2227
 
2228
+ /**
2229
+ * optional string action_name = 5;
2230
+ * @return {string}
2231
+ */
2232
+ proto.user.RolePermissionRequest.prototype.getActionName = function() {
2233
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2234
+ };
2235
+
2236
+
2237
+ /**
2238
+ * @param {string} value
2239
+ * @return {!proto.user.RolePermissionRequest} returns this
2240
+ */
2241
+ proto.user.RolePermissionRequest.prototype.setActionName = function(value) {
2242
+ return jspb.Message.setProto3StringField(this, 5, value);
2243
+ };
2244
+
2245
+
2216
2246
 
2217
2247
 
2218
2248