volleyballsimtypes 0.0.402 → 0.0.404
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/index.d.ts +3 -2
- package/dist/cjs/src/service/match/court-position.d.ts +2 -1
- package/dist/cjs/src/service/match/court-position.js +4 -0
- package/dist/esm/src/api/index.d.ts +3 -2
- package/dist/esm/src/service/match/court-position.d.ts +2 -1
- package/dist/esm/src/service/match/court-position.js +4 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoxScore, DataProps, DeclineStatus, Division as _Division, League as _League, Match as _Match, MatchSet as _MatchSet, Player as _Player, PlayerPosition, Qualifier as _Qualifier, QualifierMatch as _QualifierMatch, Rally as _Rally, RallyEvent as _RallyEvent, Season as _Season, Standing as _Standing, Team as _Team, Tournament as _Tournament, TournamentMatch as _TournamentMatch, National as _National, NationalMatch as _NationalMatch, Country as _Country, CourtPosition, ConditionLogic, EnergyBand, LiberoSubMode, PinchCondition, RotationSystemEnum, SubBand, SubMode } from '../service';
|
|
1
|
+
import { BoxScore, DataProps, DeclineStatus, Division as _Division, League as _League, Match as _Match, MatchSet as _MatchSet, Player as _Player, PlayerPosition, Qualifier as _Qualifier, QualifierMatch as _QualifierMatch, Rally as _Rally, RallyEvent as _RallyEvent, Season as _Season, Standing as _Standing, Team as _Team, Tournament as _Tournament, TournamentMatch as _TournamentMatch, National as _National, NationalMatch as _NationalMatch, Country as _Country, CourtPosition, ConditionLogic, EnergyBand, LiberoSubMode, PerformanceStats, PinchCondition, RotationSystemEnum, SubBand, SubMode } from '../service';
|
|
2
2
|
export type Rally = DataProps<_Rally> & {
|
|
3
3
|
homePlayerPosition: PlayerPosition[];
|
|
4
4
|
awayPlayerPosition: PlayerPosition[];
|
|
@@ -40,7 +40,8 @@ export type Match = Omit<DataProps<_Match>, 'sets' | 'homeTeam' | 'awayTeam' | '
|
|
|
40
40
|
export type RallyEvent = DataProps<_RallyEvent> & {
|
|
41
41
|
team?: Team;
|
|
42
42
|
};
|
|
43
|
-
export type Player = DataProps<_Player> & {
|
|
43
|
+
export type Player = Omit<DataProps<_Player>, 'stats'> & {
|
|
44
|
+
stats?: PerformanceStats;
|
|
44
45
|
teamId: string;
|
|
45
46
|
jerseyNumber: number;
|
|
46
47
|
locked: boolean;
|
|
@@ -23,6 +23,10 @@ var CourtPosition;
|
|
|
23
23
|
CourtPosition[CourtPosition["LEFT_BACK"] = 5] = "LEFT_BACK";
|
|
24
24
|
CourtPosition[CourtPosition["MIDDLE_BACK"] = 6] = "MIDDLE_BACK";
|
|
25
25
|
CourtPosition[CourtPosition["RIGHT_BACK"] = 1] = "RIGHT_BACK";
|
|
26
|
+
// The off-court member of the libero pair: the second libero held in reserve, or the starting libero
|
|
27
|
+
// once the second libero is swapped in for a set. Distinct from NOT_IN_COURT so it is never counted as
|
|
28
|
+
// one of the (max 6) bench subs.
|
|
29
|
+
CourtPosition[CourtPosition["RESERVE_LIBERO"] = 8] = "RESERVE_LIBERO";
|
|
26
30
|
})(CourtPosition || (exports.CourtPosition = CourtPosition = {}));
|
|
27
31
|
var CourtTarget;
|
|
28
32
|
(function (CourtTarget) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoxScore, DataProps, DeclineStatus, Division as _Division, League as _League, Match as _Match, MatchSet as _MatchSet, Player as _Player, PlayerPosition, Qualifier as _Qualifier, QualifierMatch as _QualifierMatch, Rally as _Rally, RallyEvent as _RallyEvent, Season as _Season, Standing as _Standing, Team as _Team, Tournament as _Tournament, TournamentMatch as _TournamentMatch, National as _National, NationalMatch as _NationalMatch, Country as _Country, CourtPosition, ConditionLogic, EnergyBand, LiberoSubMode, PinchCondition, RotationSystemEnum, SubBand, SubMode } from '../service';
|
|
1
|
+
import { BoxScore, DataProps, DeclineStatus, Division as _Division, League as _League, Match as _Match, MatchSet as _MatchSet, Player as _Player, PlayerPosition, Qualifier as _Qualifier, QualifierMatch as _QualifierMatch, Rally as _Rally, RallyEvent as _RallyEvent, Season as _Season, Standing as _Standing, Team as _Team, Tournament as _Tournament, TournamentMatch as _TournamentMatch, National as _National, NationalMatch as _NationalMatch, Country as _Country, CourtPosition, ConditionLogic, EnergyBand, LiberoSubMode, PerformanceStats, PinchCondition, RotationSystemEnum, SubBand, SubMode } from '../service';
|
|
2
2
|
export type Rally = DataProps<_Rally> & {
|
|
3
3
|
homePlayerPosition: PlayerPosition[];
|
|
4
4
|
awayPlayerPosition: PlayerPosition[];
|
|
@@ -40,7 +40,8 @@ export type Match = Omit<DataProps<_Match>, 'sets' | 'homeTeam' | 'awayTeam' | '
|
|
|
40
40
|
export type RallyEvent = DataProps<_RallyEvent> & {
|
|
41
41
|
team?: Team;
|
|
42
42
|
};
|
|
43
|
-
export type Player = DataProps<_Player> & {
|
|
43
|
+
export type Player = Omit<DataProps<_Player>, 'stats'> & {
|
|
44
|
+
stats?: PerformanceStats;
|
|
44
45
|
teamId: string;
|
|
45
46
|
jerseyNumber: number;
|
|
46
47
|
locked: boolean;
|
|
@@ -14,6 +14,10 @@ export var CourtPosition;
|
|
|
14
14
|
CourtPosition[CourtPosition["LEFT_BACK"] = 5] = "LEFT_BACK";
|
|
15
15
|
CourtPosition[CourtPosition["MIDDLE_BACK"] = 6] = "MIDDLE_BACK";
|
|
16
16
|
CourtPosition[CourtPosition["RIGHT_BACK"] = 1] = "RIGHT_BACK";
|
|
17
|
+
// The off-court member of the libero pair: the second libero held in reserve, or the starting libero
|
|
18
|
+
// once the second libero is swapped in for a set. Distinct from NOT_IN_COURT so it is never counted as
|
|
19
|
+
// one of the (max 6) bench subs.
|
|
20
|
+
CourtPosition[CourtPosition["RESERVE_LIBERO"] = 8] = "RESERVE_LIBERO";
|
|
17
21
|
})(CourtPosition || (CourtPosition = {}));
|
|
18
22
|
export var CourtTarget;
|
|
19
23
|
(function (CourtTarget) {
|