volleyballsimtypes 0.0.415 → 0.0.416

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.
@@ -40,12 +40,12 @@ export type Match = Omit<DataProps<_Match>, 'sets' | 'homeTeam' | 'awayTeam' | '
40
40
  export type RallyEvent = DataProps<_RallyEvent> & {
41
41
  team?: Team;
42
42
  };
43
- export type Player = Omit<DataProps<_Player>, 'stats'> & {
43
+ export type Player = Omit<DataProps<_Player>, 'stats' | 'birthAge' | 'birthIteration' | 'declineProfile'> & Partial<Pick<DataProps<_Player>, 'birthAge' | 'birthIteration' | 'declineProfile'>> & {
44
44
  stats?: PerformanceStats;
45
45
  teamId: string;
46
46
  jerseyNumber: number;
47
- locked: boolean;
48
- declineStatus: DeclineStatus;
47
+ locked?: boolean;
48
+ declineStatus?: DeclineStatus;
49
49
  };
50
50
  export interface StartingLineup {
51
51
  [CourtPosition.LEFT_FRONT]: string;
@@ -40,12 +40,12 @@ export type Match = Omit<DataProps<_Match>, 'sets' | 'homeTeam' | 'awayTeam' | '
40
40
  export type RallyEvent = DataProps<_RallyEvent> & {
41
41
  team?: Team;
42
42
  };
43
- export type Player = Omit<DataProps<_Player>, 'stats'> & {
43
+ export type Player = Omit<DataProps<_Player>, 'stats' | 'birthAge' | 'birthIteration' | 'declineProfile'> & Partial<Pick<DataProps<_Player>, 'birthAge' | 'birthIteration' | 'declineProfile'>> & {
44
44
  stats?: PerformanceStats;
45
45
  teamId: string;
46
46
  jerseyNumber: number;
47
- locked: boolean;
48
- declineStatus: DeclineStatus;
47
+ locked?: boolean;
48
+ declineStatus?: DeclineStatus;
49
49
  };
50
50
  export interface StartingLineup {
51
51
  [CourtPosition.LEFT_FRONT]: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.415",
3
+ "version": "0.0.416",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",