@mtgame/core 0.2.87 → 0.2.89
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 +24 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/hockey-game-statistic.js +14 -1
- package/esm2015/models/hockey-statistic.js +8 -1
- package/fesm2015/mtgame-core.js +20 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/hockey-game-statistic.d.ts +8 -0
- package/models/hockey-statistic.d.ts +7 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4939,6 +4939,16 @@
|
|
|
4939
4939
|
enumerable: false,
|
|
4940
4940
|
configurable: true
|
|
4941
4941
|
});
|
|
4942
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "shootoutSavesPercent", {
|
|
4943
|
+
get: function () {
|
|
4944
|
+
if (!this.shootoutShotsAgainst || !this.shootoutSaves) {
|
|
4945
|
+
return 0;
|
|
4946
|
+
}
|
|
4947
|
+
return Math.round(1000 * this.shootoutSaves / this.shootoutShotsAgainst) / 10;
|
|
4948
|
+
},
|
|
4949
|
+
enumerable: false,
|
|
4950
|
+
configurable: true
|
|
4951
|
+
});
|
|
4942
4952
|
Object.defineProperty(HockeyGameStatistic.prototype, "totalGoalsAgainst", {
|
|
4943
4953
|
get: function () {
|
|
4944
4954
|
return (this.goalsAgainst || 0) + (this.shootoutGoalsAgainst || 0);
|
|
@@ -5018,9 +5028,15 @@
|
|
|
5018
5028
|
block_shots: 'blockShots',
|
|
5019
5029
|
face_off_losses: 'faceOffLosses',
|
|
5020
5030
|
face_off_wins: 'faceOffWins',
|
|
5031
|
+
pp_saves: 'ppSaves',
|
|
5032
|
+
sh_saves: 'shSaves',
|
|
5033
|
+
ev_saves: 'evSaves',
|
|
5021
5034
|
saves: 'saves',
|
|
5022
5035
|
shootout_save: 'shootoutSaves',
|
|
5023
5036
|
after_game_shootout_saves: 'afterGameShootoutSaves',
|
|
5037
|
+
pp_goals_against: 'ppGoalsAgainst',
|
|
5038
|
+
sh_goals_against: 'shGoalsAgainst',
|
|
5039
|
+
ev_goals_against: 'evGoalsAgainst',
|
|
5024
5040
|
goals_against: 'goalsAgainst',
|
|
5025
5041
|
shootout_goals_against: 'shootoutGoalsAgainst',
|
|
5026
5042
|
after_game_shootout_goals_against: 'afterGameShootoutGoalsAgainst',
|
|
@@ -5043,6 +5059,7 @@
|
|
|
5043
5059
|
drawn_fouls: 'drawnFouls',
|
|
5044
5060
|
efficiency: 'efficiency',
|
|
5045
5061
|
games_qualified_for_playoff: 'gamesQualifiedForPlayoff',
|
|
5062
|
+
shutout: 'shutout'
|
|
5046
5063
|
},
|
|
5047
5064
|
relation: {
|
|
5048
5065
|
updatedAt: DateTimeField,
|
|
@@ -5165,6 +5182,9 @@
|
|
|
5165
5182
|
face_off_wins: 'faceOffWins',
|
|
5166
5183
|
face_offs: 'faceOffs',
|
|
5167
5184
|
face_off_percent: 'faceOffPercent',
|
|
5185
|
+
pp_saves: 'ppSaves',
|
|
5186
|
+
sh_saves: 'shSaves',
|
|
5187
|
+
ev_saves: 'evSaves',
|
|
5168
5188
|
saves: 'saves',
|
|
5169
5189
|
total_saves: 'totalSaves',
|
|
5170
5190
|
shootout_saves: 'shootoutSaves',
|
|
@@ -5172,7 +5192,11 @@
|
|
|
5172
5192
|
shootout_shots_against: 'shootoutShotsAgainst',
|
|
5173
5193
|
total_shots_against: 'totalShotsAgainst',
|
|
5174
5194
|
saves_percent: 'savesPercent',
|
|
5195
|
+
shootout_saves_percent: 'shootoutSavesPercent',
|
|
5175
5196
|
total_saves_percent: 'totalSavesPercent',
|
|
5197
|
+
pp_goals_against: 'ppGoalsAgainst',
|
|
5198
|
+
sh_goals_against: 'shGoalsAgainst',
|
|
5199
|
+
ev_goals_against: 'evGoalsAgainst',
|
|
5176
5200
|
goals_against: 'goalsAgainst',
|
|
5177
5201
|
shootout_goals_against: 'shootoutGoalsAgainst',
|
|
5178
5202
|
total_goals_against: 'totalGoalsAgainst',
|