volleyballsimtypes 0.0.38 → 0.0.40

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.
Files changed (119) hide show
  1. package/dist/cjs/src/data/index.d.ts +2 -2
  2. package/dist/cjs/src/data/init-models.js +4 -3
  3. package/dist/cjs/src/data/models/block.d.ts +11 -10
  4. package/dist/cjs/src/data/models/coach.d.ts +4 -5
  5. package/dist/cjs/src/data/models/country.d.ts +1 -4
  6. package/dist/cjs/src/data/models/event.d.ts +5 -4
  7. package/dist/cjs/src/data/models/index.d.ts +11 -11
  8. package/dist/cjs/src/data/models/league.d.ts +2 -3
  9. package/dist/cjs/src/data/models/libero-replacement.d.ts +6 -6
  10. package/dist/cjs/src/data/models/match-set-stats.d.ts +1 -2
  11. package/dist/cjs/src/data/models/match-set.d.ts +1 -4
  12. package/dist/cjs/src/data/models/match.d.ts +2 -4
  13. package/dist/cjs/src/data/models/performance-stats.d.ts +1 -1
  14. package/dist/cjs/src/data/models/player.d.ts +1 -16
  15. package/dist/cjs/src/data/models/rally-position.d.ts +4 -4
  16. package/dist/cjs/src/data/models/rally.d.ts +1 -13
  17. package/dist/cjs/src/data/models/reception.d.ts +11 -10
  18. package/dist/cjs/src/data/models/score.d.ts +3 -5
  19. package/dist/cjs/src/data/models/season-matches.d.ts +1 -2
  20. package/dist/cjs/src/data/models/season-teams.d.ts +1 -2
  21. package/dist/cjs/src/data/models/season.d.ts +2 -5
  22. package/dist/cjs/src/data/models/serve.d.ts +11 -10
  23. package/dist/cjs/src/data/models/set.d.ts +11 -10
  24. package/dist/cjs/src/data/models/spike.d.ts +11 -10
  25. package/dist/cjs/src/data/models/substitution.d.ts +3 -4
  26. package/dist/cjs/src/data/models/team.d.ts +4 -11
  27. package/dist/cjs/src/data/models/tournament-match.d.ts +7 -8
  28. package/dist/cjs/src/data/models/tournament-match.js +13 -10
  29. package/dist/cjs/src/data/models/tournament.d.ts +10 -9
  30. package/dist/cjs/src/data/models/tournament.js +2 -4
  31. package/dist/cjs/src/data/transformers/block.js +11 -13
  32. package/dist/cjs/src/data/transformers/coach.js +5 -6
  33. package/dist/cjs/src/data/transformers/court-target.d.ts +3 -3
  34. package/dist/cjs/src/data/transformers/event-type.d.ts +1 -1
  35. package/dist/cjs/src/data/transformers/formation.d.ts +3 -3
  36. package/dist/cjs/src/data/transformers/league.js +3 -4
  37. package/dist/cjs/src/data/transformers/libero-replacement.js +6 -7
  38. package/dist/cjs/src/data/transformers/match-set-stats.js +2 -2
  39. package/dist/cjs/src/data/transformers/match-set.js +8 -10
  40. package/dist/cjs/src/data/transformers/match.js +7 -8
  41. package/dist/cjs/src/data/transformers/player.js +13 -17
  42. package/dist/cjs/src/data/transformers/rally-position.js +3 -3
  43. package/dist/cjs/src/data/transformers/rally.js +32 -41
  44. package/dist/cjs/src/data/transformers/reception.js +8 -10
  45. package/dist/cjs/src/data/transformers/role.d.ts +3 -3
  46. package/dist/cjs/src/data/transformers/score.js +6 -8
  47. package/dist/cjs/src/data/transformers/season.js +10 -12
  48. package/dist/cjs/src/data/transformers/serve.js +8 -10
  49. package/dist/cjs/src/data/transformers/set.js +8 -10
  50. package/dist/cjs/src/data/transformers/spike.js +8 -10
  51. package/dist/cjs/src/data/transformers/stage.d.ts +3 -3
  52. package/dist/cjs/src/data/transformers/substitution.js +6 -7
  53. package/dist/cjs/src/data/transformers/team.js +8 -10
  54. package/dist/cjs/src/data/transformers/tournament-match.js +4 -5
  55. package/dist/cjs/src/data/transformers/tournament.js +4 -5
  56. package/dist/cjs/src/data/transformers/trait.d.ts +4 -4
  57. package/dist/cjs/src/index.d.ts +3 -3
  58. package/dist/cjs/src/index.js +14 -14
  59. package/dist/esm/src/data/index.d.ts +2 -2
  60. package/dist/esm/src/data/index.js +1 -1
  61. package/dist/esm/src/data/init-models.js +4 -3
  62. package/dist/esm/src/data/models/block.d.ts +11 -10
  63. package/dist/esm/src/data/models/coach.d.ts +4 -5
  64. package/dist/esm/src/data/models/country.d.ts +1 -4
  65. package/dist/esm/src/data/models/event.d.ts +5 -4
  66. package/dist/esm/src/data/models/index.d.ts +11 -11
  67. package/dist/esm/src/data/models/index.js +7 -7
  68. package/dist/esm/src/data/models/league.d.ts +2 -3
  69. package/dist/esm/src/data/models/libero-replacement.d.ts +6 -6
  70. package/dist/esm/src/data/models/match-set-stats.d.ts +1 -2
  71. package/dist/esm/src/data/models/match-set.d.ts +1 -4
  72. package/dist/esm/src/data/models/match.d.ts +2 -4
  73. package/dist/esm/src/data/models/performance-stats.d.ts +1 -1
  74. package/dist/esm/src/data/models/player.d.ts +1 -16
  75. package/dist/esm/src/data/models/rally-position.d.ts +4 -4
  76. package/dist/esm/src/data/models/rally.d.ts +1 -13
  77. package/dist/esm/src/data/models/reception.d.ts +11 -10
  78. package/dist/esm/src/data/models/score.d.ts +3 -5
  79. package/dist/esm/src/data/models/season-matches.d.ts +1 -2
  80. package/dist/esm/src/data/models/season-teams.d.ts +1 -2
  81. package/dist/esm/src/data/models/season.d.ts +2 -5
  82. package/dist/esm/src/data/models/serve.d.ts +11 -10
  83. package/dist/esm/src/data/models/set.d.ts +11 -10
  84. package/dist/esm/src/data/models/spike.d.ts +11 -10
  85. package/dist/esm/src/data/models/substitution.d.ts +3 -4
  86. package/dist/esm/src/data/models/team.d.ts +4 -11
  87. package/dist/esm/src/data/models/tournament-match.d.ts +7 -8
  88. package/dist/esm/src/data/models/tournament-match.js +13 -10
  89. package/dist/esm/src/data/models/tournament.d.ts +10 -9
  90. package/dist/esm/src/data/models/tournament.js +2 -4
  91. package/dist/esm/src/data/transformers/block.js +1 -3
  92. package/dist/esm/src/data/transformers/coach.js +1 -2
  93. package/dist/esm/src/data/transformers/court-target.d.ts +3 -3
  94. package/dist/esm/src/data/transformers/event-type.d.ts +1 -1
  95. package/dist/esm/src/data/transformers/formation.d.ts +3 -3
  96. package/dist/esm/src/data/transformers/league.js +1 -2
  97. package/dist/esm/src/data/transformers/libero-replacement.js +1 -2
  98. package/dist/esm/src/data/transformers/match-set-stats.js +1 -1
  99. package/dist/esm/src/data/transformers/match-set.js +1 -3
  100. package/dist/esm/src/data/transformers/match.js +1 -2
  101. package/dist/esm/src/data/transformers/player.js +1 -5
  102. package/dist/esm/src/data/transformers/rally-position.js +1 -1
  103. package/dist/esm/src/data/transformers/rally.js +1 -10
  104. package/dist/esm/src/data/transformers/reception.js +1 -3
  105. package/dist/esm/src/data/transformers/role.d.ts +3 -3
  106. package/dist/esm/src/data/transformers/score.js +1 -3
  107. package/dist/esm/src/data/transformers/season.js +1 -3
  108. package/dist/esm/src/data/transformers/serve.js +1 -3
  109. package/dist/esm/src/data/transformers/set.js +1 -3
  110. package/dist/esm/src/data/transformers/spike.js +1 -3
  111. package/dist/esm/src/data/transformers/stage.d.ts +3 -3
  112. package/dist/esm/src/data/transformers/substitution.js +1 -2
  113. package/dist/esm/src/data/transformers/team.js +1 -3
  114. package/dist/esm/src/data/transformers/tournament-match.js +1 -2
  115. package/dist/esm/src/data/transformers/tournament.js +2 -3
  116. package/dist/esm/src/data/transformers/trait.d.ts +4 -4
  117. package/dist/esm/src/index.d.ts +3 -3
  118. package/dist/esm/src/index.js +2 -2
  119. package/package.json +4 -1
