volleyballsimtypes 0.0.512 → 0.0.513
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/service/event/schemas/set.z.js +1 -1
- package/dist/cjs/src/service/event/set.d.ts +3 -2
- package/dist/cjs/src/service/event/set.js +4 -0
- package/dist/esm/src/service/event/schemas/set.z.js +1 -1
- package/dist/esm/src/service/event/set.d.ts +3 -2
- package/dist/esm/src/service/event/set.js +4 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const player_1 = require("../../player");
|
|
6
6
|
const incident_z_1 = require("./incident.z");
|
|
7
7
|
const positional_z_1 = require("./positional.z");
|
|
8
|
-
const setTypeValues = [0, 1];
|
|
8
|
+
const setTypeValues = [0, 1, 2]; // OVERHAND, DUMP, BUMP
|
|
9
9
|
const setFailureValues = [0, 1, 2, 3, 4];
|
|
10
10
|
const setTempoValues = [0, 1, 2];
|
|
11
11
|
const courtTargetValues = Array.from({ length: 13 }, (_, i) => i);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { InPlayEvent } from './in-play-event';
|
|
2
2
|
export declare enum SetTypeEnum {
|
|
3
3
|
OVERHAND = 0,
|
|
4
|
-
DUMP = 1
|
|
4
|
+
DUMP = 1,
|
|
5
|
+
BUMP = 2
|
|
5
6
|
}
|
|
6
|
-
export type SetType = SetTypeEnum.OVERHAND | SetTypeEnum.DUMP;
|
|
7
|
+
export type SetType = SetTypeEnum.OVERHAND | SetTypeEnum.BUMP | SetTypeEnum.DUMP;
|
|
7
8
|
export declare enum SetTempoEnum {
|
|
8
9
|
FIRST = 0,
|
|
9
10
|
SECOND = 1,
|
|
@@ -8,6 +8,10 @@ var SetTypeEnum;
|
|
|
8
8
|
(function (SetTypeEnum) {
|
|
9
9
|
SetTypeEnum[SetTypeEnum["OVERHAND"] = 0] = "OVERHAND";
|
|
10
10
|
SetTypeEnum[SetTypeEnum["DUMP"] = 1] = "DUMP";
|
|
11
|
+
// A forearm (bump) set, used when the pass is off the net (owner 2026-08-11). OVERHAND and BUMP are both normal
|
|
12
|
+
// sets and behave identically for metrics (assist, first-attack); they differ only by technique (which stat graded
|
|
13
|
+
// the set) and their play-by-play label. DUMP remains the setter's own second-ball attack.
|
|
14
|
+
SetTypeEnum[SetTypeEnum["BUMP"] = 2] = "BUMP";
|
|
11
15
|
})(SetTypeEnum || (exports.SetTypeEnum = SetTypeEnum = {}));
|
|
12
16
|
// The tempo of a set (set-tempo rework). Decided by the simulator (pass quality + target lane + setter skill)
|
|
13
17
|
// or forced by a per-player offensive preference. FIRST = quick (swings the `quick` stat, hardest to nail,
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { TraitEnum } from '../../player';
|
|
3
3
|
import { EventIncidentSchema } from './incident.z';
|
|
4
4
|
import { positionalEventFields } from './positional.z';
|
|
5
|
-
const setTypeValues = [0, 1];
|
|
5
|
+
const setTypeValues = [0, 1, 2]; // OVERHAND, DUMP, BUMP
|
|
6
6
|
const setFailureValues = [0, 1, 2, 3, 4];
|
|
7
7
|
const setTempoValues = [0, 1, 2];
|
|
8
8
|
const courtTargetValues = Array.from({ length: 13 }, (_, i) => i);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { InPlayEvent } from './in-play-event';
|
|
2
2
|
export declare enum SetTypeEnum {
|
|
3
3
|
OVERHAND = 0,
|
|
4
|
-
DUMP = 1
|
|
4
|
+
DUMP = 1,
|
|
5
|
+
BUMP = 2
|
|
5
6
|
}
|
|
6
|
-
export type SetType = SetTypeEnum.OVERHAND | SetTypeEnum.DUMP;
|
|
7
|
+
export type SetType = SetTypeEnum.OVERHAND | SetTypeEnum.BUMP | SetTypeEnum.DUMP;
|
|
7
8
|
export declare enum SetTempoEnum {
|
|
8
9
|
FIRST = 0,
|
|
9
10
|
SECOND = 1,
|
|
@@ -5,6 +5,10 @@ export var SetTypeEnum;
|
|
|
5
5
|
(function (SetTypeEnum) {
|
|
6
6
|
SetTypeEnum[SetTypeEnum["OVERHAND"] = 0] = "OVERHAND";
|
|
7
7
|
SetTypeEnum[SetTypeEnum["DUMP"] = 1] = "DUMP";
|
|
8
|
+
// A forearm (bump) set, used when the pass is off the net (owner 2026-08-11). OVERHAND and BUMP are both normal
|
|
9
|
+
// sets and behave identically for metrics (assist, first-attack); they differ only by technique (which stat graded
|
|
10
|
+
// the set) and their play-by-play label. DUMP remains the setter's own second-ball attack.
|
|
11
|
+
SetTypeEnum[SetTypeEnum["BUMP"] = 2] = "BUMP";
|
|
8
12
|
})(SetTypeEnum || (SetTypeEnum = {}));
|
|
9
13
|
// The tempo of a set (set-tempo rework). Decided by the simulator (pass quality + target lane + setter skill)
|
|
10
14
|
// or forced by a per-player offensive preference. FIRST = quick (swings the `quick` stat, hardest to nail,
|