volleyballsimtypes 0.0.179 → 0.0.181

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.
@@ -58,7 +58,7 @@ exports.transformToSet = transformToSet;
58
58
  function transformToSubstitution(event) {
59
59
  return new service_1.Substitution({
60
60
  playerId: event.playerId,
61
- playerOut: event.playerIdOut
61
+ playerOut: event.playerOut
62
62
  });
63
63
  }
64
64
  exports.transformToSubstitution = transformToSubstitution;
@@ -9,9 +9,9 @@ interface MatchParams {
9
9
  readonly scheduledDate: Date;
10
10
  readonly sets: MatchSet[];
11
11
  readonly status: StatusEnum;
12
- readonly homeScore?: number;
13
- readonly awayScore?: number;
14
- readonly winner?: Team;
12
+ homeScore?: number;
13
+ awayScore?: number;
14
+ winner?: Team;
15
15
  }
16
16
  export declare enum MatchScore {
17
17
  '3-0' = "3-0",
@@ -28,9 +28,9 @@ export declare class Match {
28
28
  readonly awayTeam: Team;
29
29
  readonly sets: MatchSet[];
30
30
  readonly scheduledDate: Date;
31
- readonly homeScore?: number;
32
- readonly awayScore?: number;
33
- readonly winner?: Team;
31
+ homeScore?: number;
32
+ awayScore?: number;
33
+ winner?: Team;
34
34
  status: StatusEnum;
35
35
  constructor({ id, homeTeam, awayTeam, scheduledDate, sets, status, homeScore, awayScore, winner }: MatchParams);
36
36
  addSet(set: MatchSet): void;
@@ -50,7 +50,7 @@ export function transformToSet(event) {
50
50
  export function transformToSubstitution(event) {
51
51
  return new Substitution({
52
52
  playerId: event.playerId,
53
- playerOut: event.playerIdOut
53
+ playerOut: event.playerOut
54
54
  });
55
55
  }
56
56
  export function transformToSpike(event) {
@@ -9,9 +9,9 @@ interface MatchParams {
9
9
  readonly scheduledDate: Date;
10
10
  readonly sets: MatchSet[];
11
11
  readonly status: StatusEnum;
12
- readonly homeScore?: number;
13
- readonly awayScore?: number;
14
- readonly winner?: Team;
12
+ homeScore?: number;
13
+ awayScore?: number;
14
+ winner?: Team;
15
15
  }
16
16
  export declare enum MatchScore {
17
17
  '3-0' = "3-0",
@@ -28,9 +28,9 @@ export declare class Match {
28
28
  readonly awayTeam: Team;
29
29
  readonly sets: MatchSet[];
30
30
  readonly scheduledDate: Date;
31
- readonly homeScore?: number;
32
- readonly awayScore?: number;
33
- readonly winner?: Team;
31
+ homeScore?: number;
32
+ awayScore?: number;
33
+ winner?: Team;
34
34
  status: StatusEnum;
35
35
  constructor({ id, homeTeam, awayTeam, scheduledDate, sets, status, homeScore, awayScore, winner }: MatchParams);
36
36
  addSet(set: MatchSet): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.179",
3
+ "version": "0.0.181",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",