@mtgame/core 1.0.52 → 1.0.54

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.
@@ -2436,6 +2436,11 @@
2436
2436
  PlayoffTypes["double_elimination"] = "double_elimination";
2437
2437
  PlayoffTypes["elimination"] = "elimination";
2438
2438
  })(exports.PlayoffTypes || (exports.PlayoffTypes = {}));
2439
+ exports.PlayoffFormationTypes = void 0;
2440
+ (function (PlayoffFormationTypes) {
2441
+ PlayoffFormationTypes["common"] = "common";
2442
+ PlayoffFormationTypes["by_standings"] = "by_standings";
2443
+ })(exports.PlayoffFormationTypes || (exports.PlayoffFormationTypes = {}));
2439
2444
  exports.PlayoffSettings = /** @class */ (function (_super) {
2440
2445
  __extends(PlayoffSettings, _super);
2441
2446
  function PlayoffSettings() {
@@ -2460,11 +2465,13 @@
2460
2465
  loser_final_rounds: 'loserFinalRounds',
2461
2466
  teams_count: 'teamsCount',
2462
2467
  type: 'type',
2468
+ formation_type: 'formationType',
2463
2469
  min_player_games_count: 'minPlayerGamesCount',
2464
2470
  min_player_time: 'minPlayerTime',
2465
2471
  },
2466
2472
  relation: {
2467
- type: enumField(exports.PlayoffTypes)
2473
+ type: enumField(exports.PlayoffTypes),
2474
+ formationType: enumField(exports.PlayoffFormationTypes),
2468
2475
  }
2469
2476
  })
2470
2477
  ], exports.PlayoffSettings);
@@ -13466,6 +13473,15 @@
13466
13473
  enumerable: false,
13467
13474
  configurable: true
13468
13475
  });
13476
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalEvShotsOnGoal", {
13477
+ get: function () {
13478
+ return (this.evShotsOnGoal || 0) + (this.evFreeKickOnGoals || 0) + (this.evCornerOnGoals || 0) +
13479
+ (this.evCounterAttackOnGoals || 0) + (this.evManeuverOnGoals || 0) + (this.evCenterForwardOnGoals || 0) +
13480
+ (this.evPerimetrShotOnGoals || 0) + (this.evPostShotOnGoals || 0) + (this.evFastShotOnGoals || 0);
13481
+ },
13482
+ enumerable: false,
13483
+ configurable: true
13484
+ });
13469
13485
  Object.defineProperty(WaterpoloGameStatistic.prototype, "inGameShotsOnGoals", {
13470
13486
  get: function () {
13471
13487
  return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +