@mtgame/core 0.0.10 → 0.0.11
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.
- package/bundles/mtgame-core.umd.js +15 -29
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/hockey-game-statistic.js +16 -14
- package/esm5/models/hockey-game-statistic.js +16 -30
- package/fesm2015/mtgame-core.js +15 -13
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +15 -29
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-statistic.d.ts +14 -4
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2520,34 +2520,6 @@
|
|
|
2520
2520
|
enumerable: true,
|
|
2521
2521
|
configurable: true
|
|
2522
2522
|
});
|
|
2523
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotMisses", {
|
|
2524
|
-
get: function () {
|
|
2525
|
-
return (this.ppShotMisses || 0) + (this.evShotMisses || 0) + (this.shShotMisses || 0);
|
|
2526
|
-
},
|
|
2527
|
-
enumerable: true,
|
|
2528
|
-
configurable: true
|
|
2529
|
-
});
|
|
2530
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotsOnGoal", {
|
|
2531
|
-
get: function () {
|
|
2532
|
-
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0);
|
|
2533
|
-
},
|
|
2534
|
-
enumerable: true,
|
|
2535
|
-
configurable: true
|
|
2536
|
-
});
|
|
2537
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotsBlocked", {
|
|
2538
|
-
get: function () {
|
|
2539
|
-
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
|
|
2540
|
-
},
|
|
2541
|
-
enumerable: true,
|
|
2542
|
-
configurable: true
|
|
2543
|
-
});
|
|
2544
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "goals", {
|
|
2545
|
-
get: function () {
|
|
2546
|
-
return (this.ppGoals || 0) + (this.evGoals || 0) + (this.shGoals || 0);
|
|
2547
|
-
},
|
|
2548
|
-
enumerable: true,
|
|
2549
|
-
configurable: true
|
|
2550
|
-
});
|
|
2551
2523
|
Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
|
|
2552
2524
|
get: function () {
|
|
2553
2525
|
return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
|
|
@@ -2583,18 +2555,32 @@
|
|
|
2583
2555
|
game_user_id: 'gameUserId',
|
|
2584
2556
|
updated_at: 'updatedAt',
|
|
2585
2557
|
points: 'points',
|
|
2558
|
+
pp_shots: 'ppShots',
|
|
2586
2559
|
pp_shot_misses: 'ppShotMisses',
|
|
2587
2560
|
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2588
2561
|
pp_shots_blocked: 'ppShotsBlocked',
|
|
2562
|
+
ev_shots: 'evShots',
|
|
2589
2563
|
ev_shot_misses: 'evShotMisses',
|
|
2590
2564
|
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2591
2565
|
ev_shots_blocked: 'evShotsBlocked',
|
|
2592
|
-
|
|
2566
|
+
sh_shots: 'shShots',
|
|
2567
|
+
sh_shot_misses: 'shShotMisses',
|
|
2593
2568
|
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2594
2569
|
sh_shots_blocked: 'shShotsBlocked',
|
|
2570
|
+
pp_goals_percent: 'ppGoalsPercent',
|
|
2595
2571
|
pp_goals: 'ppGoals',
|
|
2572
|
+
ev_goals_percent: 'evGoalsPercent',
|
|
2596
2573
|
ev_goals: 'evGoals',
|
|
2574
|
+
sh_goals_percent: 'shGoalsPercent',
|
|
2575
|
+
goals: 'goals',
|
|
2597
2576
|
sh_goals: 'shGoals',
|
|
2577
|
+
shot_misses: 'shotMisses',
|
|
2578
|
+
shots_on_goal: 'shotsOnGoal',
|
|
2579
|
+
shots_blocked: 'shotsBlocked',
|
|
2580
|
+
shots: 'shots',
|
|
2581
|
+
goals_percent: 'goalsPercent',
|
|
2582
|
+
shots_against: 'shotsAgainst',
|
|
2583
|
+
saves_percent: 'savesPercent',
|
|
2598
2584
|
pp_assists: 'ppAssists',
|
|
2599
2585
|
ev_assists: 'evAssists',
|
|
2600
2586
|
sh_assists: 'shAssists',
|