@mtgame/core 0.1.20 → 0.1.21

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.
@@ -25,6 +25,7 @@ export interface TournamentGamesFilters {
25
25
  teamId?: number;
26
26
  playoffStage?: number;
27
27
  playoffId?: number;
28
+ isPlayoff?: boolean;
28
29
  status?: GameStatuses;
29
30
  statuses?: GameStatuses[];
30
31
  tournamentCourtId?: number;
@@ -5350,6 +5350,9 @@
5350
5350
  if (filters.query) {
5351
5351
  params = params.set('query', filters.query);
5352
5352
  }
5353
+ if (filters.isPlayoff !== undefined && filters.isPlayoff !== null) {
5354
+ params = params.set('is_playoff', filters.isPlayoff ? '1' : '0');
5355
+ }
5353
5356
  return params;
5354
5357
  }
5355
5358
  function applyStatisticFilters(filters, params) {