@mtgame/core 0.2.24 → 0.2.25
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 +5 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/league.js +6 -1
- package/fesm2015/mtgame-core.js +5 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/league.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1481,6 +1481,10 @@
|
|
|
1481
1481
|
enumerable: false,
|
|
1482
1482
|
configurable: true
|
|
1483
1483
|
});
|
|
1484
|
+
League.prototype.getRuDomain = function () {
|
|
1485
|
+
var domainSplit = this.domain.split('.');
|
|
1486
|
+
return domainSplit[(domainSplit.length - 1)] === 'ru';
|
|
1487
|
+
};
|
|
1484
1488
|
return League;
|
|
1485
1489
|
}(BaseModel));
|
|
1486
1490
|
__decorate([
|
|
@@ -1498,6 +1502,7 @@
|
|
|
1498
1502
|
contact_phone: 'contactPhone',
|
|
1499
1503
|
name: 'name',
|
|
1500
1504
|
alias: 'alias',
|
|
1505
|
+
domain: 'domain',
|
|
1501
1506
|
sport: 'sport',
|
|
1502
1507
|
description: 'description',
|
|
1503
1508
|
social_links: 'socialLinks',
|