@mtgame/core 0.1.45 → 0.1.47

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.
@@ -1578,6 +1578,16 @@ var FootballGameConfig = /** @class */ (function (_super) {
1578
1578
  function FootballGameConfig() {
1579
1579
  return _super !== null && _super.apply(this, arguments) || this;
1580
1580
  }
1581
+ Object.defineProperty(FootballGameConfig.prototype, "penaltyPeriod", {
1582
+ get: function () {
1583
+ if (this.overtimeType !== OvertimeTypes.time_and_penalties) {
1584
+ return +this.periodsCount + 1;
1585
+ }
1586
+ return +this.periodsCount + this.overtimePeriods + 1;
1587
+ },
1588
+ enumerable: true,
1589
+ configurable: true
1590
+ });
1581
1591
  FootballGameConfig.toFront = function (data) { };
1582
1592
  FootballGameConfig.toBack = function (data) { };
1583
1593
  __decorate([
@@ -1593,11 +1603,14 @@ var FootballGameConfig = /** @class */ (function (_super) {
1593
1603
  period_time: 'periodTime',
1594
1604
  overtime_type: 'overtimeType',
1595
1605
  overtime_time: 'overtimeTime',
1606
+ overtime_periods: 'overtimePeriods',
1596
1607
  max_game_players: 'maxGamePlayers',
1597
1608
  timeout_count: 'timeoutCount',
1598
1609
  overtime_timeout_count: 'overtimeTimeoutCount',
1599
1610
  timeout_time: 'timeoutTime',
1600
1611
  game_time_type: 'gameTimeType',
1612
+ substitute_count: 'substituteCount',
1613
+ free_substitute_enabled: 'freeSubstituteEnabled',
1601
1614
  },
1602
1615
  relation: {
1603
1616
  overtimeType: enumField(OvertimeTypes),
@@ -3789,6 +3802,9 @@ var FootballGameLogTypes;
3789
3802
  FootballGameLogTypes[FootballGameLogTypes["out"] = 24] = "out";
3790
3803
  FootballGameLogTypes[FootballGameLogTypes["timeout"] = 25] = "timeout";
3791
3804
  FootballGameLogTypes[FootballGameLogTypes["auto_goal"] = 26] = "auto_goal";
3805
+ FootballGameLogTypes[FootballGameLogTypes["end_game_penalty_miss"] = 27] = "end_game_penalty_miss";
3806
+ FootballGameLogTypes[FootballGameLogTypes["end_game_penalty_goal"] = 28] = "end_game_penalty_goal";
3807
+ FootballGameLogTypes[FootballGameLogTypes["end_game_penalty_save"] = 29] = "end_game_penalty_save";
3792
3808
  })(FootballGameLogTypes || (FootballGameLogTypes = {}));
3793
3809
  var FootballGameLog = /** @class */ (function (_super) {
3794
3810
  __extends(FootballGameLog, _super);
@@ -4062,7 +4078,10 @@ var FootballGameStatistic = /** @class */ (function (_super) {
4062
4078
  outs: 'outs',
4063
4079
  block_shots: 'blockShots',
4064
4080
  auto_goals: 'autoGoals',
4065
- auto_goals_against: 'autoGoalsAgainst'
4081
+ auto_goals_against: 'autoGoalsAgainst',
4082
+ end_game_penalty_goals: 'endGamePenaltyGoals',
4083
+ end_game_penalty_misses: 'endGamePenaltyMisses',
4084
+ end_game_penalty_saves: 'endGamePenaltySaves'
4066
4085
  },
4067
4086
  relation: {
4068
4087
  updatedAt: DateTimeField,
@@ -4219,6 +4238,9 @@ var FootballStatistic = /** @class */ (function (_super) {
4219
4238
  rank: 'rank',
4220
4239
  auto_goals: 'autoGoals',
4221
4240
  auto_goals_against: 'autoGoalsAgainst',
4241
+ end_game_penalty_goals: 'endGamePenaltyGoals',
4242
+ end_game_penalty_misses: 'endGamePenaltyMisses',
4243
+ end_game_penalty_saves: 'endGamePenaltySaves'
4222
4244
  },
4223
4245
  relation: {
4224
4246
  leaguePlayer: LeaguePlayer,
@@ -5235,7 +5257,7 @@ var RugbyStatistic = /** @class */ (function (_super) {
5235
5257
  drop_goal_kicks: 'dropGoalKicks',
5236
5258
  drop_goals: 'dropGoals',
5237
5259
  drop_goal_misses: 'dropGoalMisses',
5238
- drop_goal_percent: 'dropGoalPercent',
5260
+ drop_goals_percent: 'dropGoalPercent',
5239
5261
  free_kicks: 'freeKicks',
5240
5262
  yellow_cards: 'yellowCards',
5241
5263
  red_cards: 'redCards',
@@ -9110,6 +9132,9 @@ var FootballGameLogTypeLocalization = (_a$4 = {},
9110
9132
  _a$4[FootballGameLogTypes.out] = 'Аут',
9111
9133
  _a$4[FootballGameLogTypes.timeout] = 'Таймаут',
9112
9134
  _a$4[FootballGameLogTypes.auto_goal] = 'Автогол',
9135
+ _a$4[FootballGameLogTypes.end_game_penalty_goal] = 'Пенальти гол',
9136
+ _a$4[FootballGameLogTypes.end_game_penalty_miss] = 'Пенальти промах',
9137
+ _a$4[FootballGameLogTypes.end_game_penalty_save] = 'Отражен пенальти',
9113
9138
  _a$4);
9114
9139
 
9115
9140
  var _a$5;