protobuf-platform 1.0.205 → 1.0.206

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/cms/cms.proto CHANGED
@@ -35,6 +35,7 @@ message PaginationRequest {
35
35
  int32 offset = 2;
36
36
  optional int32 is_active = 3;
37
37
  optional string geo = 4;
38
+ optional bool admin_side = 5;
38
39
  }
39
40
  //Media
40
41
  message File { bytes media = 1; optional string file_name = 2; optional string file_type = 3; }
package/cms/cms_pb.js CHANGED
@@ -933,7 +933,8 @@ proto.cms.PaginationRequest.toObject = function(includeInstance, msg) {
933
933
  limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
934
934
  offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
935
935
  isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
936
- geo: jspb.Message.getFieldWithDefault(msg, 4, "")
936
+ geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
937
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
937
938
  };
938
939
 
939
940
  if (includeInstance) {
@@ -986,6 +987,10 @@ proto.cms.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
986
987
  var value = /** @type {string} */ (reader.readString());
987
988
  msg.setGeo(value);
988
989
  break;
990
+ case 5:
991
+ var value = /** @type {boolean} */ (reader.readBool());
992
+ msg.setAdminSide(value);
993
+ break;
989
994
  default:
990
995
  reader.skipField();
991
996
  break;
@@ -1043,6 +1048,13 @@ proto.cms.PaginationRequest.serializeBinaryToWriter = function(message, writer)
1043
1048
  f
1044
1049
  );
1045
1050
  }
1051
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
1052
+ if (f != null) {
1053
+ writer.writeBool(
1054
+ 5,
1055
+ f
1056
+ );
1057
+ }
1046
1058
  };
1047
1059
 
1048
1060
 
@@ -1154,6 +1166,42 @@ proto.cms.PaginationRequest.prototype.hasGeo = function() {
1154
1166
  };
1155
1167
 
1156
1168
 
1169
+ /**
1170
+ * optional bool admin_side = 5;
1171
+ * @return {boolean}
1172
+ */
1173
+ proto.cms.PaginationRequest.prototype.getAdminSide = function() {
1174
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
1175
+ };
1176
+
1177
+
1178
+ /**
1179
+ * @param {boolean} value
1180
+ * @return {!proto.cms.PaginationRequest} returns this
1181
+ */
1182
+ proto.cms.PaginationRequest.prototype.setAdminSide = function(value) {
1183
+ return jspb.Message.setField(this, 5, value);
1184
+ };
1185
+
1186
+
1187
+ /**
1188
+ * Clears the field making it undefined.
1189
+ * @return {!proto.cms.PaginationRequest} returns this
1190
+ */
1191
+ proto.cms.PaginationRequest.prototype.clearAdminSide = function() {
1192
+ return jspb.Message.setField(this, 5, undefined);
1193
+ };
1194
+
1195
+
1196
+ /**
1197
+ * Returns whether this field is set.
1198
+ * @return {boolean}
1199
+ */
1200
+ proto.cms.PaginationRequest.prototype.hasAdminSide = function() {
1201
+ return jspb.Message.getField(this, 5) != null;
1202
+ };
1203
+
1204
+
1157
1205
 
1158
1206
 
1159
1207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.205",
3
+ "version": "1.0.206",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {