@mtgame/core 0.1.70 → 0.1.72
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 +17 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/football-statistic.js +7 -1
- package/esm2015/models/organization-statistic.js +2 -1
- package/esm2015/models/organization.js +3 -2
- package/fesm2015/mtgame-core.js +9 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/football-statistic.d.ts +2 -0
- package/models/organization-statistic.d.ts +1 -0
- package/models/organization.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1345,7 +1345,8 @@
|
|
|
1345
1345
|
name: 'name',
|
|
1346
1346
|
phone: 'phone',
|
|
1347
1347
|
email: 'email',
|
|
1348
|
-
unpaid_bills_sum: 'unpaidBillsSum'
|
|
1348
|
+
unpaid_bills_sum: 'unpaidBillsSum',
|
|
1349
|
+
unpaid_game_bills_sum: 'unpaidGameBillsSum',
|
|
1349
1350
|
},
|
|
1350
1351
|
relation: {
|
|
1351
1352
|
owner: exports.User,
|
|
@@ -4468,6 +4469,20 @@
|
|
|
4468
4469
|
enumerable: false,
|
|
4469
4470
|
configurable: true
|
|
4470
4471
|
});
|
|
4472
|
+
Object.defineProperty(FootballStatistic.prototype, "penalties", {
|
|
4473
|
+
get: function () {
|
|
4474
|
+
return (this.penaltyGoals || 0) + (this.penaltyAttempts || 0);
|
|
4475
|
+
},
|
|
4476
|
+
enumerable: false,
|
|
4477
|
+
configurable: true
|
|
4478
|
+
});
|
|
4479
|
+
Object.defineProperty(FootballStatistic.prototype, "smallPenalties", {
|
|
4480
|
+
get: function () {
|
|
4481
|
+
return (this.smallPenaltyGoals || 0) + (this.smallPenaltyAttempts || 0);
|
|
4482
|
+
},
|
|
4483
|
+
enumerable: false,
|
|
4484
|
+
configurable: true
|
|
4485
|
+
});
|
|
4471
4486
|
Object.defineProperty(FootballStatistic.prototype, "tournamentTeamPoints", {
|
|
4472
4487
|
get: function () {
|
|
4473
4488
|
return this.tournamentTeam && this.tournamentTeam.points;
|
|
@@ -9888,6 +9903,7 @@
|
|
|
9888
9903
|
teams_count: 'teamsCount',
|
|
9889
9904
|
games_count: 'gamesCount',
|
|
9890
9905
|
paid_sum: 'paidSum',
|
|
9906
|
+
debt_sum: 'debtSum',
|
|
9891
9907
|
},
|
|
9892
9908
|
})
|
|
9893
9909
|
], exports.OrganizationStatistic);
|