@mtgame/core 0.1.51 → 0.1.52

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.
@@ -2077,6 +2077,7 @@ var Game = /** @class */ (function (_super) {
2077
2077
  rugby_game_config: 'rugbyGameConfig',
2078
2078
  score_by_period: 'scoreByPeriod',
2079
2079
  playoff_stage: 'playoffStage',
2080
+ playoff_round: 'playoffRound',
2080
2081
  tournament_stage_id: 'tournamentStageId',
2081
2082
  tournament_playoff_id: 'tournamentPlayoffId',
2082
2083
  tournament_playoff: 'tournamentPlayoff',
@@ -4849,6 +4850,7 @@ var GameTimelineStageItem = /** @class */ (function () {
4849
4850
  stage_id: 'stageId',
4850
4851
  tours_count: 'toursCount',
4851
4852
  playoff_stages_count: 'playoffStagesCount',
4853
+ playoff_teams_count: 'playoffTeamsCount',
4852
4854
  }
4853
4855
  })
4854
4856
  ], GameTimelineStageItem);
@@ -4872,8 +4874,10 @@ var GameTimelineStages = /** @class */ (function (_super) {
4872
4874
  mappingFields: {
4873
4875
  tours_count: 'toursCount',
4874
4876
  playoff_stages_count: 'playoffStagesCount',
4877
+ playoff_teams_count: 'playoffTeamsCount',
4875
4878
  current_tour: 'currentTour',
4876
4879
  current_playoff_stage: 'currentPlayoffStage',
4880
+ current_playoff_round: 'currentPlayoffRound',
4877
4881
  stages: 'stages',
4878
4882
  tournament_stage_id: 'tournamentStageId',
4879
4883
  },
@@ -5740,6 +5744,9 @@ function applyGamesFilters(filters, params) {
5740
5744
  if (filters.playoffStage) {
5741
5745
  params = params.set('playoff_stage', filters.playoffStage.toString());
5742
5746
  }
5747
+ if (filters.playoffRound) {
5748
+ params = params.set('playoff_round', filters.playoffRound.toString());
5749
+ }
5743
5750
  if (filters.teamId) {
5744
5751
  params = params.set('team_id', filters.teamId.toString());
5745
5752
  }
@@ -6292,6 +6299,9 @@ function applyGameMediaFilters(filters, params) {
6292
6299
  if (filters.playoffStage) {
6293
6300
  params = params.set('playoff_stage', filters.playoffStage.toString());
6294
6301
  }
6302
+ if (filters.playoffRound) {
6303
+ params = params.set('playoff_round', filters.playoffRound.toString());
6304
+ }
6295
6305
  if (filters.status) {
6296
6306
  params = params.set('status', GameStatuses[filters.status]);
6297
6307
  }