@mtgame/core 0.1.62 → 0.1.63
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 +11 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/organization.js +12 -2
- package/esm2015/models/tournament.js +2 -1
- package/fesm2015/mtgame-core.js +12 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/organization.d.ts +8 -0
- package/models/tournament.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1315,6 +1315,11 @@
|
|
|
1315
1315
|
})
|
|
1316
1316
|
], exports.Team);
|
|
1317
1317
|
|
|
1318
|
+
exports.OrganizationStatuses = void 0;
|
|
1319
|
+
(function (OrganizationStatuses) {
|
|
1320
|
+
OrganizationStatuses[OrganizationStatuses["open"] = 1] = "open";
|
|
1321
|
+
OrganizationStatuses[OrganizationStatuses["blocked"] = 2] = "blocked";
|
|
1322
|
+
})(exports.OrganizationStatuses || (exports.OrganizationStatuses = {}));
|
|
1318
1323
|
exports.Organization = /** @class */ (function (_super) {
|
|
1319
1324
|
__extends(Organization, _super);
|
|
1320
1325
|
function Organization() {
|
|
@@ -1336,9 +1341,14 @@
|
|
|
1336
1341
|
id: 'id',
|
|
1337
1342
|
owner_id: 'ownerId',
|
|
1338
1343
|
owner: 'owner',
|
|
1344
|
+
status: 'status',
|
|
1345
|
+
name: 'name',
|
|
1346
|
+
phone: 'phone',
|
|
1347
|
+
email: 'email',
|
|
1339
1348
|
},
|
|
1340
1349
|
relation: {
|
|
1341
1350
|
owner: exports.User,
|
|
1351
|
+
status: enumField(exports.OrganizationStatuses)
|
|
1342
1352
|
}
|
|
1343
1353
|
})
|
|
1344
1354
|
], exports.Organization);
|
|
@@ -1679,6 +1689,7 @@
|
|
|
1679
1689
|
team_third: 'teamThird',
|
|
1680
1690
|
season: 'season',
|
|
1681
1691
|
season_id: 'seasonId',
|
|
1692
|
+
game_price: 'gamePrice',
|
|
1682
1693
|
},
|
|
1683
1694
|
relation: {
|
|
1684
1695
|
logo: exports.File,
|