@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
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2307,34 +2307,6 @@ var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
|
2307
2307
|
enumerable: true,
|
|
2308
2308
|
configurable: true
|
|
2309
2309
|
});
|
|
2310
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotMisses", {
|
|
2311
|
-
get: function () {
|
|
2312
|
-
return (this.ppShotMisses || 0) + (this.evShotMisses || 0) + (this.shShotMisses || 0);
|
|
2313
|
-
},
|
|
2314
|
-
enumerable: true,
|
|
2315
|
-
configurable: true
|
|
2316
|
-
});
|
|
2317
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotsOnGoal", {
|
|
2318
|
-
get: function () {
|
|
2319
|
-
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0);
|
|
2320
|
-
},
|
|
2321
|
-
enumerable: true,
|
|
2322
|
-
configurable: true
|
|
2323
|
-
});
|
|
2324
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "shotsBlocked", {
|
|
2325
|
-
get: function () {
|
|
2326
|
-
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
|
|
2327
|
-
},
|
|
2328
|
-
enumerable: true,
|
|
2329
|
-
configurable: true
|
|
2330
|
-
});
|
|
2331
|
-
Object.defineProperty(HockeyGameStatistic.prototype, "goals", {
|
|
2332
|
-
get: function () {
|
|
2333
|
-
return (this.ppGoals || 0) + (this.evGoals || 0) + (this.shGoals || 0);
|
|
2334
|
-
},
|
|
2335
|
-
enumerable: true,
|
|
2336
|
-
configurable: true
|
|
2337
|
-
});
|
|
2338
2310
|
Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
|
|
2339
2311
|
get: function () {
|
|
2340
2312
|
return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
|
|
@@ -2370,18 +2342,32 @@ var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
|
2370
2342
|
game_user_id: 'gameUserId',
|
|
2371
2343
|
updated_at: 'updatedAt',
|
|
2372
2344
|
points: 'points',
|
|
2345
|
+
pp_shots: 'ppShots',
|
|
2373
2346
|
pp_shot_misses: 'ppShotMisses',
|
|
2374
2347
|
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2375
2348
|
pp_shots_blocked: 'ppShotsBlocked',
|
|
2349
|
+
ev_shots: 'evShots',
|
|
2376
2350
|
ev_shot_misses: 'evShotMisses',
|
|
2377
2351
|
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2378
2352
|
ev_shots_blocked: 'evShotsBlocked',
|
|
2379
|
-
|
|
2353
|
+
sh_shots: 'shShots',
|
|
2354
|
+
sh_shot_misses: 'shShotMisses',
|
|
2380
2355
|
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2381
2356
|
sh_shots_blocked: 'shShotsBlocked',
|
|
2357
|
+
pp_goals_percent: 'ppGoalsPercent',
|
|
2382
2358
|
pp_goals: 'ppGoals',
|
|
2359
|
+
ev_goals_percent: 'evGoalsPercent',
|
|
2383
2360
|
ev_goals: 'evGoals',
|
|
2361
|
+
sh_goals_percent: 'shGoalsPercent',
|
|
2362
|
+
goals: 'goals',
|
|
2384
2363
|
sh_goals: 'shGoals',
|
|
2364
|
+
shot_misses: 'shotMisses',
|
|
2365
|
+
shots_on_goal: 'shotsOnGoal',
|
|
2366
|
+
shots_blocked: 'shotsBlocked',
|
|
2367
|
+
shots: 'shots',
|
|
2368
|
+
goals_percent: 'goalsPercent',
|
|
2369
|
+
shots_against: 'shotsAgainst',
|
|
2370
|
+
saves_percent: 'savesPercent',
|
|
2385
2371
|
pp_assists: 'ppAssists',
|
|
2386
2372
|
ev_assists: 'evAssists',
|
|
2387
2373
|
sh_assists: 'shAssists',
|