volleyballsimtypes 0.0.406 → 0.0.407

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.
@@ -21,6 +21,8 @@ function transformToType(position) {
21
21
  return 'MIDDLE_BACK';
22
22
  case service_1.CourtPosition.RIGHT_BACK:
23
23
  return 'RIGHT_BACK';
24
+ case service_1.CourtPosition.RESERVE_LIBERO:
25
+ return 'RESERVE_LIBERO';
24
26
  default:
25
27
  throw new Error('UNKNOWN_ROLE');
26
28
  }
@@ -1,6 +1,6 @@
1
1
  import { MatchSetAttributes, MatchSetModel } from '../models';
2
2
  import { MatchSet } from '../../service';
3
- export type CourtPositionType = 'NOT_IN_COURT' | 'LIBERO_ZONE' | 'LEFT_FRONT' | 'MIDDLE_FRONT' | 'RIGHT_FRONT' | 'LEFT_BACK' | 'MIDDLE_BACK' | 'RIGHT_BACK';
3
+ export type CourtPositionType = 'NOT_IN_COURT' | 'LIBERO_ZONE' | 'LEFT_FRONT' | 'MIDDLE_FRONT' | 'RIGHT_FRONT' | 'LEFT_BACK' | 'MIDDLE_BACK' | 'RIGHT_BACK' | 'RESERVE_LIBERO';
4
4
  export type Side = 'HOME' | 'AWAY';
5
5
  export interface PlayerPositionAttributes {
6
6
  player_id: string;
@@ -17,6 +17,8 @@ function transformToType(position) {
17
17
  return 'MIDDLE_BACK';
18
18
  case CourtPosition.RIGHT_BACK:
19
19
  return 'RIGHT_BACK';
20
+ case CourtPosition.RESERVE_LIBERO:
21
+ return 'RESERVE_LIBERO';
20
22
  default:
21
23
  throw new Error('UNKNOWN_ROLE');
22
24
  }
@@ -1,6 +1,6 @@
1
1
  import { MatchSetAttributes, MatchSetModel } from '../models';
2
2
  import { MatchSet } from '../../service';
3
- export type CourtPositionType = 'NOT_IN_COURT' | 'LIBERO_ZONE' | 'LEFT_FRONT' | 'MIDDLE_FRONT' | 'RIGHT_FRONT' | 'LEFT_BACK' | 'MIDDLE_BACK' | 'RIGHT_BACK';
3
+ export type CourtPositionType = 'NOT_IN_COURT' | 'LIBERO_ZONE' | 'LEFT_FRONT' | 'MIDDLE_FRONT' | 'RIGHT_FRONT' | 'LEFT_BACK' | 'MIDDLE_BACK' | 'RIGHT_BACK' | 'RESERVE_LIBERO';
4
4
  export type Side = 'HOME' | 'AWAY';
5
5
  export interface PlayerPositionAttributes {
6
6
  player_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.406",
3
+ "version": "0.0.407",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",