@mtgame/core 0.1.52 → 0.1.54
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/game.js +3 -3
- package/esm2015/models/tournament.js +6 -1
- package/esm5/models/game.js +3 -3
- package/esm5/models/tournament.js +6 -1
- package/fesm2015/mtgame-core.js +8 -3
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +8 -3
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/tournament.d.ts +4 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1386,6 +1386,11 @@
|
|
|
1386
1386
|
VolleyballStatisticTypes[VolleyballStatisticTypes["advanced"] = 3] = "advanced";
|
|
1387
1387
|
})(exports.VolleyballStatisticTypes || (exports.VolleyballStatisticTypes = {}));
|
|
1388
1388
|
|
|
1389
|
+
(function (RugbyStatisticTypes) {
|
|
1390
|
+
RugbyStatisticTypes[RugbyStatisticTypes["light"] = 1] = "light";
|
|
1391
|
+
RugbyStatisticTypes[RugbyStatisticTypes["standard"] = 2] = "standard";
|
|
1392
|
+
})(exports.RugbyStatisticTypes || (exports.RugbyStatisticTypes = {}));
|
|
1393
|
+
|
|
1389
1394
|
(function (GameTimeTypes) {
|
|
1390
1395
|
GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
|
|
1391
1396
|
GameTimeTypes[GameTimeTypes["dirty"] = 2] = "dirty";
|
|
@@ -2241,10 +2246,10 @@
|
|
|
2241
2246
|
return null;
|
|
2242
2247
|
}
|
|
2243
2248
|
if (this.isTeamWon) {
|
|
2244
|
-
return this.team.id;
|
|
2249
|
+
return this.team.id || this.teamId;
|
|
2245
2250
|
}
|
|
2246
2251
|
if (this.isCompetitorTeamWon) {
|
|
2247
|
-
return this.competitorTeam.id;
|
|
2252
|
+
return this.competitorTeam.id || this.competitorTeamId;
|
|
2248
2253
|
}
|
|
2249
2254
|
return null;
|
|
2250
2255
|
},
|