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.
@@ -1,6 +1,6 @@
1
1
  import { Country, Name } from '../service';
2
2
  export interface APICoach {
3
3
  readonly id: string;
4
- readonly name: Name;
5
- readonly country: Country;
4
+ name: Name;
5
+ country: Country;
6
6
  }
@@ -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
- readonly name: string;
6
- readonly country: Country;
5
+ name: string;
6
+ country: Country;
7
7
  }
8
8
  export interface APISeason {
9
9
  readonly id: string;
10
- readonly teams: APITeam[];
11
- readonly matches: APIMatch[];
12
- readonly iteration: number;
13
- readonly standings: Standing[];
14
- readonly league: League;
15
- readonly champion?: APITeam;
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
- readonly homeTeam: APITeam;
6
- readonly awayTeam: APITeam;
7
- readonly sets: APIMatchSet[];
8
- readonly scheduledDate: Date;
9
- readonly league?: APILeague;
10
- readonly tournament?: APITournament;
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
- readonly order: number;
15
- readonly isTieBreak: boolean;
16
- readonly homeLiberoId: string | undefined;
17
- readonly awayLiberoId: string | undefined;
18
- readonly homeScore: number;
19
- readonly awayScore: number;
20
- readonly stats: APISetStatistics[];
21
- readonly rallies: APIRally[];
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
- readonly servingTeamId: string;
26
- readonly events: APIEvent[];
27
- readonly homePlayerPosition: PlayerPosition[];
28
- readonly awayPlayerPosition: PlayerPosition[];
29
- readonly order: number;
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
- readonly name: Name;
14
- readonly country: Country;
15
- readonly gameStats: APISetStatistics[];
16
- readonly roles: Role[];
17
- readonly traits: APITrait[];
18
- readonly jerseyNumber: number;
19
- readonly team: string;
20
- readonly generalStats: Stat[];
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
- readonly roster: APIPlayer[];
6
- readonly name: string;
7
- readonly shortName: string;
8
- readonly coach: APICoach;
9
- readonly country: Country;
10
- readonly league?: string;
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
- readonly iteration: number;
6
- readonly matches: APITournamentMatch[];
7
- readonly teams: APITeam[];
8
- readonly champion?: APITeam;
5
+ iteration: number;
6
+ matches: APITournamentMatch[];
7
+ teams: APITeam[];
8
+ champion?: APITeam;
9
9
  }
10
10
  export interface APITournamentMatch {
11
- readonly stage: Stage;
12
- readonly match: APIMatch;
13
- readonly index: number;
11
+ stage: Stage;
12
+ match: APIMatch;
13
+ index: number;
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import { Country, Name } from '../service';
2
2
  export interface APICoach {
3
3
  readonly id: string;
4
- readonly name: Name;
5
- readonly country: Country;
4
+ name: Name;
5
+ country: Country;
6
6
  }
@@ -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
- readonly name: string;
6
- readonly country: Country;
5
+ name: string;
6
+ country: Country;
7
7
  }
8
8
  export interface APISeason {
9
9
  readonly id: string;
10
- readonly teams: APITeam[];
11
- readonly matches: APIMatch[];
12
- readonly iteration: number;
13
- readonly standings: Standing[];
14
- readonly league: League;
15
- readonly champion?: APITeam;
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
- readonly homeTeam: APITeam;
6
- readonly awayTeam: APITeam;
7
- readonly sets: APIMatchSet[];
8
- readonly scheduledDate: Date;
9
- readonly league?: APILeague;
10
- readonly tournament?: APITournament;
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
- readonly order: number;
15
- readonly isTieBreak: boolean;
16
- readonly homeLiberoId: string | undefined;
17
- readonly awayLiberoId: string | undefined;
18
- readonly homeScore: number;
19
- readonly awayScore: number;
20
- readonly stats: APISetStatistics[];
21
- readonly rallies: APIRally[];
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
- readonly servingTeamId: string;
26
- readonly events: APIEvent[];
27
- readonly homePlayerPosition: PlayerPosition[];
28
- readonly awayPlayerPosition: PlayerPosition[];
29
- readonly order: number;
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
- readonly name: Name;
14
- readonly country: Country;
15
- readonly gameStats: APISetStatistics[];
16
- readonly roles: Role[];
17
- readonly traits: APITrait[];
18
- readonly jerseyNumber: number;
19
- readonly team: string;
20
- readonly generalStats: Stat[];
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
- readonly roster: APIPlayer[];
6
- readonly name: string;
7
- readonly shortName: string;
8
- readonly coach: APICoach;
9
- readonly country: Country;
10
- readonly league?: string;
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
- readonly iteration: number;
6
- readonly matches: APITournamentMatch[];
7
- readonly teams: APITeam[];
8
- readonly champion?: APITeam;
5
+ iteration: number;
6
+ matches: APITournamentMatch[];
7
+ teams: APITeam[];
8
+ champion?: APITeam;
9
9
  }
10
10
  export interface APITournamentMatch {
11
- readonly stage: Stage;
12
- readonly match: APIMatch;
13
- readonly index: number;
11
+ stage: Stage;
12
+ match: APIMatch;
13
+ index: number;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",