@@ -1,4 +1,4 @@
1
- import { Block, BlockFailure, BlockType, Coach, CoachOpts, Country, CountryOpts, CourtPosition, CourtRow, CourtTarget, EventStat, EventType, Formation, formatNumber, GeneralStat, generateModifier, getKeys, getRandomEnumValue, InPlayEvent, InPlayEventOpts, League, LeagueOpts, LiberoReplacement, LiberoReplacementOpts, LiberoReplacementType, Match, MatchSet, MatchSetOpts, MatchSetState, MatchTeam, Name, PerformanceStats, PerformanceStatsOpts, Player, PlayerOpts, PlayerPosition, Rally, RallyEvent, RallyEventOpts, RallyState, randomNumber, Reception, ReceptionFailure, ReceptionType, Role, Score, Season, SeasonOpts, Serve, ServeFailure, ServeType, Set, SetFailure, SetStatistics, SetType, shuffle, Spike, SpikeFailure, SpikeType, Stage, Standing, StandingOpts, Stat, SubPriority, Substitution, SubstitutionOpts, Team, TeamOpts, Tournament, TournamentMatch, TournamentOpts, TournamentStageOpts, Trait, validateUUID } from './service';
1
+ import { Block, BlockFailure as BlockFailureEnum, BlockType as BlockTypeEnum, Coach, CoachOpts, Country, CountryOpts, CourtPosition, CourtRow, CourtTarget as CourtTargetEnum, EventStat, EventType as EventTypeEnum, Formation, formatNumber, GeneralStat, generateModifier, getKeys, getRandomEnumValue, InPlayEvent, InPlayEventOpts, League, LeagueOpts, LiberoReplacement, LiberoReplacementOpts, LiberoReplacementType as LiberoReplacementTypeEnum, Match, MatchSet, MatchSetOpts, MatchSetState, MatchTeam, Name, PerformanceStats, PerformanceStatsOpts, Player, PlayerOpts, PlayerPosition, Rally, RallyEvent, RallyEventOpts, RallyState, randomNumber, Reception, ReceptionFailure as ReceptionFailureEnum, ReceptionType as ReceptionTypeEnum, Role, Score, Season, SeasonOpts, Serve, ServeFailure as ServeFailureEnum, ServeType as ServeTypeEnum, Set, SetFailure as SetFailureEnum, SetStatistics, SetType as SetTypeEnum, shuffle, Spike, SpikeFailure as SpikeFailureEnum, SpikeType as SpikeTypeEnum, Stage, Standing, StandingOpts, Stat, SubPriority, Substitution, SubstitutionOpts, Team, TeamOpts, Tournament, TournamentMatch, TournamentOpts, TournamentStageOpts, Trait, validateUUID } from './service';
2
2
  import { APIBlock, APICoach, APIEvent, APIInPlayEvent, APILeague, APILiberoReplacement, APIMatch, APIMatchSet, APIPlayer, APIRally, APIReception, APIScore, APISeason, APIServe, APISet, APISetStatistics, APISpike, APISubstitution, APITeam, APITournament, APITournamentMatch, APITrait } from './routing';
