@mtgame/core 0.0.12 → 0.0.13

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.
@@ -2520,6 +2520,41 @@
2520
2520
  enumerable: true,
2521
2521
  configurable: true
2522
2522
  });
2523
+ Object.defineProperty(HockeyGameStatistic.prototype, "ppShots", {
2524
+ get: function () {
2525
+ return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0);
2526
+ },
2527
+ enumerable: true,
2528
+ configurable: true
2529
+ });
2530
+ Object.defineProperty(HockeyGameStatistic.prototype, "evShots", {
2531
+ get: function () {
2532
+ return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0);
2533
+ },
2534
+ enumerable: true,
2535
+ configurable: true
2536
+ });
2537
+ Object.defineProperty(HockeyGameStatistic.prototype, "shShots", {
2538
+ get: function () {
2539
+ return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0);
2540
+ },
2541
+ enumerable: true,
2542
+ configurable: true
2543
+ });
2544
+ Object.defineProperty(HockeyGameStatistic.prototype, "shots", {
2545
+ get: function () {
2546
+ return this.ppShots + this.evShots + this.shShots;
2547
+ },
2548
+ enumerable: true,
2549
+ configurable: true
2550
+ });
2551
+ Object.defineProperty(HockeyGameStatistic.prototype, "goals", {
2552
+ get: function () {
2553
+ return (this.ppGoals || 0) + (this.shGoals || 0) + (this.evGoals || 0);
2554
+ },
2555
+ enumerable: true,
2556
+ configurable: true
2557
+ });
2523
2558
  Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
2524
2559
  get: function () {
2525
2560
  return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
@@ -2595,6 +2630,13 @@
2595
2630
  function HockeyStatistic() {
2596
2631
  return _super !== null && _super.apply(this, arguments) || this;
2597
2632
  }
2633
+ Object.defineProperty(HockeyStatistic.prototype, "assists", {
2634
+ get: function () {
2635
+ return (this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0);
2636
+ },
2637
+ enumerable: true,
2638
+ configurable: true
2639
+ });
2598
2640
  HockeyStatistic.toFront = function (data) { };
2599
2641
  HockeyStatistic.toBack = function (data) { };
2600
2642
  __decorate([
@@ -2650,6 +2692,8 @@
2650
2692
  block_shots: 'blockShots',
2651
2693
  face_off_losses: 'faceOffLosses',
2652
2694
  face_off_wins: 'faceOffWins',
2695
+ face_offs: 'faceOffs',
2696
+ face_off_percent: 'faceOffPercent',
2653
2697
  saves: 'saves',
2654
2698
  goals_against: 'goalsAgainst',
2655
2699
  safety_rate: 'safetyRate',