@mtgame/core 0.0.12 → 0.0.14

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.
@@ -2438,6 +2438,7 @@
2438
2438
  HockeyGameLogTypes[HockeyGameLogTypes["face_off_lose"] = 17] = "face_off_lose";
2439
2439
  HockeyGameLogTypes[HockeyGameLogTypes["face_off_win"] = 18] = "face_off_win";
2440
2440
  HockeyGameLogTypes[HockeyGameLogTypes["save"] = 19] = "save";
2441
+ HockeyGameLogTypes[HockeyGameLogTypes["timeout"] = 20] = "timeout";
2441
2442
  })(exports.HockeyGameLogTypes || (exports.HockeyGameLogTypes = {}));
2442
2443
 
2443
2444
  (function (HockeyAdvantageTypes) {
@@ -2520,6 +2521,41 @@
2520
2521
  enumerable: true,
2521
2522
  configurable: true
2522
2523
  });
2524
+ Object.defineProperty(HockeyGameStatistic.prototype, "ppShots", {
2525
+ get: function () {
2526
+ return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0);
2527
+ },
2528
+ enumerable: true,
2529
+ configurable: true
2530
+ });
2531
+ Object.defineProperty(HockeyGameStatistic.prototype, "evShots", {
2532
+ get: function () {
2533
+ return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0);
2534
+ },
2535
+ enumerable: true,
2536
+ configurable: true
2537
+ });
2538
+ Object.defineProperty(HockeyGameStatistic.prototype, "shShots", {
2539
+ get: function () {
2540
+ return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0);
2541
+ },
2542
+ enumerable: true,
2543
+ configurable: true
2544
+ });
2545
+ Object.defineProperty(HockeyGameStatistic.prototype, "shots", {
2546
+ get: function () {
2547
+ return this.goals + this.ppShots + this.evShots + this.shShots;
2548
+ },
2549
+ enumerable: true,
2550
+ configurable: true
2551
+ });
2552
+ Object.defineProperty(HockeyGameStatistic.prototype, "goals", {
2553
+ get: function () {
2554
+ return (this.ppGoals || 0) + (this.shGoals || 0) + (this.evGoals || 0);
2555
+ },
2556
+ enumerable: true,
2557
+ configurable: true
2558
+ });
2523
2559
  Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
2524
2560
  get: function () {
2525
2561
  return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
@@ -2595,6 +2631,13 @@
2595
2631
  function HockeyStatistic() {
2596
2632
  return _super !== null && _super.apply(this, arguments) || this;
2597
2633
  }
2634
+ Object.defineProperty(HockeyStatistic.prototype, "assists", {
2635
+ get: function () {
2636
+ return (this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0);
2637
+ },
2638
+ enumerable: true,
2639
+ configurable: true
2640
+ });
2598
2641
  HockeyStatistic.toFront = function (data) { };
2599
2642
  HockeyStatistic.toBack = function (data) { };
2600
2643
  __decorate([
@@ -2650,6 +2693,8 @@
2650
2693
  block_shots: 'blockShots',
2651
2694
  face_off_losses: 'faceOffLosses',
2652
2695
  face_off_wins: 'faceOffWins',
2696
+ face_offs: 'faceOffs',
2697
+ face_off_percent: 'faceOffPercent',
2653
2698
  saves: 'saves',
2654
2699
  goals_against: 'goalsAgainst',
2655
2700
  safety_rate: 'safetyRate',
@@ -5935,7 +5980,7 @@
5935
5980
  _a$2[exports.HockeyGameLogTypes.shootout_goal] = 'Булит гол',
5936
5981
  _a$2[exports.HockeyGameLogTypes.assist] = 'Передача',
5937
5982
  _a$2[exports.HockeyGameLogTypes.block_shot] = 'Блокировка броска',
5938
- _a$2[exports.HockeyGameLogTypes.minor_penalty] = 'Малшый штраф',
5983
+ _a$2[exports.HockeyGameLogTypes.minor_penalty] = 'Малый штраф',
5939
5984
  _a$2[exports.HockeyGameLogTypes.major_penalty] = 'Большой штраф',
5940
5985
  _a$2[exports.HockeyGameLogTypes.misconduct_penalty] = 'Дисциплинарный штраф',
5941
5986
  _a$2[exports.HockeyGameLogTypes.game_misconduct_penalty] = 'Дисциплинарный штраф до конца игры',
@@ -5944,6 +5989,7 @@
5944
5989
  _a$2[exports.HockeyGameLogTypes.face_off_lose] = 'Проирыш в вбрасывании',
5945
5990
  _a$2[exports.HockeyGameLogTypes.face_off_win] = 'Победа в вбрасывании',
5946
5991
  _a$2[exports.HockeyGameLogTypes.save] = 'Отражен бросок',
5992
+ _a$2[exports.HockeyGameLogTypes.timeout] = 'Таймаут',
5947
5993
  _a$2);
5948
5994
 
5949
5995
  var _a$3;