@mtgame/core 0.0.35 → 0.0.37
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/basketball-game-api.d.ts +1 -1
- package/bundles/mtgame-core.umd.js +3 -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/api/basketball-game-api.js +3 -3
- package/esm2015/models/hockey-game-log.js +2 -1
- package/esm5/api/basketball-game-api.js +3 -3
- package/esm5/models/hockey-game-log.js +2 -1
- package/fesm2015/mtgame-core.js +3 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +3 -2
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-log.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2176,10 +2176,10 @@ var BasketballGameApi = /** @class */ (function () {
|
|
|
2176
2176
|
});
|
|
2177
2177
|
});
|
|
2178
2178
|
};
|
|
2179
|
-
BasketballGameApi.prototype.downloadProtocol = function (gameId) {
|
|
2179
|
+
BasketballGameApi.prototype.downloadProtocol = function (gameId, fileType) {
|
|
2180
2180
|
return __awaiter(this, void 0, void 0, function () {
|
|
2181
2181
|
return __generator(this, function (_a) {
|
|
2182
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol
|
|
2182
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol/?file_type=" + fileType, { responseType: 'blob' })
|
|
2183
2183
|
.toPromise()];
|
|
2184
2184
|
});
|
|
2185
2185
|
});
|
|
@@ -2420,6 +2420,7 @@ var HockeyGameLog = /** @class */ (function (_super) {
|
|
|
2420
2420
|
is_goalie: 'isGoalie',
|
|
2421
2421
|
penalty_type: 'penaltyType',
|
|
2422
2422
|
penalized_game_user_id: 'penalizedGameUserId',
|
|
2423
|
+
mutual_penalty: 'mutualPenalty',
|
|
2423
2424
|
},
|
|
2424
2425
|
relation: {
|
|
2425
2426
|
datetime: DateTimeField,
|