@mtgame/core 0.2.53 → 0.2.55
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 +9 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/tournament-api.js +1 -1
- package/esm2015/models/tournament.js +8 -1
- package/esm2015/models/waterpolo-game-config.js +4 -2
- package/fesm2015/mtgame-core.js +10 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/tournament.d.ts +5 -0
- package/models/waterpolo-game-config.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/api/tournament-api.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ export interface TournamentGamesFilters {
|
|
|
43
43
|
leaguePlayerId?: number;
|
|
44
44
|
userId?: number;
|
|
45
45
|
query?: string;
|
|
46
|
+
date_from?: string;
|
|
47
|
+
date_to?: string;
|
|
46
48
|
}
|
|
47
49
|
export declare type StatisticGroupByTypes = 'team' | 'user' | 'team_user' | 'tournament_team' | 'league_player' | 'tournament_team_user' | 'month' | 'win_loses';
|
|
48
50
|
export interface StatisticFilters {
|
|
@@ -1615,6 +1615,11 @@
|
|
|
1615
1615
|
RugbyStatisticTypes[RugbyStatisticTypes["light"] = 1] = "light";
|
|
1616
1616
|
RugbyStatisticTypes[RugbyStatisticTypes["standard"] = 2] = "standard";
|
|
1617
1617
|
})(exports.RugbyStatisticTypes || (exports.RugbyStatisticTypes = {}));
|
|
1618
|
+
exports.WaterpoloStatisticTypes = void 0;
|
|
1619
|
+
(function (WaterpoloStatisticTypes) {
|
|
1620
|
+
WaterpoloStatisticTypes[WaterpoloStatisticTypes["standard"] = 1] = "standard";
|
|
1621
|
+
WaterpoloStatisticTypes[WaterpoloStatisticTypes["light"] = 2] = "light";
|
|
1622
|
+
})(exports.WaterpoloStatisticTypes || (exports.WaterpoloStatisticTypes = {}));
|
|
1618
1623
|
exports.GameTimeTypes = void 0;
|
|
1619
1624
|
(function (GameTimeTypes) {
|
|
1620
1625
|
GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
|
|
@@ -1707,6 +1712,7 @@
|
|
|
1707
1712
|
basketball_statistic_type: 'basketballStatisticType',
|
|
1708
1713
|
volleyball_statistic_type: 'volleyballStatisticType',
|
|
1709
1714
|
rugby_statistic_type: 'rugbyStatisticType',
|
|
1715
|
+
waterpolo_statistic_type: 'waterpoloStatisticType',
|
|
1710
1716
|
shot_clock_enabled: 'shotClockEnabled',
|
|
1711
1717
|
game_time_type: 'gameTimeType',
|
|
1712
1718
|
with_result_table: 'withResultTable',
|
|
@@ -1726,6 +1732,7 @@
|
|
|
1726
1732
|
basketballStatisticType: enumField(exports.BasketballStatisticTypes),
|
|
1727
1733
|
volleyballStatisticType: enumField(exports.VolleyballStatisticTypes),
|
|
1728
1734
|
rugbyStatisticType: enumField(exports.RugbyStatisticTypes),
|
|
1735
|
+
waterpoloStatisticType: enumField(exports.WaterpoloStatisticTypes),
|
|
1729
1736
|
gameTimeType: enumField(exports.GameTimeTypes),
|
|
1730
1737
|
overtimeType: enumField(exports.OvertimeTypes),
|
|
1731
1738
|
timerType: enumField(exports.TimerTypes),
|
|
@@ -2406,10 +2413,12 @@
|
|
|
2406
2413
|
game_time_type: 'gameTimeType',
|
|
2407
2414
|
substitute_manage_enabled: 'substituteManageEnabled',
|
|
2408
2415
|
shot_clock_enabled: 'shotClockEnabled',
|
|
2416
|
+
statistic_type: 'statisticType',
|
|
2409
2417
|
},
|
|
2410
2418
|
relation: {
|
|
2411
2419
|
overtimeType: enumField(exports.OvertimeTypes),
|
|
2412
2420
|
gameTimeType: enumField(exports.GameTimeTypes),
|
|
2421
|
+
statisticType: enumField(exports.WaterpoloStatisticTypes),
|
|
2413
2422
|
}
|
|
2414
2423
|
})
|
|
2415
2424
|
], exports.WaterpoloGameConfig);
|