@mtgame/core 0.2.117 → 0.2.119

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.
@@ -3470,6 +3470,7 @@
3470
3470
  TeamUserRole[TeamUserRole["senior_coach"] = 15] = "senior_coach";
3471
3471
  TeamUserRole[TeamUserRole["assistant_coach"] = 16] = "assistant_coach";
3472
3472
  TeamUserRole[TeamUserRole["serviceman"] = 17] = "serviceman";
3473
+ TeamUserRole[TeamUserRole["game_application_manager"] = 18] = "game_application_manager";
3473
3474
  })(exports.TeamUserRole || (exports.TeamUserRole = {}));
3474
3475
  exports.TeamUser = /** @class */ (function (_super) {
3475
3476
  __extends(TeamUser, _super);
@@ -5490,6 +5491,11 @@
5490
5491
  FootballGameLogTypes[FootballGameLogTypes["end_game_penalty_miss"] = 27] = "end_game_penalty_miss";
5491
5492
  FootballGameLogTypes[FootballGameLogTypes["end_game_penalty_goal"] = 28] = "end_game_penalty_goal";
5492
5493
  FootballGameLogTypes[FootballGameLogTypes["end_game_penalty_save"] = 29] = "end_game_penalty_save";
5494
+ FootballGameLogTypes[FootballGameLogTypes["duel_won"] = 30] = "duel_won";
5495
+ FootballGameLogTypes[FootballGameLogTypes["duel_lost"] = 31] = "duel_lost";
5496
+ FootballGameLogTypes[FootballGameLogTypes["double_goal"] = 32] = "double_goal";
5497
+ FootballGameLogTypes[FootballGameLogTypes["super_game"] = 33] = "super_game";
5498
+ FootballGameLogTypes[FootballGameLogTypes["color_ball"] = 34] = "color_ball";
5493
5499
  })(exports.FootballGameLogTypes || (exports.FootballGameLogTypes = {}));
5494
5500
  exports.FootballGameLog = /** @class */ (function (_super) {
5495
5501
  __extends(FootballGameLog, _super);
@@ -5523,6 +5529,7 @@
5523
5529
  exports.FootballGameLogTypes.small_penalty_goal,
5524
5530
  exports.FootballGameLogTypes.auto_goal,
5525
5531
  exports.FootballGameLogTypes.end_game_penalty_goal,
5532
+ exports.FootballGameLogTypes.double_goal
5526
5533
  ].indexOf(this.logType) > -1;
5527
5534
  };
5528
5535
  FootballGameLog.prototype.isAfter = function (log) {
@@ -5588,7 +5595,10 @@
5588
5595
  });
5589
5596
  Object.defineProperty(FootballGameStatistic.prototype, "totalGoals", {
5590
5597
  get: function () {
5591
- return Math.floor(10 * ((this.goals || 0) + (this.penaltyGoals || 0) + (this.smallPenaltyGoals || 0))) / 10;
5598
+ return Math.floor(10 * ((this.goals || 0) +
5599
+ (this.penaltyGoals || 0) +
5600
+ (this.smallPenaltyGoals || 0) +
5601
+ ((this.doubleGoals || 0) * 2))) / 10;
5592
5602
  },
5593
5603
  enumerable: false,
5594
5604
  configurable: true
@@ -5649,7 +5659,7 @@
5649
5659
  });
5650
5660
  Object.defineProperty(FootballGameStatistic.prototype, "shotsAgainst", {
5651
5661
  get: function () {
5652
- return Math.floor(10 * ((this.saves || 0) + (this.goalsAgainst || 0))) / 10;
5662
+ return Math.floor(10 * ((this.saves || 0) + (this.goalsAgainst || 0) + (this.doubleGoalsAgainst || 0))) / 10;
5653
5663
  },
5654
5664
  enumerable: false,
5655
5665
  configurable: true
@@ -5670,7 +5680,11 @@
5670
5680
  });