3
- import { BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, initModels, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk, SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk, SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentModel, TournamentPk, TournamentStage, TraitType, transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromStage, transformFromSubstitution, transformFromTeam, transformFromTournament, transformFromTournamentMatch, transformFromTrait, transformToAPIBlock, transformToAPICoach, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITournament, transformToAPITournamentMatch, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToStage, transformToSubstitution, transformToTeam, transformToTournament, transformToTournamentMatch, transformToTrait } from './data';
4
- export { League, Standing, LeagueOpts, CountryOpts, SeasonOpts, Season, StandingOpts, Country, CoachOpts, Coach, Role, SubPriority, GeneralStat, PerformanceStats, Formation, Stat, PerformanceStatsOpts, Block, EventType, LiberoReplacement, MatchSet, Rally, RallyEvent, Reception, Score, Serve, Set, Spike, Substitution, BlockType, LiberoReplacementType, BlockFailure, MatchSetState, MatchSetOpts, LiberoReplacementOpts, RallyEventOpts, InPlayEventOpts, EventStat, Match, InPlayEvent, CourtRow, CourtPosition, CourtTarget, formatNumber, generateModifier, getKeys, MatchTeam, Name, PlayerOpts, Player, RallyState, PlayerPosition, randomNumber, ReceptionType, ServeFailure, ServeType, SetFailure, SetStatistics, SetType, ReceptionFailure, SpikeFailure, SpikeType, SubstitutionOpts, Team, shuffle, TeamOpts, Trait, getRandomEnumValue, validateUUID, APIBlock, APICoach, APIEvent, APILiberoReplacement, APIRally, APIReception, APIScore, APIServe, APISet, APISpike, APISubstitution, APILeague, APIMatch, APIInPlayEvent, APIMatchSet, APIPlayer, APISeason, APITeam, APITrait, APITournament, APITournamentMatch, APISetStatistics, initModels, BlockId, BlockModel, RallyModel, RallyId, EventId, EventModel, MatchSetId, MatchSetModel, PerformanceStatsModel, PerformanceStatsId, BlockAttributes, LiberoReplacementId, LiberoReplacementModel, BlockPk, MatchSetStatsId, MatchSetStatsModel, BlockCreationAttributes, ReceptionId, ReceptionModel, BlockOptionalAttributes, CoachAttributes, CoachId, CountryId, CountryModel, CoachCreationAttributes, CoachPk, ScoreId, ScoreModel, CoachModel, RallyPositionId, RallyPositionModel, CoachOptionalAttributes, CountryAttributes, CountryCreationAttributes, CountryPk, EventAttributes, EventPk, EventCreationAttributes, LeagueAttributes, LeagueId, LeagueCreationAttributes, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementPk, MatchAttributes, MatchId, MatchPk, MatchCreationAttributes, MatchModel, MatchSetAttributes, MatchSetCreationAttributes, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsOptionalAttributes, transformToAPICoach, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerCreationAttributes, PlayerAttributes, PlayerId, PlayerPk, RallyCreationAttributes, RallyAttributes, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPk, RallyPositionPk, ReceptionCreationAttributes, ReceptionAttributes, ReceptionPk, ScoreCreationAttributes, ScoreAttributes, ScorePk, SeasonCreationAttributes, SeasonAttributes, SeasonId, SeasonTeamsAttributes, PlayerModel, SeasonPk, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonModel, SeasonTeamsPk, ServeCreationAttributes, ServeAttributes, ServeId, ServeModel, SetAttributes, ServePk, SetId, SetModel, SetPk, SetCreationAttributes, SpikeCreationAttributes, SpikeAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionCreationAttributes, SubstitutionAttributes, TeamAttributes, TeamId, TeamModel, TeamPk, transformToStage, transformFromStage, SubstitutionId, SubstitutionModel, TeamCreationAttributes, SubstitutionPk, RoleType, TraitType, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentStage, SeasonMatchesModel, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesPk, transformFromBlock, transformToAPIBlock, transformToBlock, transformFromCoach, transformFromCountry, transformFromRally, transformToAPIReception, transformToReception, transformToAPIScore, transformToScore, transformFromFormation, transformFromMatch, transformToAPISet, transformToSet, transformFromMatchSet, transformFromMatchSetStats, transformFromLeague, transformFromPlayer, transformFromPlayerPosition, transformToPlayerPosition, transformFromCourtPosition, transformFromCourtTarget, transformFromPerformanceStats, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromEventType, transformFromServe, transformToAPIServe, transformToServe, transformFromSet, transformFromSpike, transformToAPISpike, transformToSpike, transformFromSubstitution, transformToAPISubstitution, transformToSubstitution, transformFromTeam, transformFromTrait, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPISeason, transformToAPITeam, transformToAPITrait, transformFromLiberoReplacement, transformToAPILiberoReplacement, transformToLiberoReplacement, transformToCoach, transformToCountry, transformToEventType, transformToMatchSet, transformToCourtPosition, transformToCourtTarget, transformToFormation, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToRally, transformToMatch, transformToSeason, transformToTeam, transformToTrait, transformToLeague, transformToRole, transformFromTournament, transformToAPITournament, transformToTournament, transformFromTournamentMatch, transformToAPITournamentMatch, transformToTournamentMatch, Stage, TournamentStageOpts, TournamentMatch, Tournament, TournamentOpts, };
3
+ import { BlockAttributes, BlockCreationAttributes, BlockFailure, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, BlockType, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, CourtPositionType, CourtTarget, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, EventType, Formation as FormationOpts, initModels, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, LiberoReplacementType, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionFailure, ReceptionId, ReceptionModel, ReceptionPk, ReceptionType, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeFailure, ServeId, ServeModel, ServePk, ServeType, SetAttributes, SetCreationAttributes, SetFailure, SetId, SetModel, SetPk, SetType, Side, SpikeAttributes, SpikeCreationAttributes, SpikeFailure, SpikeId, SpikeModel, SpikePk, SpikeType, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentModel, TournamentOptionalAttributes, TournamentPk, TournamentStage, TraitType, transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromStage, transformFromSubstitution, transformFromTeam, transformFromTournament, transformFromTournamentMatch, transformFromTrait, transformToAPIBlock, transformToAPICoach, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITournament, transformToAPITournamentMatch, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToStage, transformToSubstitution, transformToTeam, transformToTournament, transformToTournamentMatch, transformToTrait } from './data';
4
+ export { League, Standing, LeagueOpts, CountryOpts, SeasonOpts, Season, StandingOpts, Country, CoachOpts, Coach, Role, SubPriority, GeneralStat, PerformanceStats, Formation, Stat, PerformanceStatsOpts, Block, EventTypeEnum, LiberoReplacement, MatchSet, Rally, RallyEvent, Reception, Score, Serve, Set, Spike, Substitution, BlockTypeEnum, LiberoReplacementTypeEnum, BlockFailureEnum, MatchSetState, MatchSetOpts, LiberoReplacementOpts, RallyEventOpts, InPlayEventOpts, EventStat, Match, InPlayEvent, CourtRow, CourtPosition, CourtTargetEnum, formatNumber, generateModifier, getKeys, MatchTeam, Name, PlayerOpts, Player, RallyState, PlayerPosition, randomNumber, ReceptionTypeEnum, ServeFailureEnum, ServeTypeEnum, SetFailureEnum, SetStatistics, SetTypeEnum, ReceptionFailureEnum, SpikeFailureEnum, SpikeTypeEnum, SubstitutionOpts, Team, shuffle, TeamOpts, Trait, getRandomEnumValue, validateUUID, APIBlock, APICoach, APIEvent, APILiberoReplacement, APIRally, APIReception, APIScore, APIServe, APISet, APISpike, APISubstitution, APILeague, APIMatch, APIInPlayEvent, APIMatchSet, APIPlayer, APISeason, APITeam, APITrait, APITournament, APITournamentMatch, APISetStatistics, initModels, BlockId, BlockModel, RallyModel, RallyId, EventId, EventModel, MatchSetId, MatchSetModel, PerformanceStatsModel, PerformanceStatsId, BlockAttributes, LiberoReplacementId, LiberoReplacementModel, BlockPk, MatchSetStatsId, MatchSetStatsModel, BlockCreationAttributes, ReceptionId, ReceptionModel, BlockOptionalAttributes, CoachAttributes, CoachId, CountryId, CountryModel, CoachCreationAttributes, CoachPk, ScoreId, ScoreModel, CoachModel, RallyPositionId, RallyPositionModel, CoachOptionalAttributes, CountryAttributes, CountryCreationAttributes, CountryPk, EventAttributes, EventPk, EventCreationAttributes, LeagueAttributes, LeagueId, LeagueCreationAttributes, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementPk, MatchAttributes, MatchId, MatchPk, MatchCreationAttributes, MatchModel, MatchSetAttributes, MatchSetCreationAttributes, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsOptionalAttributes, transformToAPICoach, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerCreationAttributes, PlayerAttributes, PlayerId, PlayerPk, RallyCreationAttributes, RallyAttributes, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPk, RallyPositionPk, ReceptionCreationAttributes, ReceptionAttributes, ReceptionPk, ScoreCreationAttributes, ScoreAttributes, ScorePk, SeasonCreationAttributes, SeasonAttributes, SeasonId, SeasonTeamsAttributes, PlayerModel, SeasonPk, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonModel, SeasonTeamsPk, ServeCreationAttributes, ServeAttributes, ServeId, ServeModel, SetAttributes, ServePk, SetId, SetModel, SetPk, SetCreationAttributes, SpikeCreationAttributes, SpikeAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionCreationAttributes, SubstitutionAttributes, TeamAttributes, TeamId, TeamModel, TeamPk, transformToStage, transformFromStage, SubstitutionId, SubstitutionModel, TeamCreationAttributes, SubstitutionPk, RoleType, TraitType, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentStage, SeasonMatchesModel, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesPk, transformFromBlock, transformToAPIBlock, transformToBlock, transformFromCoach, transformFromCountry, transformFromRally, transformToAPIReception, transformToReception, transformToAPIScore, transformToScore, transformFromFormation, transformFromMatch, transformToAPISet, transformToSet, transformFromMatchSet, transformFromMatchSetStats, transformFromLeague, transformFromPlayer, transformFromPlayerPosition, transformToPlayerPosition, transformFromCourtPosition, transformFromCourtTarget, transformFromPerformanceStats, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromEventType, transformFromServe, transformToAPIServe, transformToServe, transformFromSet, transformFromSpike, transformToAPISpike, transformToSpike, transformFromSubstitution, transformToAPISubstitution, transformToSubstitution, transformFromTeam, transformFromTrait, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPISeason, transformToAPITeam, transformToAPITrait, transformFromLiberoReplacement, transformToAPILiberoReplacement, transformToLiberoReplacement, transformToCoach, transformToCountry, transformToEventType, transformToMatchSet, transformToCourtPosition, transformToCourtTarget, transformToFormation, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToRally, transformToMatch, transformToSeason, transformToTeam, transformToTrait, transformToLeague, transformToRole, transformFromTournament, transformToAPITournament, transformToTournament, transformFromTournamentMatch, transformToAPITournamentMatch, transformToTournamentMatch, Stage, TournamentStageOpts, TournamentMatch, Tournament, TournamentOpts, LiberoReplacementType, BlockFailure, BlockType, EventType, FormationOpts, ReceptionType, ServeFailure, ServeType, SetFailure, SetType, ReceptionFailure, SpikeFailure, SpikeType, CourtTarget, Side, CourtPositionType, TournamentOptionalAttributes };
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateUUID = exports.getRandomEnumValue = exports.Trait = exports.shuffle = exports.Team = exports.SpikeType = exports.SpikeFailure = exports.ReceptionFailure = exports.SetType = exports.SetFailure = exports.ServeType = exports.ServeFailure = exports.ReceptionType = exports.randomNumber = exports.RallyState = exports.Player = exports.MatchTeam = exports.getKeys = exports.generateModifier = exports.formatNumber = exports.CourtTarget = exports.CourtPosition = exports.CourtRow = exports.InPlayEvent = exports.Match = exports.MatchSetState = exports.BlockFailure = exports.LiberoReplacementType = exports.BlockType = exports.Substitution = exports.Spike = exports.Set = exports.Serve = exports.Score = exports.Reception = exports.RallyEvent = exports.Rally = exports.MatchSet = exports.LiberoReplacement = exports.EventType = exports.Block = exports.Formation = exports.PerformanceStats = exports.GeneralStat = exports.Role = exports.Coach = exports.Country = exports.Season = exports.Standing = exports.League = void 0;
3
+ exports.validateUUID = exports.getRandomEnumValue = exports.Trait = exports.shuffle = exports.Team = exports.SpikeTypeEnum = exports.SpikeFailureEnum = exports.ReceptionFailureEnum = exports.SetTypeEnum = exports.SetFailureEnum = exports.ServeTypeEnum = exports.ServeFailureEnum = exports.ReceptionTypeEnum = exports.randomNumber = exports.RallyState = exports.Player = exports.MatchTeam = exports.getKeys = exports.generateModifier = exports.formatNumber = exports.CourtTargetEnum = exports.CourtPosition = exports.CourtRow = exports.InPlayEvent = exports.Match = exports.MatchSetState = exports.BlockFailureEnum = exports.LiberoReplacementTypeEnum = exports.BlockTypeEnum = exports.Substitution = exports.Spike = exports.Set = exports.Serve = exports.Score = exports.Reception = exports.RallyEvent = exports.Rally = exports.MatchSet = exports.LiberoReplacement = exports.EventTypeEnum = exports.Block = exports.Formation = exports.PerformanceStats = exports.GeneralStat = exports.Role = exports.Coach = exports.Country = exports.Season = exports.Standing = exports.League = void 0;
4
4
  exports.transformToPlayerPosition = exports.transformFromPlayerPosition = exports.transformFromPlayer = exports.transformFromLeague = exports.transformFromMatchSetStats = exports.transformFromMatchSet = exports.transformToSet = exports.transformToAPISet = exports.transformFromMatch = exports.transformFromFormation = exports.transformToScore = exports.transformToAPIScore = exports.transformToReception = exports.transformToAPIReception = exports.transformFromRally = exports.transformFromCountry = exports.transformFromCoach = exports.transformToBlock = exports.transformToAPIBlock = exports.transformFromBlock = exports.SeasonMatchesModel = exports.TournamentMatchModel = exports.TournamentModel = exports.SubstitutionModel = exports.transformFromStage = exports.transformToStage = exports.TeamModel = exports.SpikeModel = exports.SetModel = exports.ServeModel = exports.SeasonModel = exports.SeasonTeamsModel = exports.PlayerModel = exports.transformToAPICoach = exports.MatchModel = exports.LeagueModel = exports.RallyPositionModel = exports.CoachModel = exports.ScoreModel = exports.CountryModel = exports.ReceptionModel = exports.MatchSetStatsModel = exports.LiberoReplacementModel = exports.PerformanceStatsModel = exports.MatchSetModel = exports.EventModel = exports.RallyModel = exports.BlockModel = exports.initModels = exports.APITrait = void 0;
