@mtgame/core 0.2.14 → 0.2.16
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 +2 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/tournament-api.js +1 -1
- package/esm2015/models/league-player.js +4 -2
- package/fesm2015/mtgame-core.js +2 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/league-player.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/api/tournament-api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { TeamAchievement } from '../models/team-achievement';
|
|
|
23
23
|
import { WaterpoloStatistic } from '../models/waterpolo-statistic';
|
|
24
24
|
import { TournamentRound } from '../models/tournament-round';
|
|
25
25
|
import { TournamentDivision } from '../models/tournament-division';
|
|
26
|
+
import { UserGender } from '../models/user';
|
|
26
27
|
export interface TournamentGamesFilters {
|
|
27
28
|
tournamentIds?: number[];
|
|
28
29
|
tournamentSeasonId?: number;
|
|
@@ -66,6 +67,7 @@ export interface StatisticFilters {
|
|
|
66
67
|
date_from?: string;
|
|
67
68
|
date_to?: string;
|
|
68
69
|
query?: string;
|
|
70
|
+
gender?: UserGender;
|
|
69
71
|
per_game?: boolean;
|
|
70
72
|
group_by: StatisticGroupByTypes;
|
|
71
73
|
order_by?: string;
|
|
@@ -3428,6 +3428,7 @@
|
|
|
3428
3428
|
birth_date: 'birthDate',
|
|
3429
3429
|
photo: 'photo',
|
|
3430
3430
|
user: 'user',
|
|
3431
|
+
gender: 'gender',
|
|
3431
3432
|
has_changes: 'hasChanges',
|
|
3432
3433
|
rating: 'rating',
|
|
3433
3434
|
qualification: 'qualification',
|
|
@@ -3439,6 +3440,7 @@
|
|
|
3439
3440
|
user: exports.User,
|
|
3440
3441
|
qualification: enumField(exports.Qualification),
|
|
3441
3442
|
fieldValues: listField(exports.LeaguePlayerFieldValue),
|
|
3443
|
+
gender: enumField(exports.UserGender),
|
|
3442
3444
|
}
|
|
3443
3445
|
})
|
|
3444
3446
|
], exports.LeaguePlayer);
|