volleyballsimtypes 0.0.65 → 0.0.66

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.
@@ -89,7 +89,6 @@ function initModels(sequelize) {
89
89
  MatchSetStats.belongsTo(Player, { as: 'player', foreignKey: 'player_id' });
90
90
  PerformanceStats.belongsTo(Player, { as: 'player', foreignKey: 'player_id' });
91
91
  Player.belongsTo(Country, { as: 'country', foreignKey: 'country_id' });
92
- Player.belongsTo(Team, { as: 'team', foreignKey: 'team_id' });
93
92
  Player.hasMany(Block, { as: 'Blocks', foreignKey: 'player_id' });
94
93
  Player.hasMany(Block, { as: 'blocker_1_Blocks', foreignKey: 'blocker_1' });
95
94
  Player.hasMany(Block, { as: 'blocker_2_Blocks', foreignKey: 'blocker_2' });
@@ -179,7 +178,6 @@ function initModels(sequelize) {
179
178
  Team.belongsTo(League, { as: 'league', foreignKey: 'league_id' });
180
179
  Team.hasMany(Match, { as: 'Matches', foreignKey: 'home_team' });
181
180
  Team.hasMany(Match, { as: 'away_team_Matches', foreignKey: 'away_team' });
182
- Team.hasMany(Player, { as: 'Players', foreignKey: 'team_id' });
183
181
  Team.hasMany(Rally, { as: 'Rallies', foreignKey: 'serving_team' });
184
182
  Team.hasMany(Score, { as: 'Scores', foreignKey: 'team_id' });
185
183
  Team.hasMany(Season, { as: 'season_titles', foreignKey: 'champion' });
@@ -86,7 +86,6 @@ export function initModels(sequelize) {
86
86
  MatchSetStats.belongsTo(Player, { as: 'player', foreignKey: 'player_id' });
87
87
  PerformanceStats.belongsTo(Player, { as: 'player', foreignKey: 'player_id' });
88
88
  Player.belongsTo(Country, { as: 'country', foreignKey: 'country_id' });
89
- Player.belongsTo(Team, { as: 'team', foreignKey: 'team_id' });
90
89
  Player.hasMany(Block, { as: 'Blocks', foreignKey: 'player_id' });
91
90
  Player.hasMany(Block, { as: 'blocker_1_Blocks', foreignKey: 'blocker_1' });
92
91
  Player.hasMany(Block, { as: 'blocker_2_Blocks', foreignKey: 'blocker_2' });
@@ -176,7 +175,6 @@ export function initModels(sequelize) {
176
175
  Team.belongsTo(League, { as: 'league', foreignKey: 'league_id' });
177
176
  Team.hasMany(Match, { as: 'Matches', foreignKey: 'home_team' });
178
177
  Team.hasMany(Match, { as: 'away_team_Matches', foreignKey: 'away_team' });
179
- Team.hasMany(Player, { as: 'Players', foreignKey: 'team_id' });
180
178
  Team.hasMany(Rally, { as: 'Rallies', foreignKey: 'serving_team' });
181
179
  Team.hasMany(Score, { as: 'Scores', foreignKey: 'team_id' });
182
180
  Team.hasMany(Season, { as: 'season_titles', foreignKey: 'champion' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",