@mtgame/core 0.2.107 → 0.2.109

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.
@@ -2576,6 +2576,26 @@
2576
2576
  GameResultTypes[GameResultTypes["competitor_team_technical_defeat"] = 4] = "competitor_team_technical_defeat";
2577
2577
  GameResultTypes[GameResultTypes["draw"] = 5] = "draw";
2578
2578
  })(exports.GameResultTypes || (exports.GameResultTypes = {}));
2579
+ exports.GameAdditionalData = /** @class */ (function () {
2580
+ function GameAdditionalData() {
2581
+ }
2582
+ GameAdditionalData.toFront = function (data) { };
2583
+ GameAdditionalData.toBack = function (data) { };
2584
+ return GameAdditionalData;
2585
+ }());
2586
+ __decorate([
2587
+ ToFrontHook
2588
+ ], exports.GameAdditionalData, "toFront", null);
2589
+ __decorate([
2590
+ ToBackHook
2591
+ ], exports.GameAdditionalData, "toBack", null);
2592
+ exports.GameAdditionalData = __decorate([
2593
+ ModelInstance({
2594
+ mappingFields: {
2595
+ mhl_carousel: 'mhlCarousel',
2596
+ }
2597
+ })
2598
+ ], exports.GameAdditionalData);
2579
2599
  exports.GameTeamAdditionalData = /** @class */ (function () {
2580
2600
  function GameTeamAdditionalData() {
2581
2601
  }
@@ -2896,6 +2916,7 @@
2896
2916
  media: 'media',
2897
2917
  tournament: 'tournament',
2898
2918
  tournament_group: 'tournamentGroup',
2919
+ additional_data: 'additionalData',
2899
2920
  },
2900
2921
  relation: {
2901
2922
  status: enumField(exports.GameStatuses),
@@ -2918,6 +2939,7 @@
2918
2939
  media: listField(exports.MediaItem),
2919
2940
  tournament: exports.Tournament,
2920
2941
  tournamentGroup: exports.TournamentGroup,
2942
+ additionalData: exports.GameAdditionalData,
2921
2943
  }
2922
2944
  })
2923
2945
  ], exports.Game);
@@ -4717,6 +4739,7 @@
4717
4739
  HockeyGameLogTypes[HockeyGameLogTypes["loss"] = 28] = "loss";
4718
4740
  HockeyGameLogTypes[HockeyGameLogTypes["sharp_pass"] = 29] = "sharp_pass";
4719
4741
  HockeyGameLogTypes[HockeyGameLogTypes["qualified_for_playoff"] = 30] = "qualified_for_playoff";
4742
+ HockeyGameLogTypes[HockeyGameLogTypes["mhl_carousel_segment_end"] = 31] = "mhl_carousel_segment_end";
4720
4743
  })(exports.HockeyGameLogTypes || (exports.HockeyGameLogTypes = {}));
4721
4744
  exports.HockeyAdvantageTypes = void 0;
4722
4745
  (function (HockeyAdvantageTypes) {
@@ -7659,6 +7682,7 @@
7659
7682
  two_point_percent: 'twoPointPercent',
7660
7683
  three_point_percent: 'threePointPercent',
7661
7684
  free_throw_percent: 'freeThrowPercent',
7685
+ total_free_throw_percent: 'totalFreeThrowPercent',
7662
7686
  one_point_percent: 'onePointPercent',
7663
7687
  dunks_made_percent: 'dunksMadePercent',
7664
7688
  assists: 'assists',
@@ -13572,6 +13596,17 @@
13572
13596
  enumerable: false,
13573
13597
  configurable: true
13574
13598
  });
13599
+ Object.defineProperty(WrestballGameStatistic.prototype, "totalFreeThrowPercent", {
13600
+ get: function () {
13601
+ if (!this.totalFreeThrowMade || !this.totalFreeThrowAttempts) {
13602
+ return 0;
13603
+ }
13604
+ return Math.round(1000 * this.totalFreeThrowMade / this.totalFreeThrowAttempts) / 10;
13605
+ },
13606
+ set: function (v) { },
13607
+ enumerable: false,
13608
+ configurable: true
13609
+ });
13575
13610
  Object.defineProperty(WrestballGameStatistic.prototype, "dunksMadePercent", {
13576
13611
  get: function () {
13577
13612
  return !this.dunksMade || !this.dunkAttempts ? 0 : Math.round(1000 * this.dunksMade / this.dunkAttempts) / 10;
@@ -13681,6 +13716,7 @@
13681
13716
  two_point_percent: 'twoPointPercent',
13682
13717
  three_point_percent: 'threePointPercent',
13683
13718
  free_throw_percent: 'freeThrowPercent',
13719
+ total_free_throw_percent: 'totalFreeThrowPercent',
13684
13720
  dunks_made_percent: 'dunksMadePercent',
13685
13721
  assists: 'assists',
13686
13722
  blocks: 'blocks',