protobuf-platform 1.2.681 → 1.2.682

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.2.681",
3
+ "version": "1.2.682",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -251,6 +251,7 @@ message UserSearchParams {
251
251
  optional string registration_from = 9;
252
252
  optional string registration_to = 10;
253
253
  optional string nickname = 11;
254
+ repeated int32 role_ids = 12;
254
255
  }
255
256
  message SegmentSearchParams {
256
257
  optional string type = 1;
package/user/user_pb.js CHANGED
@@ -7956,7 +7956,7 @@ proto.user.File.prototype.hasFileType = function() {
7956
7956
  * @private {!Array<number>}
7957
7957
  * @const
7958
7958
  */
7959
- proto.user.UserSearchParams.repeatedFields_ = [1,2,3,4,5,6,7];
7959
+ proto.user.UserSearchParams.repeatedFields_ = [1,2,3,4,5,6,7,12];
7960
7960
 
7961
7961
 
7962
7962
 
@@ -7999,7 +7999,8 @@ proto.user.UserSearchParams.toObject = function(includeInstance, msg) {
7999
7999
  email: jspb.Message.getFieldWithDefault(msg, 8, ""),
8000
8000
  registrationFrom: jspb.Message.getFieldWithDefault(msg, 9, ""),
8001
8001
  registrationTo: jspb.Message.getFieldWithDefault(msg, 10, ""),
8002
- nickname: jspb.Message.getFieldWithDefault(msg, 11, "")
8002
+ nickname: jspb.Message.getFieldWithDefault(msg, 11, ""),
8003
+ roleIdsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f
8003
8004
  };
8004
8005
 
8005
8006
  if (includeInstance) {
@@ -8088,6 +8089,12 @@ proto.user.UserSearchParams.deserializeBinaryFromReader = function(msg, reader)
8088
8089
  var value = /** @type {string} */ (reader.readString());
8089
8090
  msg.setNickname(value);
8090
8091
  break;
8092
+ case 12:
8093
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
8094
+ for (var i = 0; i < values.length; i++) {
8095
+ msg.addRoleIds(values[i]);
8096
+ }
8097
+ break;
8091
8098
  default:
8092
8099
  reader.skipField();
8093
8100
  break;
@@ -8194,6 +8201,13 @@ proto.user.UserSearchParams.serializeBinaryToWriter = function(message, writer)
8194
8201
  f
8195
8202
  );
8196
8203
  }
8204
+ f = message.getRoleIdsList();
8205
+ if (f.length > 0) {
8206
+ writer.writePackedInt32(
8207
+ 12,
8208
+ f
8209
+ );
8210
+ }
8197
8211
  };
8198
8212
 
8199
8213
 
@@ -8600,6 +8614,43 @@ proto.user.UserSearchParams.prototype.hasNickname = function() {
8600
8614
  };
8601
8615
 
8602
8616
 
8617
+ /**
8618
+ * repeated int32 role_ids = 12;
8619
+ * @return {!Array<number>}
8620
+ */
8621
+ proto.user.UserSearchParams.prototype.getRoleIdsList = function() {
8622
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 12));
8623
+ };
8624
+
8625
+
8626
+ /**
8627
+ * @param {!Array<number>} value
8628
+ * @return {!proto.user.UserSearchParams} returns this
8629
+ */
8630
+ proto.user.UserSearchParams.prototype.setRoleIdsList = function(value) {
8631
+ return jspb.Message.setField(this, 12, value || []);
8632
+ };
8633
+
8634
+
8635
+ /**
8636
+ * @param {number} value
8637
+ * @param {number=} opt_index
8638
+ * @return {!proto.user.UserSearchParams} returns this
8639
+ */
8640
+ proto.user.UserSearchParams.prototype.addRoleIds = function(value, opt_index) {
8641
+ return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
8642
+ };
8643
+
8644
+
8645
+ /**
8646
+ * Clears the list making it empty but non-null.
8647
+ * @return {!proto.user.UserSearchParams} returns this
8648
+ */
8649
+ proto.user.UserSearchParams.prototype.clearRoleIdsList = function() {
8650
+ return this.setRoleIdsList([]);
8651
+ };
8652
+
8653
+
8603
8654
 
8604
8655
  /**
8605
8656
  * List of repeated fields within this message type.