@mtgame/core 0.0.60 → 0.0.61
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 +9 -3
- 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/file.js +5 -3
- package/esm2015/models/league.js +9 -3
- package/esm5/models/file.js +5 -3
- package/esm5/models/league.js +8 -4
- package/fesm2015/mtgame-core.js +10 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +9 -3
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/file.d.ts +2 -1
- package/models/league.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -595,9 +595,11 @@
|
|
|
595
595
|
mime_type: 'mimeType',
|
|
596
596
|
size: 'size',
|
|
597
597
|
engine: 'engine',
|
|
598
|
+
created_at: 'createdAt',
|
|
598
599
|
},
|
|
599
600
|
relation: {
|
|
600
|
-
engine: enumField(exports.FileEngine)
|
|
601
|
+
engine: enumField(exports.FileEngine),
|
|
602
|
+
createdAt: DateTimeField,
|
|
601
603
|
}
|
|
602
604
|
})
|
|
603
605
|
], File);
|
|
@@ -1093,7 +1095,9 @@
|
|
|
1093
1095
|
var League = /** @class */ (function (_super) {
|
|
1094
1096
|
__extends(League, _super);
|
|
1095
1097
|
function League() {
|
|
1096
|
-
|
|
1098
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1099
|
+
_this.regulationFiles = [];
|
|
1100
|
+
return _this;
|
|
1097
1101
|
}
|
|
1098
1102
|
League.toFront = function (data) { };
|
|
1099
1103
|
League.toBack = function (data) { };
|
|
@@ -1142,12 +1146,14 @@
|
|
|
1142
1146
|
closest_game_datetime: 'closestGameDatetime',
|
|
1143
1147
|
cover: 'cover',
|
|
1144
1148
|
about: 'about',
|
|
1149
|
+
regulation_files: 'regulationFiles',
|
|
1145
1150
|
},
|
|
1146
1151
|
relation: {
|
|
1147
1152
|
organization: Organization,
|
|
1148
1153
|
logo: File,
|
|
1149
1154
|
cover: File,
|
|
1150
|
-
sport: Sport
|
|
1155
|
+
sport: Sport,
|
|
1156
|
+
regulationFiles: listField(File),
|
|
1151
1157
|
}
|
|
1152
1158
|
})
|
|
1153
1159
|
], League);
|