@mtgame/core 0.0.49 → 0.0.50

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.
@@ -1121,12 +1121,16 @@
1121
1121
  cover: 'cover',
1122
1122
  preview_image: 'previewImage',
1123
1123
  status: 'status',
1124
+ start_date: 'startDate',
1125
+ closed_date: 'closedDate',
1124
1126
  },
1125
1127
  relation: {
1126
1128
  logo: File,
1127
1129
  cover: File,
1128
1130
  previewImage: File,
1129
1131
  status: enumField(exports.TournamentSeasonStatuses),
1132
+ startDate: DateField,
1133
+ closedDate: DateField,
1130
1134
  }
1131
1135
  })
1132
1136
  ], TournamentSeason);
@@ -2824,6 +2828,13 @@
2824
2828
  enumerable: true,
2825
2829
  configurable: true
2826
2830
  });
2831
+ Object.defineProperty(HockeyGameStatistic.prototype, "gameMinutes", {
2832
+ get: function () {
2833
+ return Math.floor(this.gameTime / 60);
2834
+ },
2835
+ enumerable: true,
2836
+ configurable: true
2837
+ });
2827
2838
  HockeyGameStatistic.toFront = function (data) { };
2828
2839
  HockeyGameStatistic.toBack = function (data) { };
2829
2840
  __decorate([