@mtgame/core 0.2.99 → 0.2.100

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.
@@ -2107,7 +2107,7 @@
2107
2107
  });
2108
2108
  Object.defineProperty(HockeyGameConfig.prototype, "playoffBullitsPeriod", {
2109
2109
  get: function () {
2110
- if (this.playoffSeriesType === exports.OvertimeTypes.to_first_goal_and_bullitts) {
2110
+ if (this.playoffSeriesOvertimeType === exports.OvertimeTypes.to_first_goal_and_bullitts) {
2111
2111
  return this.periodsCount + 4;
2112
2112
  }
2113
2113
  else {
@@ -2117,6 +2117,18 @@
2117
2117
  enumerable: false,
2118
2118
  configurable: true
2119
2119
  });
2120
+ Object.defineProperty(HockeyGameConfig.prototype, "playoffOvertimePeriod", {
2121
+ get: function () {
2122
+ if (this.playoffSeriesOvertimeType === exports.OvertimeTypes.to_first_goal_and_bullitts) {
2123
+ return this.periodsCount + 3;
2124
+ }
2125
+ else {
2126
+ return null;
2127
+ }
2128
+ },
2129
+ enumerable: false,
2130
+ configurable: true
2131
+ });
2120
2132
  return HockeyGameConfig;
2121
2133
  }(BaseModel));
2122
2134
  __decorate([
@@ -2143,7 +2155,8 @@
2143
2155
  misconduct_penalty_time: 'misconductPenaltyTime',
2144
2156
  game_misconduct_penalty_time: 'gameMisconductPenaltyTime',
2145
2157
  match_penalty_time: 'matchPenaltyTime',
2146
- playoff_series_type: 'playoffSeriesType',
2158
+ playoff_series_overtime_type: 'playoffSeriesOvertimeType',
2159
+ playoff_series_overtime_time: 'playoffSeriesOvertimeTime',
2147
2160
  },
2148
2161
  relation: {
2149
2162
  overtimeType: enumField(exports.OvertimeTypes),