@mtgame/core 0.1.127 → 0.1.128

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.
@@ -6090,6 +6090,13 @@
6090
6090
  enumerable: false,
6091
6091
  configurable: true
6092
6092
  });
6093
+ Object.defineProperty(RugbyStatistic.prototype, "totalFouls", {
6094
+ get: function () {
6095
+ return (this.fouls || 0) + (this.teamFouls || 0);
6096
+ },
6097
+ enumerable: false,
6098
+ configurable: true
6099
+ });
6093
6100
  RugbyStatistic.toFront = function (data) { };
6094
6101
  RugbyStatistic.toBack = function (data) { };
6095
6102
  return RugbyStatistic;
@@ -8347,6 +8354,13 @@
8347
8354
  enumerable: false,
8348
8355
  configurable: true
8349
8356
  });
8357
+ Object.defineProperty(RugbyGameStatistic.prototype, "totalFouls", {
8358
+ get: function () {
8359
+ return (this.fouls || 0) + (this.teamFouls || 0);
8360
+ },
8361
+ enumerable: false,
8362
+ configurable: true
8363
+ });
8350
8364
  RugbyGameStatistic.toFront = function (data) { };
8351
8365
  RugbyGameStatistic.toBack = function (data) { };
8352
8366
  return RugbyGameStatistic;
@@ -8386,6 +8400,8 @@
8386
8400
  carries_over_gainline: 'carriesOverGainline',
8387
8401
  foot_field_shots: 'footFieldShots',
8388
8402
  foot_out_shots: 'footOutShots',
8403
+ fouls: 'fouls',
8404
+ team_fouls: 'teamFouls',
8389
8405
  game_time: 'gameTime',
8390
8406
  plus_minus: 'plusMinus'
8391
8407
  },