volleyballsimtypes 0.0.175 → 0.0.176
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/data/transformers/events.d.ts +8 -0
- package/dist/cjs/src/data/transformers/events.js +75 -0
- package/dist/cjs/src/data/transformers/rally.js +31 -1
- package/dist/cjs/src/service/event/block.d.ts +36 -0
- package/dist/cjs/src/service/event/block.js +37 -0
- package/dist/cjs/src/service/event/in-play-event.d.ts +17 -0
- package/dist/cjs/src/service/event/in-play-event.js +21 -0
- package/dist/cjs/src/service/event/index.d.ts +8 -1
- package/dist/cjs/src/service/event/index.js +8 -1
- package/dist/cjs/src/service/event/libero-replacement.d.ts +18 -0
- package/dist/cjs/src/service/event/libero-replacement.js +25 -0
- package/dist/cjs/src/service/event/rally-event.d.ts +13 -4
- package/dist/cjs/src/service/event/rally-event.js +13 -3
- package/dist/cjs/src/service/event/reception.d.ts +33 -0
- package/dist/cjs/src/service/event/reception.js +34 -0
- package/dist/cjs/src/service/event/serve.d.ts +33 -0
- package/dist/cjs/src/service/event/serve.js +34 -0
- package/dist/cjs/src/service/event/set.d.ts +31 -0
- package/dist/cjs/src/service/event/set.js +32 -0
- package/dist/cjs/src/service/event/spike.d.ts +35 -0
- package/dist/cjs/src/service/event/spike.js +36 -0
- package/dist/cjs/src/service/event/substitution.d.ts +11 -0
- package/dist/cjs/src/service/event/substitution.js +18 -0
- package/dist/esm/src/data/transformers/events.d.ts +8 -0
- package/dist/esm/src/data/transformers/events.js +65 -0
- package/dist/esm/src/data/transformers/rally.js +31 -1
- package/dist/esm/src/service/event/block.d.ts +36 -0
- package/dist/esm/src/service/event/block.js +33 -0
- package/dist/esm/src/service/event/in-play-event.d.ts +17 -0
- package/dist/esm/src/service/event/in-play-event.js +17 -0
- package/dist/esm/src/service/event/index.d.ts +8 -1
- package/dist/esm/src/service/event/index.js +8 -1
- package/dist/esm/src/service/event/libero-replacement.d.ts +18 -0
- package/dist/esm/src/service/event/libero-replacement.js +21 -0
- package/dist/esm/src/service/event/rally-event.d.ts +13 -4
- package/dist/esm/src/service/event/rally-event.js +12 -2
- package/dist/esm/src/service/event/reception.d.ts +33 -0
- package/dist/esm/src/service/event/reception.js +30 -0
- package/dist/esm/src/service/event/serve.d.ts +33 -0
- package/dist/esm/src/service/event/serve.js +30 -0
- package/dist/esm/src/service/event/set.d.ts +31 -0
- package/dist/esm/src/service/event/set.js +28 -0
- package/dist/esm/src/service/event/spike.d.ts +35 -0
- package/dist/esm/src/service/event/spike.js +32 -0
- package/dist/esm/src/service/event/substitution.d.ts +11 -0
- package/dist/esm/src/service/event/substitution.js +14 -0
- package/package.json +1 -1
- package/dist/cjs/src/service/event/events.d.ts +0 -93
- package/dist/cjs/src/service/event/events.js +0 -94
- package/dist/esm/src/service/event/events.d.ts +0 -93
- package/dist/esm/src/service/event/events.js +0 -91
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export declare enum EventTypeEnum {
|
|
2
|
-
LIBERO_REPLACEMENT = 0,
|
|
3
|
-
SUBSTITUTION = 1,
|
|
4
|
-
SERVE = 2,
|
|
5
|
-
RECEPTION = 3,
|
|
6
|
-
SET = 4,
|
|
7
|
-
SPIKE = 5,
|
|
8
|
-
BLOCK = 6
|
|
9
|
-
}
|
|
10
|
-
export type EventType = EventTypeEnum.LIBERO_REPLACEMENT | EventTypeEnum.SUBSTITUTION | EventTypeEnum.SERVE | EventTypeEnum.RECEPTION | EventTypeEnum.SET | EventTypeEnum.SPIKE | EventTypeEnum.BLOCK;
|
|
11
|
-
export declare enum BlockFailureEnum {
|
|
12
|
-
NO_FAILURE = 0,
|
|
13
|
-
MISS = 1,
|
|
14
|
-
FAULT = 2,
|
|
15
|
-
OUT_OF_BOUNDS = 3,
|
|
16
|
-
WIPE = 4,
|
|
17
|
-
TOOL = 5
|
|
18
|
-
}
|
|
19
|
-
export type BlockFailure = BlockFailureEnum.NO_FAILURE | BlockFailureEnum.MISS | BlockFailureEnum.FAULT | BlockFailureEnum.OUT_OF_BOUNDS | BlockFailureEnum.WIPE | BlockFailureEnum.TOOL;
|
|
20
|
-
export declare enum BlockTypeEnum {
|
|
21
|
-
NO_BLOCKER = 0,
|
|
22
|
-
SINGLE = 1,
|
|
23
|
-
DOUBLE = 2,
|
|
24
|
-
TRIPLE = 3
|
|
25
|
-
}
|
|
26
|
-
export type BlockType = BlockTypeEnum.NO_BLOCKER | BlockTypeEnum.SINGLE | BlockTypeEnum.DOUBLE | BlockTypeEnum.TRIPLE;
|
|
27
|
-
export declare enum LiberoReplacementTypeEnum {
|
|
28
|
-
LIBERO_IN = 0,
|
|
29
|
-
LIBERO_OUT = 1
|
|
30
|
-
}
|
|
31
|
-
export type LiberoReplacementType = LiberoReplacementTypeEnum.LIBERO_IN | LiberoReplacementTypeEnum.LIBERO_OUT;
|
|
32
|
-
export declare enum ReceptionTypeEnum {
|
|
33
|
-
DIG = 0,
|
|
34
|
-
OVERHAND = 1,
|
|
35
|
-
ONE_HAND = 2,
|
|
36
|
-
OTHER_BODY_PART = 3
|
|
37
|
-
}
|
|
38
|
-
export type ReceptionType = ReceptionTypeEnum.DIG | ReceptionTypeEnum.OVERHAND | ReceptionTypeEnum.ONE_HAND | ReceptionTypeEnum.OTHER_BODY_PART;
|
|
39
|
-
export declare enum ReceptionFailureEnum {
|
|
40
|
-
NO_FAILURE = 0,
|
|
41
|
-
FAULT = 1,
|
|
42
|
-
MISS = 2,
|
|
43
|
-
OUT_OF_BOUNDS = 3,
|
|
44
|
-
BAD_PASS = 4
|
|
45
|
-
}
|
|
46
|
-
export type ReceptionFailure = ReceptionFailureEnum.NO_FAILURE | ReceptionFailureEnum.FAULT | ReceptionFailureEnum.MISS | ReceptionFailureEnum.OUT_OF_BOUNDS | ReceptionFailureEnum.BAD_PASS;
|
|
47
|
-
export declare enum ServeTypeEnum {
|
|
48
|
-
OVERHAND_TOPSPIN = 0,
|
|
49
|
-
OVERHAND_FLOAT = 1,
|
|
50
|
-
JUMP_TOPSPIN = 2,
|
|
51
|
-
JUMP_FLOAT = 3
|
|
52
|
-
}
|
|
53
|
-
export type ServeType = ServeTypeEnum.OVERHAND_TOPSPIN | ServeTypeEnum.OVERHAND_FLOAT | ServeTypeEnum.JUMP_TOPSPIN | ServeTypeEnum.JUMP_FLOAT;
|
|
54
|
-
export declare enum ServeFailureEnum {
|
|
55
|
-
NO_FAILURE = 0,
|
|
56
|
-
FAULT = 1,
|
|
57
|
-
MISS = 2,
|
|
58
|
-
NET = 3,
|
|
59
|
-
OUT_OF_BOUNDS = 4
|
|
60
|
-
}
|
|
61
|
-
export type ServeFailure = ServeFailureEnum.NO_FAILURE | ServeFailureEnum.FAULT | ServeFailureEnum.MISS | ServeFailureEnum.NET | ServeFailureEnum.OUT_OF_BOUNDS;
|
|
62
|
-
export declare enum SetTypeEnum {
|
|
63
|
-
OVERHAND = 0,
|
|
64
|
-
DUMP = 1
|
|
65
|
-
}
|
|
66
|
-
export type SetType = SetTypeEnum.OVERHAND | SetTypeEnum.DUMP;
|
|
67
|
-
export declare enum SetFailureEnum {
|
|
68
|
-
NO_FAILURE = 0,
|
|
69
|
-
FAULT = 1,
|
|
70
|
-
MISS = 2,
|
|
71
|
-
BAD_PASS = 3,
|
|
72
|
-
OUT_OF_BOUNDS = 4
|
|
73
|
-
}
|
|
74
|
-
export type SetFailure = SetFailureEnum.NO_FAILURE | SetFailureEnum.FAULT | SetFailureEnum.MISS | SetFailureEnum.BAD_PASS | SetFailureEnum.OUT_OF_BOUNDS;
|
|
75
|
-
export declare enum SpikeTypeEnum {
|
|
76
|
-
CROSS_SHOT = 0,
|
|
77
|
-
LINE_SHOT = 1,
|
|
78
|
-
REVERSE_CROSS = 2,
|
|
79
|
-
TIP = 3,
|
|
80
|
-
DOWN_BALL = 4,
|
|
81
|
-
OVERHAND = 5
|
|
82
|
-
}
|
|
83
|
-
export type SpikeType = SpikeTypeEnum.CROSS_SHOT | SpikeTypeEnum.LINE_SHOT | SpikeTypeEnum.REVERSE_CROSS | SpikeTypeEnum.TIP | SpikeTypeEnum.DOWN_BALL | SpikeTypeEnum.OVERHAND;
|
|
84
|
-
export declare enum SpikeFailureEnum {
|
|
85
|
-
NO_FAILURE = 0,
|
|
86
|
-
FAULT = 1,
|
|
87
|
-
MISS = 2,
|
|
88
|
-
OUT_OF_BOUNDS = 3,
|
|
89
|
-
NET = 4
|
|
90
|
-
}
|
|
91
|
-
export type SpikeFailure = SpikeFailureEnum.NO_FAILURE | SpikeFailureEnum.FAULT | SpikeFailureEnum.MISS | SpikeFailureEnum.OUT_OF_BOUNDS | SpikeFailureEnum.NET;
|
|
92
|
-
export type EventSubType = BlockType | ReceptionType | ServeType | SetType | SpikeType;
|
|
93
|
-
export type EventFailureType = BlockFailure | ReceptionFailure | ServeFailure | SetFailure | SpikeFailure;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SpikeFailureEnum = exports.SpikeTypeEnum = exports.SetFailureEnum = exports.SetTypeEnum = exports.ServeFailureEnum = exports.ServeTypeEnum = exports.ReceptionFailureEnum = exports.ReceptionTypeEnum = exports.LiberoReplacementTypeEnum = exports.BlockTypeEnum = exports.BlockFailureEnum = exports.EventTypeEnum = void 0;
|
|
4
|
-
var EventTypeEnum;
|
|
5
|
-
(function (EventTypeEnum) {
|
|
6
|
-
EventTypeEnum[EventTypeEnum["LIBERO_REPLACEMENT"] = 0] = "LIBERO_REPLACEMENT";
|
|
7
|
-
EventTypeEnum[EventTypeEnum["SUBSTITUTION"] = 1] = "SUBSTITUTION";
|
|
8
|
-
EventTypeEnum[EventTypeEnum["SERVE"] = 2] = "SERVE";
|
|
9
|
-
EventTypeEnum[EventTypeEnum["RECEPTION"] = 3] = "RECEPTION";
|
|
10
|
-
EventTypeEnum[EventTypeEnum["SET"] = 4] = "SET";
|
|
11
|
-
EventTypeEnum[EventTypeEnum["SPIKE"] = 5] = "SPIKE";
|
|
12
|
-
EventTypeEnum[EventTypeEnum["BLOCK"] = 6] = "BLOCK";
|
|
13
|
-
})(EventTypeEnum = exports.EventTypeEnum || (exports.EventTypeEnum = {}));
|
|
14
|
-
var BlockFailureEnum;
|
|
15
|
-
(function (BlockFailureEnum) {
|
|
16
|
-
BlockFailureEnum[BlockFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
17
|
-
BlockFailureEnum[BlockFailureEnum["MISS"] = 1] = "MISS";
|
|
18
|
-
BlockFailureEnum[BlockFailureEnum["FAULT"] = 2] = "FAULT";
|
|
19
|
-
BlockFailureEnum[BlockFailureEnum["OUT_OF_BOUNDS"] = 3] = "OUT_OF_BOUNDS";
|
|
20
|
-
BlockFailureEnum[BlockFailureEnum["WIPE"] = 4] = "WIPE";
|
|
21
|
-
BlockFailureEnum[BlockFailureEnum["TOOL"] = 5] = "TOOL";
|
|
22
|
-
})(BlockFailureEnum = exports.BlockFailureEnum || (exports.BlockFailureEnum = {}));
|
|
23
|
-
var BlockTypeEnum;
|
|
24
|
-
(function (BlockTypeEnum) {
|
|
25
|
-
BlockTypeEnum[BlockTypeEnum["NO_BLOCKER"] = 0] = "NO_BLOCKER";
|
|
26
|
-
BlockTypeEnum[BlockTypeEnum["SINGLE"] = 1] = "SINGLE";
|
|
27
|
-
BlockTypeEnum[BlockTypeEnum["DOUBLE"] = 2] = "DOUBLE";
|
|
28
|
-
BlockTypeEnum[BlockTypeEnum["TRIPLE"] = 3] = "TRIPLE";
|
|
29
|
-
})(BlockTypeEnum = exports.BlockTypeEnum || (exports.BlockTypeEnum = {}));
|
|
30
|
-
var LiberoReplacementTypeEnum;
|
|
31
|
-
(function (LiberoReplacementTypeEnum) {
|
|
32
|
-
LiberoReplacementTypeEnum[LiberoReplacementTypeEnum["LIBERO_IN"] = 0] = "LIBERO_IN";
|
|
33
|
-
LiberoReplacementTypeEnum[LiberoReplacementTypeEnum["LIBERO_OUT"] = 1] = "LIBERO_OUT";
|
|
34
|
-
})(LiberoReplacementTypeEnum = exports.LiberoReplacementTypeEnum || (exports.LiberoReplacementTypeEnum = {}));
|
|
35
|
-
var ReceptionTypeEnum;
|
|
36
|
-
(function (ReceptionTypeEnum) {
|
|
37
|
-
ReceptionTypeEnum[ReceptionTypeEnum["DIG"] = 0] = "DIG";
|
|
38
|
-
ReceptionTypeEnum[ReceptionTypeEnum["OVERHAND"] = 1] = "OVERHAND";
|
|
39
|
-
ReceptionTypeEnum[ReceptionTypeEnum["ONE_HAND"] = 2] = "ONE_HAND";
|
|
40
|
-
ReceptionTypeEnum[ReceptionTypeEnum["OTHER_BODY_PART"] = 3] = "OTHER_BODY_PART";
|
|
41
|
-
})(ReceptionTypeEnum = exports.ReceptionTypeEnum || (exports.ReceptionTypeEnum = {}));
|
|
42
|
-
var ReceptionFailureEnum;
|
|
43
|
-
(function (ReceptionFailureEnum) {
|
|
44
|
-
ReceptionFailureEnum[ReceptionFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
45
|
-
ReceptionFailureEnum[ReceptionFailureEnum["FAULT"] = 1] = "FAULT";
|
|
46
|
-
ReceptionFailureEnum[ReceptionFailureEnum["MISS"] = 2] = "MISS";
|
|
47
|
-
ReceptionFailureEnum[ReceptionFailureEnum["OUT_OF_BOUNDS"] = 3] = "OUT_OF_BOUNDS";
|
|
48
|
-
ReceptionFailureEnum[ReceptionFailureEnum["BAD_PASS"] = 4] = "BAD_PASS";
|
|
49
|
-
})(ReceptionFailureEnum = exports.ReceptionFailureEnum || (exports.ReceptionFailureEnum = {}));
|
|
50
|
-
var ServeTypeEnum;
|
|
51
|
-
(function (ServeTypeEnum) {
|
|
52
|
-
ServeTypeEnum[ServeTypeEnum["OVERHAND_TOPSPIN"] = 0] = "OVERHAND_TOPSPIN";
|
|
53
|
-
ServeTypeEnum[ServeTypeEnum["OVERHAND_FLOAT"] = 1] = "OVERHAND_FLOAT";
|
|
54
|
-
ServeTypeEnum[ServeTypeEnum["JUMP_TOPSPIN"] = 2] = "JUMP_TOPSPIN";
|
|
55
|
-
ServeTypeEnum[ServeTypeEnum["JUMP_FLOAT"] = 3] = "JUMP_FLOAT";
|
|
56
|
-
})(ServeTypeEnum = exports.ServeTypeEnum || (exports.ServeTypeEnum = {}));
|
|
57
|
-
var ServeFailureEnum;
|
|
58
|
-
(function (ServeFailureEnum) {
|
|
59
|
-
ServeFailureEnum[ServeFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
60
|
-
ServeFailureEnum[ServeFailureEnum["FAULT"] = 1] = "FAULT";
|
|
61
|
-
ServeFailureEnum[ServeFailureEnum["MISS"] = 2] = "MISS";
|
|
62
|
-
ServeFailureEnum[ServeFailureEnum["NET"] = 3] = "NET";
|
|
63
|
-
ServeFailureEnum[ServeFailureEnum["OUT_OF_BOUNDS"] = 4] = "OUT_OF_BOUNDS";
|
|
64
|
-
})(ServeFailureEnum = exports.ServeFailureEnum || (exports.ServeFailureEnum = {}));
|
|
65
|
-
var SetTypeEnum;
|
|
66
|
-
(function (SetTypeEnum) {
|
|
67
|
-
SetTypeEnum[SetTypeEnum["OVERHAND"] = 0] = "OVERHAND";
|
|
68
|
-
SetTypeEnum[SetTypeEnum["DUMP"] = 1] = "DUMP";
|
|
69
|
-
})(SetTypeEnum = exports.SetTypeEnum || (exports.SetTypeEnum = {}));
|
|
70
|
-
var SetFailureEnum;
|
|
71
|
-
(function (SetFailureEnum) {
|
|
72
|
-
SetFailureEnum[SetFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
73
|
-
SetFailureEnum[SetFailureEnum["FAULT"] = 1] = "FAULT";
|
|
74
|
-
SetFailureEnum[SetFailureEnum["MISS"] = 2] = "MISS";
|
|
75
|
-
SetFailureEnum[SetFailureEnum["BAD_PASS"] = 3] = "BAD_PASS";
|
|
76
|
-
SetFailureEnum[SetFailureEnum["OUT_OF_BOUNDS"] = 4] = "OUT_OF_BOUNDS";
|
|
77
|
-
})(SetFailureEnum = exports.SetFailureEnum || (exports.SetFailureEnum = {}));
|
|
78
|
-
var SpikeTypeEnum;
|
|
79
|
-
(function (SpikeTypeEnum) {
|
|
80
|
-
SpikeTypeEnum[SpikeTypeEnum["CROSS_SHOT"] = 0] = "CROSS_SHOT";
|
|
81
|
-
SpikeTypeEnum[SpikeTypeEnum["LINE_SHOT"] = 1] = "LINE_SHOT";
|
|
82
|
-
SpikeTypeEnum[SpikeTypeEnum["REVERSE_CROSS"] = 2] = "REVERSE_CROSS";
|
|
83
|
-
SpikeTypeEnum[SpikeTypeEnum["TIP"] = 3] = "TIP";
|
|
84
|
-
SpikeTypeEnum[SpikeTypeEnum["DOWN_BALL"] = 4] = "DOWN_BALL";
|
|
85
|
-
SpikeTypeEnum[SpikeTypeEnum["OVERHAND"] = 5] = "OVERHAND";
|
|
86
|
-
})(SpikeTypeEnum = exports.SpikeTypeEnum || (exports.SpikeTypeEnum = {}));
|
|
87
|
-
var SpikeFailureEnum;
|
|
88
|
-
(function (SpikeFailureEnum) {
|
|
89
|
-
SpikeFailureEnum[SpikeFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
90
|
-
SpikeFailureEnum[SpikeFailureEnum["FAULT"] = 1] = "FAULT";
|
|
91
|
-
SpikeFailureEnum[SpikeFailureEnum["MISS"] = 2] = "MISS";
|
|
92
|
-
SpikeFailureEnum[SpikeFailureEnum["OUT_OF_BOUNDS"] = 3] = "OUT_OF_BOUNDS";
|
|
93
|
-
SpikeFailureEnum[SpikeFailureEnum["NET"] = 4] = "NET";
|
|
94
|
-
})(SpikeFailureEnum = exports.SpikeFailureEnum || (exports.SpikeFailureEnum = {}));
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export declare enum EventTypeEnum {
|
|
2
|
-
LIBERO_REPLACEMENT = 0,
|
|
3
|
-
SUBSTITUTION = 1,
|
|
4
|
-
SERVE = 2,
|
|
5
|
-
RECEPTION = 3,
|
|
6
|
-
SET = 4,
|
|
7
|
-
SPIKE = 5,
|
|
8
|
-
BLOCK = 6
|
|
9
|
-
}
|
|
10
|
-
export type EventType = EventTypeEnum.LIBERO_REPLACEMENT | EventTypeEnum.SUBSTITUTION | EventTypeEnum.SERVE | EventTypeEnum.RECEPTION | EventTypeEnum.SET | EventTypeEnum.SPIKE | EventTypeEnum.BLOCK;
|
|
11
|
-
export declare enum BlockFailureEnum {
|
|
12
|
-
NO_FAILURE = 0,
|
|
13
|
-
MISS = 1,
|
|
14
|
-
FAULT = 2,
|
|
15
|
-
OUT_OF_BOUNDS = 3,
|
|
16
|
-
WIPE = 4,
|
|
17
|
-
TOOL = 5
|
|
18
|
-
}
|
|
19
|
-
export type BlockFailure = BlockFailureEnum.NO_FAILURE | BlockFailureEnum.MISS | BlockFailureEnum.FAULT | BlockFailureEnum.OUT_OF_BOUNDS | BlockFailureEnum.WIPE | BlockFailureEnum.TOOL;
|
|
20
|
-
export declare enum BlockTypeEnum {
|
|
21
|
-
NO_BLOCKER = 0,
|
|
22
|
-
SINGLE = 1,
|
|
23
|
-
DOUBLE = 2,
|
|
24
|
-
TRIPLE = 3
|
|
25
|
-
}
|
|
26
|
-
export type BlockType = BlockTypeEnum.NO_BLOCKER | BlockTypeEnum.SINGLE | BlockTypeEnum.DOUBLE | BlockTypeEnum.TRIPLE;
|
|
27
|
-
export declare enum LiberoReplacementTypeEnum {
|
|
28
|
-
LIBERO_IN = 0,
|
|
29
|
-
LIBERO_OUT = 1
|
|
30
|
-
}
|
|
31
|
-
export type LiberoReplacementType = LiberoReplacementTypeEnum.LIBERO_IN | LiberoReplacementTypeEnum.LIBERO_OUT;
|
|
32
|
-
export declare enum ReceptionTypeEnum {
|
|
33
|
-
DIG = 0,
|
|
34
|
-
OVERHAND = 1,
|
|
35
|
-
ONE_HAND = 2,
|
|
36
|
-
OTHER_BODY_PART = 3
|
|
37
|
-
}
|
|
38
|
-
export type ReceptionType = ReceptionTypeEnum.DIG | ReceptionTypeEnum.OVERHAND | ReceptionTypeEnum.ONE_HAND | ReceptionTypeEnum.OTHER_BODY_PART;
|
|
39
|
-
export declare enum ReceptionFailureEnum {
|
|
40
|
-
NO_FAILURE = 0,
|
|
41
|
-
FAULT = 1,
|
|
42
|
-
MISS = 2,
|
|
43
|
-
OUT_OF_BOUNDS = 3,
|
|
44
|
-
BAD_PASS = 4
|
|
45
|
-
}
|
|
46
|
-
export type ReceptionFailure = ReceptionFailureEnum.NO_FAILURE | ReceptionFailureEnum.FAULT | ReceptionFailureEnum.MISS | ReceptionFailureEnum.OUT_OF_BOUNDS | ReceptionFailureEnum.BAD_PASS;
|
|
47
|
-
export declare enum ServeTypeEnum {
|
|
48
|
-
OVERHAND_TOPSPIN = 0,
|
|
49
|
-
OVERHAND_FLOAT = 1,
|
|
50
|
-
JUMP_TOPSPIN = 2,
|
|
51
|
-
JUMP_FLOAT = 3
|
|
52
|
-
}
|
|
53
|
-
export type ServeType = ServeTypeEnum.OVERHAND_TOPSPIN | ServeTypeEnum.OVERHAND_FLOAT | ServeTypeEnum.JUMP_TOPSPIN | ServeTypeEnum.JUMP_FLOAT;
|
|
54
|
-
export declare enum ServeFailureEnum {
|
|
55
|
-
NO_FAILURE = 0,
|
|
56
|
-
FAULT = 1,
|
|
57
|
-
MISS = 2,
|
|
58
|
-
NET = 3,
|
|
59
|
-
OUT_OF_BOUNDS = 4
|
|
60
|
-
}
|
|
61
|
-
export type ServeFailure = ServeFailureEnum.NO_FAILURE | ServeFailureEnum.FAULT | ServeFailureEnum.MISS | ServeFailureEnum.NET | ServeFailureEnum.OUT_OF_BOUNDS;
|
|
62
|
-
export declare enum SetTypeEnum {
|
|
63
|
-
OVERHAND = 0,
|
|
64
|
-
DUMP = 1
|
|
65
|
-
}
|
|
66
|
-
export type SetType = SetTypeEnum.OVERHAND | SetTypeEnum.DUMP;
|
|
67
|
-
export declare enum SetFailureEnum {
|
|
68
|
-
NO_FAILURE = 0,
|
|
69
|
-
FAULT = 1,
|
|
70
|
-
MISS = 2,
|
|
71
|
-
BAD_PASS = 3,
|
|
72
|
-
OUT_OF_BOUNDS = 4
|
|
73
|
-
}
|
|
74
|
-
export type SetFailure = SetFailureEnum.NO_FAILURE | SetFailureEnum.FAULT | SetFailureEnum.MISS | SetFailureEnum.BAD_PASS | SetFailureEnum.OUT_OF_BOUNDS;
|
|
75
|
-
export declare enum SpikeTypeEnum {
|
|
76
|
-
CROSS_SHOT = 0,
|
|
77
|
-
LINE_SHOT = 1,
|
|
78
|
-
REVERSE_CROSS = 2,
|
|
79
|
-
TIP = 3,
|
|
80
|
-
DOWN_BALL = 4,
|
|
81
|
-
OVERHAND = 5
|
|
82
|
-
}
|
|
83
|
-
export type SpikeType = SpikeTypeEnum.CROSS_SHOT | SpikeTypeEnum.LINE_SHOT | SpikeTypeEnum.REVERSE_CROSS | SpikeTypeEnum.TIP | SpikeTypeEnum.DOWN_BALL | SpikeTypeEnum.OVERHAND;
|
|
84
|
-
export declare enum SpikeFailureEnum {
|
|
85
|
-
NO_FAILURE = 0,
|
|
86
|
-
FAULT = 1,
|
|
87
|
-
MISS = 2,
|
|
88
|
-
OUT_OF_BOUNDS = 3,
|
|
89
|
-
NET = 4
|
|
90
|
-
}
|
|
91
|
-
export type SpikeFailure = SpikeFailureEnum.NO_FAILURE | SpikeFailureEnum.FAULT | SpikeFailureEnum.MISS | SpikeFailureEnum.OUT_OF_BOUNDS | SpikeFailureEnum.NET;
|
|
92
|
-
export type EventSubType = BlockType | ReceptionType | ServeType | SetType | SpikeType;
|
|
93
|
-
export type EventFailureType = BlockFailure | ReceptionFailure | ServeFailure | SetFailure | SpikeFailure;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export var EventTypeEnum;
|
|
2
|
-
(function (EventTypeEnum) {
|
|
3
|
-
EventTypeEnum[EventTypeEnum["LIBERO_REPLACEMENT"] = 0] = "LIBERO_REPLACEMENT";
|
|
4
|
-
EventTypeEnum[EventTypeEnum["SUBSTITUTION"] = 1] = "SUBSTITUTION";
|
|
5
|
-
EventTypeEnum[EventTypeEnum["SERVE"] = 2] = "SERVE";
|
|
6
|
-
EventTypeEnum[EventTypeEnum["RECEPTION"] = 3] = "RECEPTION";
|
|
7
|
-
EventTypeEnum[EventTypeEnum["SET"] = 4] = "SET";
|
|
8
|
-
EventTypeEnum[EventTypeEnum["SPIKE"] = 5] = "SPIKE";
|
|
9
|
-
EventTypeEnum[EventTypeEnum["BLOCK"] = 6] = "BLOCK";
|
|
10
|
-
})(EventTypeEnum || (EventTypeEnum = {}));
|
|
11
|
-
export var BlockFailureEnum;
|
|
12
|
-
(function (BlockFailureEnum) {
|
|
13
|
-
BlockFailureEnum[BlockFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
14
|
-
BlockFailureEnum[BlockFailureEnum["MISS"] = 1] = "MISS";
|
|
15
|
-
BlockFailureEnum[BlockFailureEnum["FAULT"] = 2] = "FAULT";
|
|
16
|
-
BlockFailureEnum[BlockFailureEnum["OUT_OF_BOUNDS"] = 3] = "OUT_OF_BOUNDS";
|
|
17
|
-
BlockFailureEnum[BlockFailureEnum["WIPE"] = 4] = "WIPE";
|
|
18
|
-
BlockFailureEnum[BlockFailureEnum["TOOL"] = 5] = "TOOL";
|
|
19
|
-
})(BlockFailureEnum || (BlockFailureEnum = {}));
|
|
20
|
-
export var BlockTypeEnum;
|
|
21
|
-
(function (BlockTypeEnum) {
|
|
22
|
-
BlockTypeEnum[BlockTypeEnum["NO_BLOCKER"] = 0] = "NO_BLOCKER";
|
|
23
|
-
BlockTypeEnum[BlockTypeEnum["SINGLE"] = 1] = "SINGLE";
|
|
24
|
-
BlockTypeEnum[BlockTypeEnum["DOUBLE"] = 2] = "DOUBLE";
|
|
25
|
-
BlockTypeEnum[BlockTypeEnum["TRIPLE"] = 3] = "TRIPLE";
|
|
26
|
-
})(BlockTypeEnum || (BlockTypeEnum = {}));
|
|
27
|
-
export var LiberoReplacementTypeEnum;
|
|
28
|
-
(function (LiberoReplacementTypeEnum) {
|
|
29
|
-
LiberoReplacementTypeEnum[LiberoReplacementTypeEnum["LIBERO_IN"] = 0] = "LIBERO_IN";
|
|
30
|
-
LiberoReplacementTypeEnum[LiberoReplacementTypeEnum["LIBERO_OUT"] = 1] = "LIBERO_OUT";
|
|
31
|
-
})(LiberoReplacementTypeEnum || (LiberoReplacementTypeEnum = {}));
|
|
32
|
-
export var ReceptionTypeEnum;
|
|
33
|
-
(function (ReceptionTypeEnum) {
|
|
34
|
-
ReceptionTypeEnum[ReceptionTypeEnum["DIG"] = 0] = "DIG";
|
|
35
|
-
ReceptionTypeEnum[ReceptionTypeEnum["OVERHAND"] = 1] = "OVERHAND";
|
|
36
|
-
ReceptionTypeEnum[ReceptionTypeEnum["ONE_HAND"] = 2] = "ONE_HAND";
|
|
37
|
-
ReceptionTypeEnum[ReceptionTypeEnum["OTHER_BODY_PART"] = 3] = "OTHER_BODY_PART";
|
|
38
|
-
})(ReceptionTypeEnum || (ReceptionTypeEnum = {}));
|
|
39
|
-
export var ReceptionFailureEnum;
|
|
40
|
-
(function (ReceptionFailureEnum) {
|
|
41
|
-
ReceptionFailureEnum[ReceptionFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
42
|
-
ReceptionFailureEnum[ReceptionFailureEnum["FAULT"] = 1] = "FAULT";
|
|
43
|
-
ReceptionFailureEnum[ReceptionFailureEnum["MISS"] = 2] = "MISS";
|
|
44
|
-
ReceptionFailureEnum[ReceptionFailureEnum["OUT_OF_BOUNDS"] = 3] = "OUT_OF_BOUNDS";
|
|
45
|
-
ReceptionFailureEnum[ReceptionFailureEnum["BAD_PASS"] = 4] = "BAD_PASS";
|
|
46
|
-
})(ReceptionFailureEnum || (ReceptionFailureEnum = {}));
|
|
47
|
-
export var ServeTypeEnum;
|
|
48
|
-
(function (ServeTypeEnum) {
|
|
49
|
-
ServeTypeEnum[ServeTypeEnum["OVERHAND_TOPSPIN"] = 0] = "OVERHAND_TOPSPIN";
|
|
50
|
-
ServeTypeEnum[ServeTypeEnum["OVERHAND_FLOAT"] = 1] = "OVERHAND_FLOAT";
|
|
51
|
-
ServeTypeEnum[ServeTypeEnum["JUMP_TOPSPIN"] = 2] = "JUMP_TOPSPIN";
|
|
52
|
-
ServeTypeEnum[ServeTypeEnum["JUMP_FLOAT"] = 3] = "JUMP_FLOAT";
|
|
53
|
-
})(ServeTypeEnum || (ServeTypeEnum = {}));
|
|
54
|
-
export var ServeFailureEnum;
|
|
55
|
-
(function (ServeFailureEnum) {
|
|
56
|
-
ServeFailureEnum[ServeFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
57
|
-
ServeFailureEnum[ServeFailureEnum["FAULT"] = 1] = "FAULT";
|
|
58
|
-
ServeFailureEnum[ServeFailureEnum["MISS"] = 2] = "MISS";
|
|
59
|
-
ServeFailureEnum[ServeFailureEnum["NET"] = 3] = "NET";
|
|
60
|
-
ServeFailureEnum[ServeFailureEnum["OUT_OF_BOUNDS"] = 4] = "OUT_OF_BOUNDS";
|
|
61
|
-
})(ServeFailureEnum || (ServeFailureEnum = {}));
|
|
62
|
-
export var SetTypeEnum;
|
|
63
|
-
(function (SetTypeEnum) {
|
|
64
|
-
SetTypeEnum[SetTypeEnum["OVERHAND"] = 0] = "OVERHAND";
|
|
65
|
-
SetTypeEnum[SetTypeEnum["DUMP"] = 1] = "DUMP";
|
|
66
|
-
})(SetTypeEnum || (SetTypeEnum = {}));
|
|
67
|
-
export var SetFailureEnum;
|
|
68
|
-
(function (SetFailureEnum) {
|
|
69
|
-
SetFailureEnum[SetFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
70
|
-
SetFailureEnum[SetFailureEnum["FAULT"] = 1] = "FAULT";
|
|
71
|
-
SetFailureEnum[SetFailureEnum["MISS"] = 2] = "MISS";
|
|
72
|
-
SetFailureEnum[SetFailureEnum["BAD_PASS"] = 3] = "BAD_PASS";
|
|
73
|
-
SetFailureEnum[SetFailureEnum["OUT_OF_BOUNDS"] = 4] = "OUT_OF_BOUNDS";
|
|
74
|
-
})(SetFailureEnum || (SetFailureEnum = {}));
|
|
75
|
-
export var SpikeTypeEnum;
|
|
76
|
-
(function (SpikeTypeEnum) {
|
|
77
|
-
SpikeTypeEnum[SpikeTypeEnum["CROSS_SHOT"] = 0] = "CROSS_SHOT";
|
|
78
|
-
SpikeTypeEnum[SpikeTypeEnum["LINE_SHOT"] = 1] = "LINE_SHOT";
|
|
79
|
-
SpikeTypeEnum[SpikeTypeEnum["REVERSE_CROSS"] = 2] = "REVERSE_CROSS";
|
|
80
|
-
SpikeTypeEnum[SpikeTypeEnum["TIP"] = 3] = "TIP";
|
|
81
|
-
SpikeTypeEnum[SpikeTypeEnum["DOWN_BALL"] = 4] = "DOWN_BALL";
|
|
82
|
-
SpikeTypeEnum[SpikeTypeEnum["OVERHAND"] = 5] = "OVERHAND";
|
|
83
|
-
})(SpikeTypeEnum || (SpikeTypeEnum = {}));
|
|
84
|
-
export var SpikeFailureEnum;
|
|
85
|
-
(function (SpikeFailureEnum) {
|
|
86
|
-
SpikeFailureEnum[SpikeFailureEnum["NO_FAILURE"] = 0] = "NO_FAILURE";
|
|
87
|
-
SpikeFailureEnum[SpikeFailureEnum["FAULT"] = 1] = "FAULT";
|
|
88
|
-
SpikeFailureEnum[SpikeFailureEnum["MISS"] = 2] = "MISS";
|
|
89
|
-
SpikeFailureEnum[SpikeFailureEnum["OUT_OF_BOUNDS"] = 3] = "OUT_OF_BOUNDS";
|
|
90
|
-
SpikeFailureEnum[SpikeFailureEnum["NET"] = 4] = "NET";
|
|
91
|
-
})(SpikeFailureEnum || (SpikeFailureEnum = {}));
|