volleyballsimtypes 0.0.49 → 0.0.51
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/dist/cjs/src/api/coach.d.ts +2 -2
- package/dist/cjs/src/api/league.d.ts +8 -8
- package/dist/cjs/src/api/match.d.ts +20 -20
- package/dist/cjs/src/api/player.d.ts +8 -8
- package/dist/cjs/src/api/team.d.ts +6 -6
- package/dist/cjs/src/api/tournament.d.ts +7 -7
- package/dist/esm/src/api/coach.d.ts +2 -2
- package/dist/esm/src/api/league.d.ts +8 -8
- package/dist/esm/src/api/match.d.ts +20 -20
- package/dist/esm/src/api/player.d.ts +8 -8
- package/dist/esm/src/api/team.d.ts +6 -6
- package/dist/esm/src/api/tournament.d.ts +7 -7
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@ import { Country, League, Standing } from '../service';
|
|
|
2
2
|
import { APIMatch, APITeam } from '.';
|
|
3
3
|
export interface APILeague {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
name: string;
|
|
6
|
+
country: Country;
|
|
7
7
|
}
|
|
8
8
|
export interface APISeason {
|
|
9
9
|
readonly id: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
teams: APITeam[];
|
|
11
|
+
matches: APIMatch[];
|
|
12
|
+
iteration: number;
|
|
13
|
+
standings: Standing[];
|
|
14
|
+
league: League;
|
|
15
|
+
champion?: APITeam;
|
|
16
16
|
}
|
|
@@ -2,35 +2,35 @@ import { EventStat, PlayerPosition } from '../service';
|
|
|
2
2
|
import { APIEvent, APILeague, APITeam, APITournament } from '.';
|
|
3
3
|
export interface APIMatch {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
homeTeam: APITeam;
|
|
6
|
+
awayTeam: APITeam;
|
|
7
|
+
sets: APIMatchSet[];
|
|
8
|
+
scheduledDate: Date;
|
|
9
|
+
league?: APILeague;
|
|
10
|
+
tournament?: APITournament;
|
|
11
11
|
}
|
|
12
12
|
export interface APIMatchSet {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
order: number;
|
|
15
|
+
isTieBreak: boolean;
|
|
16
|
+
homeLiberoId: string | undefined;
|
|
17
|
+
awayLiberoId: string | undefined;
|
|
18
|
+
homeScore: number;
|
|
19
|
+
awayScore: number;
|
|
20
|
+
stats: APISetStatistics[];
|
|
21
|
+
rallies: APIRally[];
|
|
22
22
|
}
|
|
23
23
|
export interface APIRally {
|
|
24
24
|
readonly id: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
servingTeamId: string;
|
|
26
|
+
events: APIEvent[];
|
|
27
|
+
homePlayerPosition: PlayerPosition[];
|
|
28
|
+
awayPlayerPosition: PlayerPosition[];
|
|
29
|
+
order: number;
|
|
30
30
|
}
|
|
31
31
|
export interface APISetStatistics {
|
|
32
|
+
readonly playerId: string;
|
|
32
33
|
order: number;
|
|
33
|
-
playerId: string;
|
|
34
34
|
ace: number;
|
|
35
35
|
attempts: number;
|
|
36
36
|
contacts: number;
|
|
@@ -10,12 +10,12 @@ export declare enum APITrait {
|
|
|
10
10
|
}
|
|
11
11
|
export interface APIPlayer {
|
|
12
12
|
readonly id: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
name: Name;
|
|
14
|
+
country: Country;
|
|
15
|
+
gameStats: APISetStatistics[];
|
|
16
|
+
roles: Role[];
|
|
17
|
+
traits: APITrait[];
|
|
18
|
+
jerseyNumber: number;
|
|
19
|
+
team: string;
|
|
20
|
+
generalStats: Stat[];
|
|
21
21
|
}
|
|
@@ -2,10 +2,10 @@ import { Country } from '../service';
|
|
|
2
2
|
import { APICoach, APIPlayer } from '.';
|
|
3
3
|
export interface APITeam {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
roster: APIPlayer[];
|
|
6
|
+
name: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
coach: APICoach;
|
|
9
|
+
country: Country;
|
|
10
|
+
league?: string;
|
|
11
11
|
}
|
|
@@ -2,13 +2,13 @@ import { Stage } from '../service';
|
|
|
2
2
|
import { APIMatch, APITeam } from '.';
|
|
3
3
|
export interface APITournament {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
iteration: number;
|
|
6
|
+
matches: APITournamentMatch[];
|
|
7
|
+
teams: APITeam[];
|
|
8
|
+
champion?: APITeam;
|
|
9
9
|
}
|
|
10
10
|
export interface APITournamentMatch {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
stage: Stage;
|
|
12
|
+
match: APIMatch;
|
|
13
|
+
index: number;
|
|
14
14
|
}
|
|
@@ -2,15 +2,15 @@ import { Country, League, Standing } from '../service';
|
|
|
2
2
|
import { APIMatch, APITeam } from '.';
|
|
3
3
|
export interface APILeague {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
name: string;
|
|
6
|
+
country: Country;
|
|
7
7
|
}
|
|
8
8
|
export interface APISeason {
|
|
9
9
|
readonly id: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
teams: APITeam[];
|
|
11
|
+
matches: APIMatch[];
|
|
12
|
+
iteration: number;
|
|
13
|
+
standings: Standing[];
|
|
14
|
+
league: League;
|
|
15
|
+
champion?: APITeam;
|
|
16
16
|
}
|
|
@@ -2,35 +2,35 @@ import { EventStat, PlayerPosition } from '../service';
|
|
|
2
2
|
import { APIEvent, APILeague, APITeam, APITournament } from '.';
|
|
3
3
|
export interface APIMatch {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
homeTeam: APITeam;
|
|
6
|
+
awayTeam: APITeam;
|
|
7
|
+
sets: APIMatchSet[];
|
|
8
|
+
scheduledDate: Date;
|
|
9
|
+
league?: APILeague;
|
|
10
|
+
tournament?: APITournament;
|
|
11
11
|
}
|
|
12
12
|
export interface APIMatchSet {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
order: number;
|
|
15
|
+
isTieBreak: boolean;
|
|
16
|
+
homeLiberoId: string | undefined;
|
|
17
|
+
awayLiberoId: string | undefined;
|
|
18
|
+
homeScore: number;
|
|
19
|
+
awayScore: number;
|
|
20
|
+
stats: APISetStatistics[];
|
|
21
|
+
rallies: APIRally[];
|
|
22
22
|
}
|
|
23
23
|
export interface APIRally {
|
|
24
24
|
readonly id: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
servingTeamId: string;
|
|
26
|
+
events: APIEvent[];
|
|
27
|
+
homePlayerPosition: PlayerPosition[];
|
|
28
|
+
awayPlayerPosition: PlayerPosition[];
|
|
29
|
+
order: number;
|
|
30
30
|
}
|
|
31
31
|
export interface APISetStatistics {
|
|
32
|
+
readonly playerId: string;
|
|
32
33
|
order: number;
|
|
33
|
-
playerId: string;
|
|
34
34
|
ace: number;
|
|
35
35
|
attempts: number;
|
|
36
36
|
contacts: number;
|
|
@@ -10,12 +10,12 @@ export declare enum APITrait {
|
|
|
10
10
|
}
|
|
11
11
|
export interface APIPlayer {
|
|
12
12
|
readonly id: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
name: Name;
|
|
14
|
+
country: Country;
|
|
15
|
+
gameStats: APISetStatistics[];
|
|
16
|
+
roles: Role[];
|
|
17
|
+
traits: APITrait[];
|
|
18
|
+
jerseyNumber: number;
|
|
19
|
+
team: string;
|
|
20
|
+
generalStats: Stat[];
|
|
21
21
|
}
|
|
@@ -2,10 +2,10 @@ import { Country } from '../service';
|
|
|
2
2
|
import { APICoach, APIPlayer } from '.';
|
|
3
3
|
export interface APITeam {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
roster: APIPlayer[];
|
|
6
|
+
name: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
coach: APICoach;
|
|
9
|
+
country: Country;
|
|
10
|
+
league?: string;
|
|
11
11
|
}
|
|
@@ -2,13 +2,13 @@ import { Stage } from '../service';
|
|
|
2
2
|
import { APIMatch, APITeam } from '.';
|
|
3
3
|
export interface APITournament {
|
|
4
4
|
readonly id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
iteration: number;
|
|
6
|
+
matches: APITournamentMatch[];
|
|
7
|
+
teams: APITeam[];
|
|
8
|
+
champion?: APITeam;
|
|
9
9
|
}
|
|
10
10
|
export interface APITournamentMatch {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
stage: Stage;
|
|
12
|
+
match: APIMatch;
|
|
13
|
+
index: number;
|
|
14
14
|
}
|