@mtgame/core 0.1.137 → 0.1.138

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.
@@ -6625,6 +6625,7 @@
6625
6625
  total_corner_goals: 'totalCornerGoals',
6626
6626
  total_corners: 'totalCorners',
6627
6627
  total_fouls: 'totalFouls',
6628
+ total_penalties: 'totalPenalties',
6628
6629
  shootout_shots: 'shootoutShots',
6629
6630
  shootout_goals_percent: 'shootoutGoalsPercent',
6630
6631
  /*goalie stat*/
@@ -11441,7 +11442,15 @@
11441
11442
  });
11442
11443
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFouls", {
11443
11444
  get: function () {
11444
- return (this.fouls || 0) + (this.penaltyFouls || 0) + (this.attackFouls || 0) + (this.personalFouls || 0);
11445
+ return (this.fouls || 0) + (this.penaltyFouls || 0) + (this.attackFouls || 0) + (this.personalFouls || 0) +
11446
+ (this.minorPenalties || 0) + (this.majorPenalties || 0) + (this.matchPenalties || 0);
11447
+ },
11448
+ enumerable: false,
11449
+ configurable: true
11450
+ });
11451
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalPenalties", {
11452
+ get: function () {
11453
+ return (this.minorPenalties || 0) + (this.majorPenalties || 0) + (this.matchPenalties || 0);
11445
11454
  },
11446
11455
  enumerable: false,
11447
11456
  configurable: true