@mtgame/core 0.1.23 → 0.1.24
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 +7 -2
- 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/football-game-log.js +2 -1
- package/esm2015/models/football-game-statistic.js +5 -3
- package/esm2015/models/football-statistic.js +3 -1
- package/esm5/models/football-game-log.js +2 -1
- package/esm5/models/football-game-statistic.js +5 -3
- package/esm5/models/football-statistic.js +3 -1
- package/fesm2015/mtgame-core.js +7 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +7 -2
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/football-game-log.d.ts +2 -1
- package/models/football-game-statistic.d.ts +2 -0
- package/models/football-statistic.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3646,6 +3646,7 @@
|
|
|
3646
3646
|
FootballGameLogTypes[FootballGameLogTypes["steal"] = 23] = "steal";
|
|
3647
3647
|
FootballGameLogTypes[FootballGameLogTypes["out"] = 24] = "out";
|
|
3648
3648
|
FootballGameLogTypes[FootballGameLogTypes["timeout"] = 25] = "timeout";
|
|
3649
|
+
FootballGameLogTypes[FootballGameLogTypes["auto_goal"] = 26] = "auto_goal";
|
|
3649
3650
|
})(exports.FootballGameLogTypes || (exports.FootballGameLogTypes = {}));
|
|
3650
3651
|
var FootballGameLog = /** @class */ (function (_super) {
|
|
3651
3652
|
__extends(FootballGameLog, _super);
|
|
@@ -3820,7 +3821,7 @@
|
|
|
3820
3821
|
});
|
|
3821
3822
|
Object.defineProperty(FootballGameStatistic.prototype, "totalGoalsAgainst", {
|
|
3822
3823
|
get: function () {
|
|
3823
|
-
return (this.goalsAgainst || 0) + (this.penaltyGoalsAgainst || 0) + (this.smallPenaltyGoalsAgainst || 0);
|
|
3824
|
+
return (this.goalsAgainst || 0) + (this.penaltyGoalsAgainst || 0) + (this.smallPenaltyGoalsAgainst || 0) + (this.autoGoalsAgainst || 0);
|
|
3824
3825
|
},
|
|
3825
3826
|
enumerable: true,
|
|
3826
3827
|
configurable: true
|
|
@@ -3910,7 +3911,9 @@
|
|
|
3910
3911
|
losses: 'losses',
|
|
3911
3912
|
steals: 'steals',
|
|
3912
3913
|
outs: 'outs',
|
|
3913
|
-
block_shots: 'blockShots'
|
|
3914
|
+
block_shots: 'blockShots',
|
|
3915
|
+
auto_goals: 'autoGoals',
|
|
3916
|
+
auto_goals_against: 'autoGoalsAgainst'
|
|
3914
3917
|
},
|
|
3915
3918
|
relation: {
|
|
3916
3919
|
updatedAt: DateTimeField,
|
|
@@ -4002,6 +4005,8 @@
|
|
|
4002
4005
|
plus_minus: 'plusMinus',
|
|
4003
4006
|
newbie: 'newbie',
|
|
4004
4007
|
rank: 'rank',
|
|
4008
|
+
auto_goals: 'autoGoals',
|
|
4009
|
+
auto_goals_against: 'autoGoalsAgainst',
|
|
4005
4010
|
},
|
|
4006
4011
|
relation: {
|
|
4007
4012
|
tournamentTeamUser: TournamentTeamUser,
|