@mtgame/core 0.1.17 → 0.1.19
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/api/tournament-api.d.ts +1 -0
- package/bundles/mtgame-core.umd.js +21 -0
- 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/api/tournament-api.js +1 -1
- package/esm2015/models/hockey-game-config.js +10 -1
- package/esm5/api/tournament-api.js +1 -1
- package/esm5/models/hockey-game-config.js +22 -1
- package/fesm2015/mtgame-core.js +9 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +21 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-config.d.ts +3 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/api/tournament-api.d.ts
CHANGED
|
@@ -1679,6 +1679,27 @@
|
|
|
1679
1679
|
}
|
|
1680
1680
|
HockeyGameConfig.toFront = function (data) { };
|
|
1681
1681
|
HockeyGameConfig.toBack = function (data) { };
|
|
1682
|
+
Object.defineProperty(HockeyGameConfig.prototype, "overtimePeriod", {
|
|
1683
|
+
get: function () {
|
|
1684
|
+
return this.periodsCount + 1;
|
|
1685
|
+
},
|
|
1686
|
+
enumerable: true,
|
|
1687
|
+
configurable: true
|
|
1688
|
+
});
|
|
1689
|
+
Object.defineProperty(HockeyGameConfig.prototype, "bullitsPeriod", {
|
|
1690
|
+
get: function () {
|
|
1691
|
+
return this.periodsCount + 2;
|
|
1692
|
+
},
|
|
1693
|
+
enumerable: true,
|
|
1694
|
+
configurable: true
|
|
1695
|
+
});
|
|
1696
|
+
Object.defineProperty(HockeyGameConfig.prototype, "playoffBullitsPeriod", {
|
|
1697
|
+
get: function () {
|
|
1698
|
+
return this.periodsCount + 3;
|
|
1699
|
+
},
|
|
1700
|
+
enumerable: true,
|
|
1701
|
+
configurable: true
|
|
1702
|
+
});
|
|
1682
1703
|
__decorate([
|
|
1683
1704
|
ToFrontHook
|
|
1684
1705
|
], HockeyGameConfig, "toFront", null);
|