5
5
  exports.transformToAPITournament = exports.transformFromTournament = exports.transformToRole = exports.transformToLeague = exports.transformToTrait = exports.transformToTeam = exports.transformToSeason = exports.transformToMatch = exports.transformToRally = exports.transformToPlayer = exports.transformToPerformanceStats = exports.transformToMatchSetStats = exports.transformToFormation = exports.transformToCourtTarget = exports.transformToCourtPosition = exports.transformToMatchSet = exports.transformToEventType = exports.transformToCountry = exports.transformToCoach = exports.transformToLiberoReplacement = exports.transformToAPILiberoReplacement = exports.transformFromLiberoReplacement = exports.transformToAPITrait = exports.transformToAPITeam = exports.transformToAPISeason = exports.transformToAPIRally = exports.transformToAPIPlayer = exports.transformToAPIMatchSetStats = exports.transformToAPIMatchSet = exports.transformToAPIMatch = exports.transformFromTrait = exports.transformFromTeam = exports.transformToSubstitution = exports.transformToAPISubstitution = exports.transformFromSubstitution = exports.transformToSpike = exports.transformToAPISpike = exports.transformFromSpike = exports.transformFromSet = exports.transformToServe = exports.transformToAPIServe = exports.transformFromServe = exports.transformFromEventType = exports.transformFromSeason = exports.transformFromScore = exports.transformFromRole = exports.transformFromReception = exports.transformFromPerformanceStats = exports.transformFromCourtTarget = exports.transformFromCourtPosition = void 0;
6
6
  exports.Tournament = exports.TournamentMatch = exports.Stage = exports.transformToTournamentMatch = exports.transformToAPITournamentMatch = exports.transformFromTournamentMatch = exports.transformToTournament = void 0;
7
7
  const service_1 = require("./service");
8
8
  Object.defineProperty(exports, "Block", { enumerable: true, get: function () { return service_1.Block; } });
9
- Object.defineProperty(exports, "BlockFailure", { enumerable: true, get: function () { return service_1.BlockFailure; } });
10
- Object.defineProperty(exports, "BlockType", { enumerable: true, get: function () { return service_1.BlockType; } });
9
+ Object.defineProperty(exports, "BlockFailureEnum", { enumerable: true, get: function () { return service_1.BlockFailure; } });
10
+ Object.defineProperty(exports, "BlockTypeEnum", { enumerable: true, get: function () { return service_1.BlockType; } });
11
11
  Object.defineProperty(exports, "Coach", { enumerable: true, get: function () { return service_1.Coach; } });
12
12
  Object.defineProperty(exports, "Country", { enumerable: true, get: function () { return service_1.Country; } });
13
13
  Object.defineProperty(exports, "CourtPosition", { enumerable: true, get: function () { return service_1.CourtPosition; } });
14
14
  Object.defineProperty(exports, "CourtRow", { enumerable: true, get: function () { return service_1.CourtRow; } });
15
- Object.defineProperty(exports, "CourtTarget", { enumerable: true, get: function () { return service_1.CourtTarget; } });
16
- Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return service_1.EventType; } });
15
+ Object.defineProperty(exports, "CourtTargetEnum", { enumerable: true, get: function () { return service_1.CourtTarget; } });
16
+ Object.defineProperty(exports, "EventTypeEnum", { enumerable: true, get: function () { return service_1.EventType; } });
17
17
  Object.defineProperty(exports, "Formation", { enumerable: true, get: function () { return service_1.Formation; } });
18
18
  Object.defineProperty(exports, "formatNumber", { enumerable: true, get: function () { return service_1.formatNumber; } });
19
19
  Object.defineProperty(exports, "GeneralStat", { enumerable: true, get: function () { return service_1.GeneralStat; } });
