volleyballsimtypes 0.0.134 → 0.0.135

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
  [
2
2
  {
3
- "role": "Setter",
3
+ "role": "SETTER",
4
4
  "weight": {
5
5
  "serve": 0.2,
6
6
  "setting": 0.2475,
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  {
19
- "role": "Libero",
19
+ "role": "LIBERO",
20
20
  "weight": {
21
21
  "serve": 0.02,
22
22
  "setting": 0.045,
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  {
35
- "role": "Outside Hitter",
35
+ "role": "OUTSIDE_HITTER",
36
36
  "weight": {
37
37
  "serve": 0.2,
38
38
  "setting": 0,
@@ -48,7 +48,7 @@
48
48
  }
49
49
  },
50
50
  {
51
- "role": "Opposite Hitter",
51
+ "role": "OPPOSITE_HITTER",
52
52
  "weight": {
53
53
  "serve": 0.2,
54
54
  "setting": 0,
@@ -64,7 +64,7 @@
64
64
  }
65
65
  },
66
66
  {
67
- "role": "Middle Blocker",
67
+ "role": "MIDDLE_BLOCKER",
68
68
  "weight": {
69
69
  "serve": 0.2,
70
70
  "setting": 0,
@@ -80,7 +80,7 @@
80
80
  }
81
81
  },
82
82
  {
83
- "role": "Defensive Specialist",
83
+ "role": "DEFENSIVE_SPECIALIST",
84
84
  "weight": {
85
85
  "serve": 0.005,
86
86
  "setting": 0.025,
@@ -1,6 +1,6 @@
1
1
  [
2
2
  {
3
- "statName": "Attack",
3
+ "statName": "ATTACK",
4
4
  "weight": {
5
5
  "serve": 0,
6
6
  "setting": 0.2,
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  {
19
- "statName": "Defense",
19
+ "statName": "DEFENSE",
20
20
  "weight": {
21
21
  "serve": 0,
22
22
  "setting": 0.02,
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  {
35
- "statName": "Physical",
35
+ "statName": "PHYSICAL",
36
36
  "weight": {
37
37
  "serve": 0,
38
38
  "setting": 0,
@@ -48,7 +48,7 @@
48
48
  }
49
49
  },
50
50
  {
51
- "statName": "Serve",
51
+ "statName": "SERVE",
52
52
  "weight": {
53
53
  "serve": 0.9,
54
54
  "setting": 0,
@@ -9,12 +9,12 @@ interface PositionRole {
9
9
  readonly [CourtPosition.RIGHT_BACK]: Role[];
10
10
  }
11
11
  export interface SubPriority {
12
- readonly 'Middle Blocker': number;
13
- readonly 'Outside Hitter': number;
14
- readonly 'Opposite Hitter': number;
15
- readonly 'Defensive Specialist': number;
16
- readonly Setter: number;
17
- readonly Libero: number;
12
+ readonly MIDDLE_BLOCKER: number;
13
+ readonly OUTSIDE_HITTER: number;
14
+ readonly OPPOSITE_HITTER: number;
15
+ readonly DEFENSIVE_SPECIALIST: number;
16
+ readonly SETTER: number;
17
+ readonly LIBERO: number;
18
18
  }
19
19
  export declare class Formation {
20
20
  static readonly '5-1': Formation;
@@ -44,12 +44,12 @@ Formation['5-1'] = new Formation({
44
44
  [player_1.Role.LIBERO]
45
45
  ],
46
46
  liberoSubPriority: {
47
- 'Middle Blocker': 1,
48
- 'Outside Hitter': 10,
49
- 'Opposite Hitter': 100,
50
- 'Defensive Specialist': 1000,
51
- Setter: 10000,
52
- Libero: 100000
47
+ MIDDLE_BLOCKER: 1,
48
+ OUTSIDE_HITTER: 10,
49
+ OPPOSITE_HITTER: 100,
50
+ DEFENSIVE_SPECIALIST: 1000,
51
+ SETTER: 10000,
52
+ LIBERO: 100000
53
53
  }
54
54
  });
55
55
  Formation['4-2'] = new Formation({
@@ -80,12 +80,12 @@ Formation['4-2'] = new Formation({
80
80
  [player_1.Role.LIBERO]
81
81
  ],
82
82
  liberoSubPriority: {
83
- 'Middle Blocker': 1,
84
- 'Outside Hitter': 10,
85
- 'Opposite Hitter': 100,
86
- 'Defensive Specialist': 1000,
87
- Setter: 10000,
88
- Libero: 100000
83
+ MIDDLE_BLOCKER: 1,
84
+ OUTSIDE_HITTER: 10,
85
+ OPPOSITE_HITTER: 100,
86
+ DEFENSIVE_SPECIALIST: 1000,
87
+ SETTER: 10000,
88
+ LIBERO: 100000
89
89
  }
90
90
  });
91
91
  Formation['6-2'] = new Formation({
@@ -116,11 +116,11 @@ Formation['6-2'] = new Formation({
116
116
  [player_1.Role.LIBERO]
117
117
  ],
118
118
  liberoSubPriority: {
119
- 'Middle Blocker': 1,
120
- 'Outside Hitter': 10,
121
- 'Opposite Hitter': 100,
122
- 'Defensive Specialist': 1000,
123
- Setter: 10000,
124
- Libero: 100000
119
+ MIDDLE_BLOCKER: 1,
120
+ OUTSIDE_HITTER: 10,
121
+ OPPOSITE_HITTER: 100,
122
+ DEFENSIVE_SPECIALIST: 1000,
123
+ SETTER: 10000,
124
+ LIBERO: 100000
125
125
  }
126
126
  });
@@ -1,6 +1,6 @@
1
1
  [
2
2
  {
3
- "role": "Setter",
3
+ "role": "SETTER",
4
4
  "weight": {
5
5
  "serve": 0.2,
6
6
  "setting": 0.2475,
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  {
19
- "role": "Libero",
19
+ "role": "LIBERO",
20
20
  "weight": {
21
21
  "serve": 0.02,
22
22
  "setting": 0.045,
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  {
35
- "role": "Outside Hitter",
35
+ "role": "OUTSIDE_HITTER",
36
36
  "weight": {
37
37
  "serve": 0.2,
38
38
  "setting": 0,
@@ -48,7 +48,7 @@
48
48
  }
49
49
  },
50
50
  {
51
- "role": "Opposite Hitter",
51
+ "role": "OPPOSITE_HITTER",
52
52
  "weight": {
53
53
  "serve": 0.2,
54
54
  "setting": 0,
@@ -64,7 +64,7 @@
64
64
  }
65
65
  },
66
66
  {
67
- "role": "Middle Blocker",
67
+ "role": "MIDDLE_BLOCKER",
68
68
  "weight": {
69
69
  "serve": 0.2,
70
70
  "setting": 0,
@@ -80,7 +80,7 @@
80
80
  }
81
81
  },
82
82
  {
83
- "role": "Defensive Specialist",
83
+ "role": "DEFENSIVE_SPECIALIST",
84
84
  "weight": {
85
85
  "serve": 0.005,
86
86
  "setting": 0.025,
@@ -1,6 +1,6 @@
1
1
  [
2
2
  {
3
- "statName": "Attack",
3
+ "statName": "ATTACK",
4
4
  "weight": {
5
5
  "serve": 0,
6
6
  "setting": 0.2,
@@ -16,7 +16,7 @@
16
16
  }
17
17
  },
18
18
  {
19
- "statName": "Defense",
19
+ "statName": "DEFENSE",
20
20
  "weight": {
21
21
  "serve": 0,
22
22
  "setting": 0.02,
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  {
35
- "statName": "Physical",
35
+ "statName": "PHYSICAL",
36
36
  "weight": {
37
37
  "serve": 0,
38
38
  "setting": 0,
@@ -48,7 +48,7 @@
48
48
  }
49
49
  },
50
50
  {
51
- "statName": "Serve",
51
+ "statName": "SERVE",
52
52
  "weight": {
53
53
  "serve": 0.9,
54
54
  "setting": 0,
@@ -9,12 +9,12 @@ interface PositionRole {
9
9
  readonly [CourtPosition.RIGHT_BACK]: Role[];
10
10
  }
11
11
  export interface SubPriority {
12
- readonly 'Middle Blocker': number;
13
- readonly 'Outside Hitter': number;
14
- readonly 'Opposite Hitter': number;
15
- readonly 'Defensive Specialist': number;
16
- readonly Setter: number;
17
- readonly Libero: number;
12
+ readonly MIDDLE_BLOCKER: number;
13
+ readonly OUTSIDE_HITTER: number;
14
+ readonly OPPOSITE_HITTER: number;
15
+ readonly DEFENSIVE_SPECIALIST: number;
16
+ readonly SETTER: number;
17
+ readonly LIBERO: number;
18
18
  }
19
19
  export declare class Formation {
20
20
  static readonly '5-1': Formation;
@@ -40,12 +40,12 @@ Formation['5-1'] = new Formation({
40
40
  [Role.LIBERO]
41
41
  ],
42
42
  liberoSubPriority: {
43
- 'Middle Blocker': 1,
44
- 'Outside Hitter': 10,
45
- 'Opposite Hitter': 100,
46
- 'Defensive Specialist': 1000,
47
- Setter: 10000,
48
- Libero: 100000
43
+ MIDDLE_BLOCKER: 1,
44
+ OUTSIDE_HITTER: 10,
45
+ OPPOSITE_HITTER: 100,
46
+ DEFENSIVE_SPECIALIST: 1000,
47
+ SETTER: 10000,
48
+ LIBERO: 100000
49
49
  }
50
50
  });
51
51
  Formation['4-2'] = new Formation({
@@ -76,12 +76,12 @@ Formation['4-2'] = new Formation({
76
76
  [Role.LIBERO]
77
77
  ],
78
78
  liberoSubPriority: {
79
- 'Middle Blocker': 1,
80
- 'Outside Hitter': 10,
81
- 'Opposite Hitter': 100,
82
- 'Defensive Specialist': 1000,
83
- Setter: 10000,
84
- Libero: 100000
79
+ MIDDLE_BLOCKER: 1,
80
+ OUTSIDE_HITTER: 10,
81
+ OPPOSITE_HITTER: 100,
82
+ DEFENSIVE_SPECIALIST: 1000,
83
+ SETTER: 10000,
84
+ LIBERO: 100000
85
85
  }
86
86
  });
87
87
  Formation['6-2'] = new Formation({
@@ -112,11 +112,11 @@ Formation['6-2'] = new Formation({
112
112
  [Role.LIBERO]
113
113
  ],
114
114
  liberoSubPriority: {
115
- 'Middle Blocker': 1,
116
- 'Outside Hitter': 10,
117
- 'Opposite Hitter': 100,
118
- 'Defensive Specialist': 1000,
119
- Setter: 10000,
120
- Libero: 100000
115
+ MIDDLE_BLOCKER: 1,
116
+ OUTSIDE_HITTER: 10,
117
+ OPPOSITE_HITTER: 100,
118
+ DEFENSIVE_SPECIALIST: 1000,
119
+ SETTER: 10000,
120
+ LIBERO: 100000
121
121
  }
122
122
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.134",
3
+ "version": "0.0.135",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",