@mtgame/core 0.0.24 → 0.0.26
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/bundles/mtgame-core.umd.js +13 -3
- 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/localization/hockey-game-log-types.js +2 -2
- package/esm2015/models/tournament.js +9 -1
- package/esm2015/models/volleyball-game-config.js +6 -3
- package/esm5/localization/hockey-game-log-types.js +2 -2
- package/esm5/models/tournament.js +9 -1
- package/esm5/models/volleyball-game-config.js +6 -3
- package/fesm2015/mtgame-core.js +14 -4
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +14 -4
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/tournament.d.ts +6 -0
- package/models/volleyball-game-config.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/models/tournament.d.ts
CHANGED
|
@@ -24,6 +24,11 @@ export declare enum BasketballStatisticTypes {
|
|
|
24
24
|
light = 2,
|
|
25
25
|
advanced = 3
|
|
26
26
|
}
|
|
27
|
+
export declare enum VolleyballStatisticTypes {
|
|
28
|
+
standard = 1,
|
|
29
|
+
light = 2,
|
|
30
|
+
advanced = 3
|
|
31
|
+
}
|
|
27
32
|
export declare enum GameTimeTypes {
|
|
28
33
|
clean = 1,
|
|
29
34
|
dirty = 2
|
|
@@ -62,6 +67,7 @@ export declare class TournamentSettings extends BaseModel {
|
|
|
62
67
|
recruitmentIsOpen: boolean;
|
|
63
68
|
transferIsOpen: boolean;
|
|
64
69
|
basketballStatisticType: BasketballStatisticTypes;
|
|
70
|
+
volleyballStatisticType: VolleyballStatisticTypes;
|
|
65
71
|
shotClockEnabled: boolean;
|
|
66
72
|
gameTimeType: GameTimeTypes;
|
|
67
73
|
static toFront(data: any): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
+
import { VolleyballStatisticTypes } from './tournament';
|
|
2
3
|
export declare enum VolleyballGameTypes {
|
|
3
4
|
best_of_five = 1,
|
|
4
5
|
best_of_three = 2
|
|
@@ -10,6 +11,7 @@ export declare class VolleyballGameConfig extends BaseModel {
|
|
|
10
11
|
substituteCount: number;
|
|
11
12
|
scoreInSet: number;
|
|
12
13
|
scoreInLastSet: number;
|
|
14
|
+
statisticType: VolleyballStatisticTypes;
|
|
13
15
|
get setsCount(): number;
|
|
14
16
|
getSetMaxScore(set: number): number;
|
|
15
17
|
static toFront(data: any): any;
|