@@ -23,7 +23,7 @@ Object.defineProperty(exports, "getRandomEnumValue", { enumerable: true, get: fu
23
23
  Object.defineProperty(exports, "InPlayEvent", { enumerable: true, get: function () { return service_1.InPlayEvent; } });
24
24
  Object.defineProperty(exports, "League", { enumerable: true, get: function () { return service_1.League; } });
25
25
  Object.defineProperty(exports, "LiberoReplacement", { enumerable: true, get: function () { return service_1.LiberoReplacement; } });
26
- Object.defineProperty(exports, "LiberoReplacementType", { enumerable: true, get: function () { return service_1.LiberoReplacementType; } });
26
+ Object.defineProperty(exports, "LiberoReplacementTypeEnum", { enumerable: true, get: function () { return service_1.LiberoReplacementType; } });
27
27
  Object.defineProperty(exports, "Match", { enumerable: true, get: function () { return service_1.Match; } });
28
28
  Object.defineProperty(exports, "MatchSet", { enumerable: true, get: function () { return service_1.MatchSet; } });
29
29
  Object.defineProperty(exports, "MatchSetState", { enumerable: true, get: function () { return service_1.MatchSetState; } });
@@ -35,21 +35,21 @@ Object.defineProperty(exports, "RallyEvent", { enumerable: true, get: function (
35
35
  Object.defineProperty(exports, "RallyState", { enumerable: true, get: function () { return service_1.RallyState; } });
36
36
  Object.defineProperty(exports, "randomNumber", { enumerable: true, get: function () { return service_1.randomNumber; } });
37
37
  Object.defineProperty(exports, "Reception", { enumerable: true, get: function () { return service_1.Reception; } });
38
- Object.defineProperty(exports, "ReceptionFailure", { enumerable: true, get: function () { return service_1.ReceptionFailure; } });
39
- Object.defineProperty(exports, "ReceptionType", { enumerable: true, get: function () { return service_1.ReceptionType; } });
38
+ Object.defineProperty(exports, "ReceptionFailureEnum", { enumerable: true, get: function () { return service_1.ReceptionFailure; } });
39
+ Object.defineProperty(exports, "ReceptionTypeEnum", { enumerable: true, get: function () { return service_1.ReceptionType; } });
40
40
  Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return service_1.Role; } });
41
41
  Object.defineProperty(exports, "Score", { enumerable: true, get: function () { return service_1.Score; } });
42
42
  Object.defineProperty(exports, "Season", { enumerable: true, get: function () { return service_1.Season; } });
43
43
  Object.defineProperty(exports, "Serve", { enumerable: true, get: function () { return service_1.Serve; } });
44
- Object.defineProperty(exports, "ServeFailure", { enumerable: true, get: function () { return service_1.ServeFailure; } });
45
- Object.defineProperty(exports, "ServeType", { enumerable: true, get: function () { return service_1.ServeType; } });
44
+ Object.defineProperty(exports, "ServeFailureEnum", { enumerable: true, get: function () { return service_1.ServeFailure; } });
45
+ Object.defineProperty(exports, "ServeTypeEnum", { enumerable: true, get: function () { return service_1.ServeType; } });
46
46
  Object.defineProperty(exports, "Set", { enumerable: true, get: function () { return service_1.Set; } });
47
- Object.defineProperty(exports, "SetFailure", { enumerable: true, get: function () { return service_1.SetFailure; } });
48
- Object.defineProperty(exports, "SetType", { enumerable: true, get: function () { return service_1.SetType; } });
47
+ Object.defineProperty(exports, "SetFailureEnum", { enumerable: true, get: function () { return service_1.SetFailure; } });
48
+ Object.defineProperty(exports, "SetTypeEnum", { enumerable: true, get: function () { return service_1.SetType; } });
49
49
  Object.defineProperty(exports, "shuffle", { enumerable: true, get: function () { return service_1.shuffle; } });
50
50
  Object.defineProperty(exports, "Spike", { enumerable: true, get: function () { return service_1.Spike; } });
51
- Object.defineProperty(exports, "SpikeFailure", { enumerable: true, get: function () { return service_1.SpikeFailure; } });
52
- Object.defineProperty(exports, "SpikeType", { enumerable: true, get: function () { return service_1.SpikeType; } });
51
+ Object.defineProperty(exports, "SpikeFailureEnum", { enumerable: true, get: function () { return service_1.SpikeFailure; } });
52
+ Object.defineProperty(exports, "SpikeTypeEnum", { enumerable: true, get: function () { return service_1.SpikeType; } });
53
53
  Object.defineProperty(exports, "Stage", { enumerable: true, get: function () { return service_1.Stage; } });
54
54
  Object.defineProperty(exports, "Standing", { enumerable: true, get: function () { return service_1.Standing; } });
55
55
  Object.defineProperty(exports, "Substitution", { enumerable: true, get: function () { return service_1.Substitution; } });
@@ -1,4 +1,4 @@
1
- import { BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk, SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk, SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentModel, TournamentPk, TournamentStage, TraitType } from './models';
1
+ import { BlockAttributes, BlockCreationAttributes, BlockFailure, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, BlockType, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, CourtPositionType, CourtTarget, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, EventType, Formation, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, LiberoReplacementType, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionFailure, ReceptionId, ReceptionModel, ReceptionPk, ReceptionType, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeFailure, ServeId, ServeModel, ServePk, ServeType, SetAttributes, SetCreationAttributes, SetFailure, SetId, SetModel, SetPk, SetType, Side, SpikeAttributes, SpikeCreationAttributes, SpikeFailure, SpikeId, SpikeModel, SpikePk, SpikeType, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentModel, TournamentOptionalAttributes, TournamentPk, TournamentStage, TraitType } from './models';
2
2
  import { transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromStage, transformFromSubstitution, transformFromTeam, transformFromTournament, transformFromTournamentMatch, transformFromTrait, transformToAPIBlock, transformToAPICoach, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITournament, transformToAPITournamentMatch, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToStage, transformToSubstitution, transformToTeam, transformToTournament, transformToTournamentMatch, transformToTrait } from './transformers';
3
3
  import { initModels } from './init-models';
4
- export { initModels, transformToStage, transformFromStage, SeasonMatchesModel, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesPk, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk, TournamentMatchAttributes, TournamentMatchModel, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchPk, TournamentStage, BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk, SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk, SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TraitType, transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromSubstitution, transformFromTeam, transformFromTrait, transformToAPIBlock, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToAPICoach, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToSubstitution, transformToTeam, transformToTrait, transformFromTournament, transformToAPITournament, transformToTournament, transformFromTournamentMatch, transformToAPITournamentMatch, transformToTournamentMatch };
4
+ export { initModels, transformToStage, transformFromStage, SeasonMatchesModel, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesPk, TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk, TournamentMatchAttributes, TournamentMatchModel, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchPk, TournamentStage, BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk, SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk, SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TraitType, transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromSubstitution, transformFromTeam, transformFromTrait, transformToAPIBlock, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToAPICoach, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToSubstitution, transformToTeam, transformToTrait, transformFromTournament, transformToAPITournament, transformToTournament, transformFromTournamentMatch, transformToAPITournamentMatch, transformToTournamentMatch, SpikeFailure, SetFailure, EventType, CourtTarget, ServeFailure, TournamentOptionalAttributes, LiberoReplacementType, CourtPositionType, SpikeType, SetType, BlockType, BlockFailure, ReceptionFailure, ServeType, ReceptionType, Side, Formation };
@@ -1,4 +1,4 @@
1
- import { BlockModel, CoachModel, CountryModel, EventModel, LeagueModel, LiberoReplacementModel, MatchModel, MatchSetModel, MatchSetStatsModel, PerformanceStatsModel, PlayerModel, RallyModel, RallyPositionModel, ReceptionModel, ScoreModel, SeasonMatchesModel, SeasonModel, SeasonTeamsModel, ServeModel, SetModel, SpikeModel, SubstitutionModel, TeamModel, TournamentMatchModel, TournamentModel, } from './models';
1
+ import { BlockModel, CoachModel, CountryModel, EventModel, LeagueModel, LiberoReplacementModel, MatchModel, MatchSetModel, MatchSetStatsModel, PerformanceStatsModel, PlayerModel, RallyModel, RallyPositionModel, ReceptionModel, ScoreModel, SeasonMatchesModel, SeasonModel, SeasonTeamsModel, ServeModel, SetModel, SpikeModel, SubstitutionModel, TeamModel, TournamentMatchModel, TournamentModel } from './models';
2
2
  import { transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromStage, transformFromSubstitution, transformFromTeam, transformFromTournament, transformFromTournamentMatch, transformFromTrait, transformToAPIBlock, transformToAPICoach, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITournament, transformToAPITournamentMatch, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToStage, transformToSubstitution, transformToTeam, transformToTournament, transformToTournamentMatch, transformToTrait } from './transformers';
3
3
  import { initModels } from './init-models';
4
4
  export { initModels, transformToStage, transformFromStage, SeasonMatchesModel, TournamentModel, TournamentMatchModel, BlockModel, CoachModel, CountryModel, EventModel, LeagueModel, LiberoReplacementModel, MatchModel, MatchSetModel, MatchSetStatsModel, PerformanceStatsModel, PlayerModel, RallyModel, RallyPositionModel, ReceptionModel, ScoreModel, SeasonModel, SeasonTeamsModel, ServeModel, SetModel, SpikeModel, SubstitutionModel, TeamModel, transformFromBlock, transformFromCoach, transformFromCountry, transformFromCourtPosition, transformFromCourtTarget, transformFromEventType, transformFromFormation, transformFromLeague, transformFromLiberoReplacement, transformFromMatch, transformFromMatchSet, transformFromMatchSetStats, transformFromPerformanceStats, transformFromPlayer, transformFromPlayerPosition, transformFromRally, transformFromReception, transformFromRole, transformFromScore, transformFromSeason, transformFromServe, transformFromSet, transformFromSpike, transformFromSubstitution, transformFromTeam, transformFromTrait, transformToAPIBlock, transformToAPILiberoReplacement, transformToAPIMatch, transformToAPIMatchSet, transformToAPIMatchSetStats, transformToAPIPlayer, transformToAPIRally, transformToAPIReception, transformToAPIScore, transformToAPISeason, transformToAPIServe, transformToAPISet, transformToAPISpike, transformToAPISubstitution, transformToAPITeam, transformToAPITrait, transformToBlock, transformToCoach, transformToCountry, transformToCourtPosition, transformToCourtTarget, transformToEventType, transformToFormation, transformToLeague, transformToLiberoReplacement, transformToAPICoach, transformToMatch, transformToMatchSet, transformToMatchSetStats, transformToPerformanceStats, transformToPlayer, transformToPlayerPosition, transformToRally, transformToReception, transformToRole, transformToScore, transformToSeason, transformToServe, transformToSet, transformToSpike, transformToSubstitution, transformToTeam, transformToTrait, transformFromTournament, transformToAPITournament, transformToTournament, transformFromTournamentMatch, transformToAPITournamentMatch, transformToTournamentMatch };
@@ -165,6 +165,7 @@ export function initModels(sequelize) {
165
165
  Team.hasMany(Rally, { as: 'Rallies', foreignKey: 'serving_team' });
166
166
  Team.hasMany(Score, { as: 'Scores', foreignKey: 'team_id' });
167
167
  Team.hasMany(Season, { as: 'titles', foreignKey: 'champion' });
168
+ Team.hasMany(Tournament, { as: 'Tournaments', foreignKey: 'champion' });
168
169
  Team.hasMany(SeasonTeams, { as: 'SeasonTeams', foreignKey: 'team_id' });
169
170
  Team.belongsToMany(Season, {
170
171
  as: 'season_id_Seasons',
@@ -172,10 +173,10 @@ export function initModels(sequelize) {
172
173
  foreignKey: 'team_id',
173
174
  otherKey: 'season_id'
174
175
  });
175
- Tournament.belongsTo(Team, { as: 'Champion', foreignKey: 'champion' });
176
+ Tournament.belongsTo(Team, { as: 'champion_Team', foreignKey: 'champion' });
176
177
  Tournament.hasMany(TournamentMatch, { as: 'TournamentMatches', foreignKey: 'tournament_id' });
177
178
  TournamentMatch.belongsTo(Match, { as: 'match', foreignKey: 'match_id' });
178
- TournamentMatch.belongsTo(Tournament, { as: 'tournamentMatch', foreignKey: 'tournament_id' });
179
+ TournamentMatch.belongsTo(Tournament, { as: 'tournament', foreignKey: 'tournament_id' });
179
180
  return {
180
181
  Block,
181
182
  Coach,
@@ -201,6 +202,6 @@ export function initModels(sequelize) {
201
202
  Substitution,
202
203
  Team,
203
204
  Tournament,
204
- TournamentMatch: TournamentMatch
205
+ TournamentMatch
205
206
  };
206
207
  }
@@ -1,14 +1,13 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model, Optional } from 'sequelize';
3
- import type { PlayerId, PlayerModel } from './player';
4
- import type { RallyId, RallyModel } from './rally';
3
+ import type { EventType, PlayerId, PlayerModel, RallyId, RallyModel, CourtTarget } from '.';
5
4
  export interface BlockAttributes {
6
5
  event_id: string;
7
6
  rally_id: string;
8
- event_type: 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
9
- target: 'NO_TARGET' | 'OPPONENT_RIGHT_BACK' | 'OPPONENT_MIDDLE_BACK' | 'OPPONENT_LEFT_BACK' | 'OPPONENT_RIGHT_FRONT' | 'OPPONENT_MIDDLE_FRONT' | 'OPPONENT_LEFT_FRONT' | 'TEAM_LEFT_FRONT' | 'TEAM_MIDDLE_FRONT' | 'TEAM_RIGHT_FRONT' | 'TEAM_LEFT_BACK' | 'TEAM_MIDDLE_BACK' | 'TEAM_RIGHT_BACK';
10
- type: 'NO_BLOCKER' | 'SINGLE' | 'DOUBLE' | 'TRIPLE';
11
- failure: 'NO_FAILURE' | 'FAULT' | 'MISS' | 'OUT_OF_BOUNDS' | 'WIPE' | 'TOOL';
7
+ event_type: EventType;
8
+ target: CourtTarget;
9
+ type: BlockType;
10
+ failure: BlockFailure;
12
11
  order: number;
13
12
  player_id: string;
14
13
  blocker_1?: string;
@@ -17,6 +16,8 @@ export interface BlockAttributes {
17
16
  modifier: number;
18
17
  score: number;
19
18
  }
19
+ export type BlockType = 'NO_BLOCKER' | 'SINGLE' | 'DOUBLE' | 'TRIPLE';
20
+ export type BlockFailure = 'NO_FAILURE' | 'FAULT' | 'MISS' | 'OUT_OF_BOUNDS' | 'WIPE' | 'TOOL';
20
21
  export type BlockPk = 'event_id';
21
22
  export type BlockId = BlockModel[BlockPk];
22
23
  export type BlockOptionalAttributes = 'blocker_1' | 'blocker_2' | 'blocker_3';
@@ -24,10 +25,10 @@ export type BlockCreationAttributes = Optional<BlockAttributes, BlockOptionalAtt
24
25
  export declare class BlockModel extends Model<BlockAttributes, BlockCreationAttributes> implements BlockAttributes {
25
26
  event_id: string;
26
27
  rally_id: string;
27
- event_type: 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
28
- target: 'NO_TARGET' | 'OPPONENT_RIGHT_BACK' | 'OPPONENT_MIDDLE_BACK' | 'OPPONENT_LEFT_BACK' | 'OPPONENT_RIGHT_FRONT' | 'OPPONENT_MIDDLE_FRONT' | 'OPPONENT_LEFT_FRONT' | 'TEAM_LEFT_FRONT' | 'TEAM_MIDDLE_FRONT' | 'TEAM_RIGHT_FRONT' | 'TEAM_LEFT_BACK' | 'TEAM_MIDDLE_BACK' | 'TEAM_RIGHT_BACK';
29
- type: 'NO_BLOCKER' | 'SINGLE' | 'DOUBLE' | 'TRIPLE';
30
- failure: 'NO_FAILURE' | 'FAULT' | 'MISS' | 'OUT_OF_BOUNDS' | 'WIPE' | 'TOOL';
28
+ event_type: EventType;
29
+ target: CourtTarget;
30
+ type: BlockType;
31
+ failure: BlockFailure;
31
32
  order: number;
32
33
  player_id: string;
33
34
  blocker_1?: string;
@@ -1,10 +1,9 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model, Optional } from 'sequelize';
3
- import type { CountryId, CountryModel } from './country';
4
- import type { TeamId, TeamModel } from './team';
3
+ import type { CountryId, CountryModel, TeamId, TeamModel } from '.';
5
4
  export interface CoachAttributes {
6
5
  coach_id: string;
7
- formation: formation;
6
+ formation: Formation;
8
7
  substitution_tolerance: number;
9
8
  first_name: string;
10
9
  last_name: string;
@@ -12,12 +11,12 @@ export interface CoachAttributes {
12
11
  }
13
12
  export type CoachPk = 'coach_id';
14
13
  export type CoachId = CoachModel[CoachPk];
15
- export type formation = '4-2' | '6-2' | '5-1';
14
+ export type Formation = '4-2' | '6-2' | '5-1';
16
15
  export type CoachOptionalAttributes = 'substitution_tolerance';
17
16
  export type CoachCreationAttributes = Optional<CoachAttributes, CoachOptionalAttributes>;
18
17
  export declare class CoachModel extends Model<CoachAttributes, CoachCreationAttributes> implements CoachAttributes {
19
18
  coach_id: string;
20
- formation: formation;
19
+ formation: Formation;
21
20
  substitution_tolerance: number;
22
21
  first_name: string;
23
22
  last_name: string;
@@ -1,9 +1,6 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { CoachId, CoachModel } from './coach';
4
- import type { LeagueId, LeagueModel } from './league';
5
- import type { PlayerId, PlayerModel } from './player';
6
- import type { TeamId, TeamModel } from './team';
3
+ import type { CoachId, CoachModel, LeagueId, LeagueModel, PlayerId, PlayerModel, TeamId, TeamModel } from '.';
7
4
  export interface CountryAttributes {
8
5
  country_id: string;
9
6
  name: string;
@@ -1,21 +1,22 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { PlayerId, PlayerModel } from './player';
4
- import type { RallyId, RallyModel } from './rally';
3
+ import type { PlayerId, PlayerModel, RallyId, RallyModel } from '.';
5
4
  export interface EventAttributes {
6
5
  event_id: string;
7
6
  rally_id: string;
8
- event_type: 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
7
+ event_type: EventType;
9
8
  order: number;
10
9
  player_id: string;
11
10
  }
11
+ export type EventType = 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
12
+ export type CourtTarget = 'NO_TARGET' | 'OPPONENT_RIGHT_BACK' | 'OPPONENT_MIDDLE_BACK' | 'OPPONENT_LEFT_BACK' | 'OPPONENT_RIGHT_FRONT' | 'OPPONENT_MIDDLE_FRONT' | 'OPPONENT_LEFT_FRONT' | 'TEAM_LEFT_FRONT' | 'TEAM_MIDDLE_FRONT' | 'TEAM_RIGHT_FRONT' | 'TEAM_LEFT_BACK' | 'TEAM_MIDDLE_BACK' | 'TEAM_RIGHT_BACK';
12
13
  export type EventPk = 'event_id';
13
14
  export type EventId = EventModel[EventPk];
14
15
  export type EventCreationAttributes = EventAttributes;
15
16
  export declare class EventModel extends Model<EventAttributes, EventCreationAttributes> implements EventAttributes {
16
17
  event_id: string;
17
18
  rally_id: string;
18
- event_type: 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
19
+ event_type: EventType;
19
20
  order: number;
20
21
  player_id: string;
21
22
  player: PlayerModel;
@@ -1,26 +1,26 @@
1
- import { BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk } from './block';
2
- import { CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk } from './coach';
1
+ import { BlockAttributes, BlockCreationAttributes, BlockFailure, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, BlockType } from './block';
2
+ import { CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, Formation } from './coach';
3
3
  import { CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk } from './country';
4
- import { EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk } from './event';
4
+ import { EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, EventType, CourtTarget } from './event';
5
5
  import { LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk } from './league';
6
- import { LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk } from './libero-replacement';
6
+ import { LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, LiberoReplacementType } from './libero-replacement';
7
7
  import { MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk } from './match';
8
8
  import { MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk } from './match-set';
9
9
  import { MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk } from './match-set-stats';
10
10
  import { PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk } from './performance-stats';
11
11
  import { PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RoleType, TraitType } from './player';
12
12
  import { RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk } from './rally';
13
- import { RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk } from './rally-position';
14
- import { ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk } from './reception';
13
+ import { CourtPositionType, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, Side } from './rally-position';
14
+ import { ReceptionAttributes, ReceptionCreationAttributes, ReceptionFailure, ReceptionId, ReceptionModel, ReceptionPk, ReceptionType } from './reception';
15
15
  import { ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk } from './score';
16
16
  import { SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonModel, SeasonPk } from './season';
17
17
  import { SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk } from './season-teams';
18
18
  import { SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk } from './season-matches';
19
- import { ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk } from './serve';
20
- import { SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk } from './set';
21
- import { SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk } from './spike';
19
+ import { ServeAttributes, ServeCreationAttributes, ServeFailure, ServeId, ServeModel, ServePk, ServeType } from './serve';
20
+ import { SetAttributes, SetCreationAttributes, SetFailure, SetId, SetModel, SetPk, SetType } from './set';
21
+ import { SpikeAttributes, SpikeCreationAttributes, SpikeFailure, SpikeId, SpikeModel, SpikePk, SpikeType } from './spike';
22
22
  import { SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk } from './substitution';
23
23
  import { TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk } from './team';
24
- import { TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk } from './tournament';
24
+ import { TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentOptionalAttributes, TournamentPk } from './tournament';
25
25
  import { TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentStage } from './tournament-match';
26
- export { TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentStage, BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk, SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk, SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TraitType, };
26
+ export { TournamentAttributes, TournamentCreationAttributes, TournamentId, TournamentModel, TournamentPk, TournamentMatchAttributes, TournamentMatchCreationAttributes, TournamentMatchId, TournamentMatchModel, TournamentMatchPk, TournamentStage, BlockAttributes, BlockCreationAttributes, BlockId, BlockModel, BlockOptionalAttributes, BlockPk, CoachAttributes, CoachCreationAttributes, CoachId, CoachModel, CoachOptionalAttributes, CoachPk, CountryAttributes, CountryCreationAttributes, CountryId, CountryModel, CountryPk, SeasonMatchesAttributes, SeasonMatchesCreationAttributes, SeasonMatchesId, SeasonMatchesModel, SeasonMatchesPk, EventAttributes, EventCreationAttributes, EventId, EventModel, EventPk, LeagueAttributes, LeagueCreationAttributes, LeagueId, LeagueModel, LeaguePk, LiberoReplacementAttributes, LiberoReplacementCreationAttributes, LiberoReplacementId, LiberoReplacementModel, LiberoReplacementPk, MatchAttributes, MatchCreationAttributes, MatchId, MatchModel, MatchPk, MatchSetAttributes, MatchSetCreationAttributes, MatchSetId, MatchSetModel, MatchSetOptionalAttributes, MatchSetPk, MatchSetStatsAttributes, MatchSetStatsCreationAttributes, MatchSetStatsId, MatchSetStatsModel, MatchSetStatsOptionalAttributes, MatchSetStatsPk, PerformanceStatsAttributes, PerformanceStatsCreationAttributes, PerformanceStatsId, PerformanceStatsModel, PerformanceStatsOptionalAttributes, PerformanceStatsPk, PlayerAttributes, PlayerCreationAttributes, PlayerId, PlayerModel, PlayerPk, RallyAttributes, RallyCreationAttributes, RallyId, RallyModel, RallyPk, RallyPositionAttributes, RallyPositionCreationAttributes, RallyPositionId, RallyPositionModel, RallyPositionPk, ReceptionAttributes, ReceptionCreationAttributes, ReceptionId, ReceptionModel, ReceptionPk, RoleType, ScoreAttributes, ScoreCreationAttributes, ScoreId, ScoreModel, ScorePk, SeasonAttributes, SeasonCreationAttributes, SeasonId, SeasonModel, SeasonPk, SeasonTeamsAttributes, SeasonTeamsCreationAttributes, SeasonTeamsId, SeasonTeamsModel, SeasonTeamsPk, ServeAttributes, ServeCreationAttributes, ServeId, ServeModel, ServePk, SetAttributes, SetCreationAttributes, SetId, SetModel, SetPk, SpikeAttributes, SpikeCreationAttributes, SpikeId, SpikeModel, SpikePk, SubstitutionAttributes, SubstitutionCreationAttributes, SubstitutionId, SubstitutionModel, SubstitutionPk, TeamAttributes, TeamCreationAttributes, TeamId, TeamModel, TeamPk, TraitType, EventType, BlockFailure, BlockType, Formation, ServeFailure, SpikeFailure, SpikeType, SetType, ReceptionFailure, SetFailure, ServeType, ReceptionType, CourtPositionType, TournamentOptionalAttributes, Side, CourtTarget, LiberoReplacementType };
@@ -5,13 +5,13 @@ import { EventModel } from './event';
5
5
  import { LeagueModel } from './league';
6
6
  import { LiberoReplacementModel } from './libero-replacement';
7
7
  import { MatchModel } from './match';
8
- import { MatchSetModel, } from './match-set';
9
- import { MatchSetStatsModel, } from './match-set-stats';
10
- import { PerformanceStatsModel, } from './performance-stats';
11
- import { PlayerModel, } from './player';
8
+ import { MatchSetModel } from './match-set';
9
+ import { MatchSetStatsModel } from './match-set-stats';
10
+ import { PerformanceStatsModel } from './performance-stats';
11
+ import { PlayerModel } from './player';
12
12
  import { RallyModel } from './rally';
13
13
  import { RallyPositionModel } from './rally-position';
14
- import { ReceptionModel, } from './reception';
14
+ import { ReceptionModel } from './reception';
15
15
  import { ScoreModel } from './score';
16
16
  import { SeasonModel } from './season';
17
17
  import { SeasonTeamsModel } from './season-teams';
@@ -19,8 +19,8 @@ import { SeasonMatchesModel } from './season-matches';
19
19
  import { ServeModel } from './serve';
20
20
  import { SetModel } from './set';
21
21
  import { SpikeModel } from './spike';
22
- import { SubstitutionModel, } from './substitution';
22
+ import { SubstitutionModel } from './substitution';
23
23
  import { TeamModel } from './team';
24
24
  import { TournamentModel } from './tournament';
25
25
  import { TournamentMatchModel } from './tournament-match';
26
- export { TournamentModel, TournamentMatchModel, BlockModel, CoachModel, CountryModel, SeasonMatchesModel, EventModel, LeagueModel, LiberoReplacementModel, MatchModel, MatchSetModel, MatchSetStatsModel, PerformanceStatsModel, PlayerModel, RallyModel, RallyPositionModel, ReceptionModel, ScoreModel, SeasonModel, SeasonTeamsModel, ServeModel, SetModel, SpikeModel, SubstitutionModel, TeamModel, };
26
+ export { TournamentModel, TournamentMatchModel, BlockModel, CoachModel, CountryModel, SeasonMatchesModel, EventModel, LeagueModel, LiberoReplacementModel, MatchModel, MatchSetModel, MatchSetStatsModel, PerformanceStatsModel, PlayerModel, RallyModel, RallyPositionModel, ReceptionModel, ScoreModel, SeasonModel, SeasonTeamsModel, ServeModel, SetModel, SpikeModel, SubstitutionModel, TeamModel };
@@ -1,8 +1,7 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { CountryAttributes, CountryId, CountryModel } from './country';
4
- import type { SeasonAttributes, SeasonId, SeasonModel } from './season';
5
- import { TeamAttributes, TeamId, TeamModel } from './team';
3
+ import type { CountryAttributes, CountryId, CountryModel, SeasonAttributes, SeasonId, SeasonModel } from '.';
4
+ import { TeamAttributes, TeamId, TeamModel } from '.';
6
5
  export interface LeagueAttributes {
7
6
  league_id: string;
8
7
  country_id: string;
@@ -1,24 +1,24 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { PlayerId, PlayerModel } from './player';
4
- import type { RallyId, RallyModel } from './rally';
3
+ import type { EventType, PlayerId, PlayerModel, RallyId, RallyModel } from '.';
5
4
  export interface LiberoReplacementAttributes {
6
5
  event_id: string;
7
6
  rally_id: string;
8
- event_type: 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
9
- type: 'LIBERO_IN' | 'LIBERO_OUT';
7
+ event_type: EventType;
8
+ type: LiberoReplacementType;
10
9
  libero: string;
11
10
  order: number;
12
11
  player_id: string;
13
12
  }
13
+ export type LiberoReplacementType = 'LIBERO_IN' | 'LIBERO_OUT';
14
14
  export type LiberoReplacementPk = 'event_id';
15
15
  export type LiberoReplacementId = LiberoReplacementModel[LiberoReplacementPk];
16
16
  export type LiberoReplacementCreationAttributes = LiberoReplacementAttributes;
17
17
  export declare class LiberoReplacementModel extends Model<LiberoReplacementAttributes, LiberoReplacementCreationAttributes> implements LiberoReplacementAttributes {
18
18
  event_id: string;
19
19
  rally_id: string;
20
- event_type: 'LIBERO_REPLACEMENT' | 'SUBSTITUTION' | 'SERVE' | 'RECEPTION' | 'SET' | 'SPIKE' | 'BLOCK' | 'SCORE';
21
- type: 'LIBERO_IN' | 'LIBERO_OUT';
20
+ event_type: EventType;
21
+ type: LiberoReplacementType;
22
22
  libero: string;
23
23
  order: number;
24
24
  player_id: string;
@@ -1,7 +1,6 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model, Optional } from 'sequelize';
3
- import type { MatchSetId, MatchSetModel } from './match-set';
4
- import type { PlayerId, PlayerModel } from './player';
3
+ import type { MatchSetId, MatchSetModel, PlayerId, PlayerModel } from '.';
5
4
  export interface MatchSetStatsAttributes {
6
5
  player_id: string;
7
6
  match_set_id: string;
@@ -1,9 +1,6 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model, Optional } from 'sequelize';
3
- import type { MatchId, MatchModel } from './match';
4
- import type { MatchSetStatsAttributes, MatchSetStatsId, MatchSetStatsModel } from './match-set-stats';
5
- import type { PlayerId, PlayerModel } from './player';
6
- import type { RallyAttributes, RallyId, RallyModel } from './rally';
3
+ import type { MatchId, MatchModel, MatchSetStatsAttributes, MatchSetStatsId, MatchSetStatsModel, PlayerId, PlayerModel, RallyAttributes, RallyId, RallyModel } from '.';
7
4
  export interface MatchSetAttributes {
8
5
  match_set_id: string;
9
6
  match_id: string;
@@ -1,9 +1,7 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { MatchSetAttributes, MatchSetId, MatchSetModel } from './match-set';
4
- import type { SeasonId, SeasonModel } from './season';
5
- import type { TeamId, TeamModel } from './team';
6
- import { SeasonMatchesId, SeasonMatchesModel } from './season-matches';
3
+ import type { MatchSetAttributes, MatchSetId, MatchSetModel, SeasonId, SeasonModel, TeamId, TeamModel } from '.';
4
+ import { SeasonMatchesId, SeasonMatchesModel } from '.';
7
5
  export interface MatchAttributes {
8
6
  match_id: string;
9
7
  home_team: string;
@@ -1,6 +1,6 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model, Optional } from 'sequelize';
3
- import type { PlayerId, PlayerModel } from './player';
3
+ import type { PlayerId, PlayerModel } from '.';
4
4
  export interface PerformanceStatsAttributes {
5
5
  player_id: string;
6
6
  setting: number;
@@ -1,21 +1,6 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { BlockId, BlockModel } from './block';
4
- import type { CountryId, CountryModel } from './country';
5
- import type { EventId, EventModel } from './event';
6
- import type { LiberoReplacementId, LiberoReplacementModel } from './libero-replacement';
7
- import type { MatchSetId, MatchSetModel } from './match-set';
8
- import type { MatchSetStatsAttributes, MatchSetStatsId, MatchSetStatsModel } from './match-set-stats';
9
- import type { PerformanceStatsAttributes, PerformanceStatsId, PerformanceStatsModel } from './performance-stats';
10
- import type { RallyId, RallyModel } from './rally';
11
- import type { RallyPositionId, RallyPositionModel } from './rally-position';
12
- import type { ReceptionId, ReceptionModel } from './reception';
13
- import type { ScoreId, ScoreModel } from './score';
14
- import type { ServeId, ServeModel } from './serve';
15
- import type { SetId, SetModel } from './set';
16
- import type { SpikeId, SpikeModel } from './spike';
17
- import type { SubstitutionId, SubstitutionModel } from './substitution';
18
- import type { TeamId, TeamModel } from './team';
3
+ import type { BlockId, BlockModel, CountryId, CountryModel, EventId, EventModel, LiberoReplacementId, LiberoReplacementModel, MatchSetId, MatchSetModel, MatchSetStatsAttributes, MatchSetStatsId, MatchSetStatsModel, PerformanceStatsAttributes, PerformanceStatsId, PerformanceStatsModel, RallyId, RallyModel, RallyPositionId, RallyPositionModel, ReceptionId, ReceptionModel, ScoreId, ScoreModel, ServeId, ServeModel, SetId, SetModel, SpikeId, SpikeModel, SubstitutionId, SubstitutionModel, TeamId, TeamModel } from '.';
19
4
  export interface PlayerAttributes {
20
5
  player_id: string;
21
6
  jersey_number: number;
@@ -1,21 +1,21 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { PlayerId, PlayerModel } from './player';
4
- import type { RallyId, RallyModel } from './rally';
3
+ import type { PlayerId, PlayerModel, RallyId, RallyModel } from '.';
5
4
  export interface RallyPositionAttributes {
6
5
  player_id: string;
7
6
  rally_id: string;
8
- side: 'Home' | 'Away';
7
+ side: Side;
9
8
  court_position: CourtPositionType;
10
9
  }
11
10
  export type RallyPositionPk = 'player_id' | 'rally_id';
12
11
  export type CourtPositionType = 'NOT_IN_COURT' | 'LIBERO_ZONE' | 'LEFT_FRONT' | 'MIDDLE_FRONT' | 'RIGHT_FRONT' | 'LEFT_BACK' | 'MIDDLE_BACK' | 'RIGHT_BACK';
12
+ export type Side = 'Home' | 'Away';
13
13
  export type RallyPositionId = RallyPositionModel[RallyPositionPk];
14
14
  export type RallyPositionCreationAttributes = RallyPositionAttributes;
15
15
  export declare class RallyPositionModel extends Model<RallyPositionAttributes, RallyPositionCreationAttributes> implements RallyPositionAttributes {
16
16
  player_id: string;
17
17
  rally_id: string;
18
- side: 'Home' | 'Away';
18
+ side: Side;
19
19
  court_position: CourtPositionType;
20
20
  player: PlayerModel;
21
21
  getPlayer: Sequelize.BelongsToGetAssociationMixin<PlayerModel>;
@@ -1,18 +1,6 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
- import type { BlockAttributes, BlockId, BlockModel } from './block';
4
- import type { EventId, EventModel } from './event';
5
- import type { LiberoReplacementAttributes, LiberoReplacementId, LiberoReplacementModel } from './libero-replacement';
6
- import type { MatchSetId, MatchSetModel } from './match-set';
7
- import type { PlayerId, PlayerModel } from './player';
8
- import type { RallyPositionAttributes, RallyPositionId, RallyPositionModel } from './rally-position';
9
- import type { ReceptionAttributes, ReceptionId, ReceptionModel } from './reception';
10
- import type { ScoreAttributes, ScoreId, ScoreModel } from './score';
11
- import type { ServeAttributes, ServeId, ServeModel } from './serve';
12
- import type { SetAttributes, SetId, SetModel } from './set';
13
- import type { SpikeAttributes, SpikeId, SpikeModel } from './spike';
14
- import type { SubstitutionAttributes, SubstitutionId, SubstitutionModel } from './substitution';
15
- import type { TeamId, TeamModel } from './team';
3
+ import type { BlockAttributes, BlockId, BlockModel, EventId, EventModel, LiberoReplacementAttributes, LiberoReplacementId, LiberoReplacementModel, MatchSetId, MatchSetModel, PlayerId, PlayerModel, RallyPositionAttributes, RallyPositionId, RallyPositionModel, ReceptionAttributes, ReceptionId, ReceptionModel, ScoreAttributes, ScoreId, ScoreModel, ServeAttributes, ServeId, ServeModel, SetAttributes, SetId, SetModel, SpikeAttributes, SpikeId, SpikeModel, SubstitutionAttributes, SubstitutionId, SubstitutionModel, TeamId, TeamModel } from '.';
16
4
  export interface RallyAttributes {
17
5
  rally_id: string;
18
6
  match_set_id: string;