5671
5681
  Object.defineProperty(FootballGameStatistic.prototype, "totalGoalsAgainst", {
5672
5682
  get: function () {
5673
- return Math.floor(10 * ((this.goalsAgainst || 0) + (this.penaltyGoalsAgainst || 0) + (this.smallPenaltyGoalsAgainst || 0) + (this.autoGoalsAgainst || 0))) / 10;
5683
+ return Math.floor(10 * ((this.goalsAgainst || 0) +
5684
+ (this.penaltyGoalsAgainst || 0) +
5685
+ (this.smallPenaltyGoalsAgainst || 0) +
5686
+ (this.autoGoalsAgainst || 0) +
5687
+ ((this.doubleGoalsAgainst || 0) * 2))) / 10;
5674
5688
  },
5675
5689
  enumerable: false,
5676
5690
  configurable: true
@@ -5774,7 +5788,11 @@
5774
5788
  auto_goals_against: 'autoGoalsAgainst',
5775
5789
  end_game_penalty_goals: 'endGamePenaltyGoals',
5776
5790
  end_game_penalty_misses: 'endGamePenaltyMisses',
5777
- end_game_penalty_saves: 'endGamePenaltySaves'
5791
+ end_game_penalty_saves: 'endGamePenaltySaves',
5792
+ duels_won: 'duelsWon',
5793
+ duels_lost: 'duelsLost',
5794
+ double_goals: 'doubleGoals',
5795
+ double_goals_against: 'doubleGoalsAgainst',
5778
5796
  },
5779
5797
  relation: {
5780
5798
  updatedAt: DateTimeField,
@@ -5968,7 +5986,11 @@
5968
5986
  end_game_penalty_misses: 'endGamePenaltyMisses',
5969
5987
  end_game_penalty_saves: 'endGamePenaltySaves',
5970
5988
  shutout: 'shutout',
5971
- shutout_percent: 'shutoutPercent'
5989
+ shutout_percent: 'shutoutPercent',
5990
+ duels_won: 'duelsWon',
5991
+ duels_lost: 'duelsLost',
5992
+ double_goals: 'doubleGoals',
5993
+ double_goals_against: 'doubleGoalsAgainst',
5972
5994
  },
5973
5995
  relation: {
5974
5996
  leaguePlayer: exports.LeaguePlayer,
@@ -14239,6 +14261,11 @@
14239
14261
  _a$d[exports.FootballGameLogTypes.end_game_penalty_goal] = 'Пенальти гол',
14240
14262
  _a$d[exports.FootballGameLogTypes.end_game_penalty_miss] = 'Пенальти промах',
14241
14263
  _a$d[exports.FootballGameLogTypes.end_game_penalty_save] = 'Отражен пенальти',
14264
+ _a$d[exports.FootballGameLogTypes.duel_won] = 'Дуэль выиграна',
14265
+ _a$d[exports.FootballGameLogTypes.duel_lost] = 'Дуэль проиграна',
14266
+ _a$d[exports.FootballGameLogTypes.double_goal] = 'Гол+2',
14267
+ _a$d[exports.FootballGameLogTypes.super_game] = 'Супер игра',
14268
+ _a$d[exports.FootballGameLogTypes.color_ball] = 'Цветной мяч',
14242
14269
  _a$d);
14243
14270
 
14244
14271
  var _a$c;
@@ -14440,6 +14467,7 @@
14440
14467
  _a$6[exports.TeamUserRole.senior_coach] = 'Старший тренер',
14441
14468
  _a$6[exports.TeamUserRole.assistant_coach] = 'Помощник тренера',
14442
14469
  _a$6[exports.TeamUserRole.serviceman] = 'Сервисмен',
14470
+ _a$6[exports.TeamUserRole.game_application_manager] = 'Менеджер по заявкам на игры',
14443
14471
  _a$6);
14444
14472
 
14445
14473
  var _a$5, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;