@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.
- package/api/tournament-api.d.ts +2 -0
- package/bundles/mtgame-core.umd.js +10 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/media-api.js +4 -1
- package/esm2015/api/tournament-api.js +4 -1
- package/esm2015/models/game-timeline-stages.js +4 -1
- package/esm2015/models/game.js +2 -1
- package/esm5/api/media-api.js +4 -1
- package/esm5/api/tournament-api.js +4 -1
- package/esm5/models/game-timeline-stages.js +4 -1
- package/esm5/models/game.js +2 -1
- package/fesm2015/mtgame-core.js +10 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +10 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/game-timeline-stages.d.ts +3 -0
- package/models/game.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/api/tournament-api.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface TournamentGamesFilters {
|
|
|
26
26
|
tournamentTour?: number;
|
|
27
27
|
teamId?: number;
|
|
28
28
|
playoffStage?: number;
|
|
29
|
+
playoffRound?: number;
|
|
29
30
|
playoffId?: number;
|
|
30
31
|
isPlayoff?: boolean;
|
|
31
32
|
status?: GameStatuses;
|
|
@@ -49,6 +50,7 @@ export interface StatisticFilters {
|
|
|
49
50
|
tournament_stage_id?: number;
|
|
50
51
|
tournament_tour?: number;
|
|
51
52
|
playoff_stage?: number;
|
|
53
|
+
playoff_round?: number;
|
|
52
54
|
playoff_id?: number;
|
|
53
55
|
is_playoff?: boolean;
|
|
54
56
|
date_from?: string;
|
|
@@ -2290,6 +2290,7 @@
|
|
|
2290
2290
|
rugby_game_config: 'rugbyGameConfig',
|
|
2291
2291
|
score_by_period: 'scoreByPeriod',
|
|
2292
2292
|
playoff_stage: 'playoffStage',
|
|
2293
|
+
playoff_round: 'playoffRound',
|
|
2293
2294
|
tournament_stage_id: 'tournamentStageId',
|
|
2294
2295
|
tournament_playoff_id: 'tournamentPlayoffId',
|
|
2295
2296
|
tournament_playoff: 'tournamentPlayoff',
|
|
@@ -5062,6 +5063,7 @@
|
|
|
5062
5063
|
stage_id: 'stageId',
|
|
5063
5064
|
tours_count: 'toursCount',
|
|
5064
5065
|
playoff_stages_count: 'playoffStagesCount',
|
|
5066
|
+
playoff_teams_count: 'playoffTeamsCount',
|
|
5065
5067
|
}
|
|
5066
5068
|
})
|
|
5067
5069
|
], GameTimelineStageItem);
|
|
@@ -5085,8 +5087,10 @@
|
|
|
5085
5087
|
mappingFields: {
|
|
5086
5088
|
tours_count: 'toursCount',
|
|
5087
5089
|
playoff_stages_count: 'playoffStagesCount',
|
|
5090
|
+
playoff_teams_count: 'playoffTeamsCount',
|
|
5088
5091
|
current_tour: 'currentTour',
|
|
5089
5092
|
current_playoff_stage: 'currentPlayoffStage',
|
|
5093
|
+
current_playoff_round: 'currentPlayoffRound',
|
|
5090
5094
|
stages: 'stages',
|
|
5091
5095
|
tournament_stage_id: 'tournamentStageId',
|
|
5092
5096
|
},
|
|
@@ -5953,6 +5957,9 @@
|
|
|
5953
5957
|
if (filters.playoffStage) {
|
|
5954
5958
|
params = params.set('playoff_stage', filters.playoffStage.toString());
|
|
5955
5959
|
}
|
|
5960
|
+
if (filters.playoffRound) {
|
|
5961
|
+
params = params.set('playoff_round', filters.playoffRound.toString());
|
|
5962
|
+
}
|
|
5956
5963
|
if (filters.teamId) {
|
|
5957
5964
|
params = params.set('team_id', filters.teamId.toString());
|
|
5958
5965
|
}
|
|
@@ -6505,6 +6512,9 @@
|
|
|
6505
6512
|
if (filters.playoffStage) {
|
|
6506
6513
|
params = params.set('playoff_stage', filters.playoffStage.toString());
|
|
6507
6514
|
}
|
|
6515
|
+
if (filters.playoffRound) {
|
|
6516
|
+
params = params.set('playoff_round', filters.playoffRound.toString());
|
|
6517
|
+
}
|
|
6508
6518
|
if (filters.status) {
|
|
6509
6519
|
params = params.set('status', exports.GameStatuses[filters.status]);
|
|
6510
6520
|
}
|