@mtgame/core 0.1.14 → 0.1.16
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/volleyball-game-api.d.ts +1 -0
- package/bundles/mtgame-core.umd.js +11 -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/volleyball-game-api.js +9 -1
- package/esm2015/models/volleyball-game-log.js +2 -1
- package/esm5/api/volleyball-game-api.js +11 -1
- package/esm5/models/volleyball-game-log.js +2 -1
- package/fesm2015/mtgame-core.js +9 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +11 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/volleyball-game-log.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -8016,6 +8016,7 @@ var VolleyballGameLog = /** @class */ (function (_super) {
|
|
|
8016
8016
|
position: 'position',
|
|
8017
8017
|
team_id: 'teamId',
|
|
8018
8018
|
datetime: 'datetime',
|
|
8019
|
+
is_highlight: 'isHighlight',
|
|
8019
8020
|
},
|
|
8020
8021
|
relation: {
|
|
8021
8022
|
logType: enumField(VolleyballGameLogType),
|
|
@@ -8062,6 +8063,16 @@ var VolleyballGameApi = /** @class */ (function (_super) {
|
|
|
8062
8063
|
});
|
|
8063
8064
|
});
|
|
8064
8065
|
};
|
|
8066
|
+
VolleyballGameApi.prototype.downloadProtocolLight = function (gameId, format) {
|
|
8067
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8068
|
+
return __generator(this, function (_a) {
|
|
8069
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_volleyball_game/" + gameId + "/game_protocol_light/", {
|
|
8070
|
+
params: new HttpParams().set('file_type', format),
|
|
8071
|
+
responseType: 'blob'
|
|
8072
|
+
}).toPromise()];
|
|
8073
|
+
});
|
|
8074
|
+
});
|
|
8075
|
+
};
|
|
8065
8076
|
VolleyballGameApi.prototype.downloadProtocol = function (gameId, format) {
|
|
8066
8077
|
return __awaiter(this, void 0, void 0, function () {
|
|
8067
8078
|
return __generator(this, function (_a) {
|