protobuf-platform 1.1.54 → 1.1.55

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.
@@ -33,6 +33,7 @@ message DashboardRequest {
33
33
  message DashboardResponse {
34
34
  optional int32 active_users_count = 1;
35
35
  optional int32 registrations_count = 2;
36
+ optional int32 login_count = 3;
36
37
  }
37
38
  //Global
38
39
  message GlobalCasinoItem {
@@ -1307,7 +1307,8 @@ proto.analytic.DashboardResponse.prototype.toObject = function(opt_includeInstan
1307
1307
  proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1308
1308
  var f, obj = {
1309
1309
  activeUsersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
1310
- registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
1310
+ registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
1311
+ loginCount: jspb.Message.getFieldWithDefault(msg, 3, 0)
1311
1312
  };
1312
1313
 
1313
1314
  if (includeInstance) {
@@ -1352,6 +1353,10 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1352
1353
  var value = /** @type {number} */ (reader.readInt32());
1353
1354
  msg.setRegistrationsCount(value);
1354
1355
  break;
1356
+ case 3:
1357
+ var value = /** @type {number} */ (reader.readInt32());
1358
+ msg.setLoginCount(value);
1359
+ break;
1355
1360
  default:
1356
1361
  reader.skipField();
1357
1362
  break;
@@ -1395,6 +1400,13 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1395
1400
  f
1396
1401
  );
1397
1402
  }
1403
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
1404
+ if (f != null) {
1405
+ writer.writeInt32(
1406
+ 3,
1407
+ f
1408
+ );
1409
+ }
1398
1410
  };
1399
1411
 
1400
1412
 
@@ -1470,6 +1482,42 @@ proto.analytic.DashboardResponse.prototype.hasRegistrationsCount = function() {
1470
1482
  };
1471
1483
 
1472
1484
 
1485
+ /**
1486
+ * optional int32 login_count = 3;
1487
+ * @return {number}
1488
+ */
1489
+ proto.analytic.DashboardResponse.prototype.getLoginCount = function() {
1490
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * @param {number} value
1496
+ * @return {!proto.analytic.DashboardResponse} returns this
1497
+ */
1498
+ proto.analytic.DashboardResponse.prototype.setLoginCount = function(value) {
1499
+ return jspb.Message.setField(this, 3, value);
1500
+ };
1501
+
1502
+
1503
+ /**
1504
+ * Clears the field making it undefined.
1505
+ * @return {!proto.analytic.DashboardResponse} returns this
1506
+ */
1507
+ proto.analytic.DashboardResponse.prototype.clearLoginCount = function() {
1508
+ return jspb.Message.setField(this, 3, undefined);
1509
+ };
1510
+
1511
+
1512
+ /**
1513
+ * Returns whether this field is set.
1514
+ * @return {boolean}
1515
+ */
1516
+ proto.analytic.DashboardResponse.prototype.hasLoginCount = function() {
1517
+ return jspb.Message.getField(this, 3) != null;
1518
+ };
1519
+
1520
+
1473
1521
 
1474
1522
 
1475
1523
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {