volleyballsimtypes 0.0.113 → 0.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@ exports.transformToSeason = transformToObject;
40
40
  function transformToAPIObject(model) {
41
41
  const season = transformToObject(model);
42
42
  const matches = model.CompetitionMatches != null ?
43
- model.CompetitionMatches.map(matches => (0, _1.transformToAPIMatch)(matches.Match, model)) : [];
43
+ model.CompetitionMatches.map(matches => (0, _1.transformToAPIMatch)(matches.Match)) : [];
44
44
  const teams = model.Teams != null ? model.Teams.map(_1.transformToAPITeam) : [];
45
45
  const standings = season.standings.map(standing => ({
46
46
  team: teams.find(t => standing.team.id === t.id),
@@ -35,7 +35,7 @@ function transformToObject(model) {
35
35
  function transformToAPIObject(model) {
36
36
  const season = transformToObject(model);
37
37
  const matches = model.CompetitionMatches != null ?
38
- model.CompetitionMatches.map(matches => transformToAPIMatch(matches.Match, model)) : [];
38
+ model.CompetitionMatches.map(matches => transformToAPIMatch(matches.Match)) : [];
39
39
  const teams = model.Teams != null ? model.Teams.map(transformToAPITeam) : [];
40
40
  const standings = season.standings.map(standing => ({
41
41
  team: teams.find(t => standing.team.id === t.id),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.113",
3
+ "version": "0.0.114",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",