@mtgame/core 1.0.43 → 1.0.45
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 +62 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/camera.js +29 -0
- package/esm2015/models/hockey-game-log.js +2 -1
- package/esm2015/models/public-api.js +3 -1
- package/esm2015/models/recording.js +29 -0
- package/fesm2015/mtgame-core.js +53 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/camera.d.ts +11 -0
- package/models/hockey-game-log.d.ts +1 -0
- package/models/public-api.d.ts +2 -0
- package/models/recording.d.ts +11 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5154,6 +5154,7 @@
|
|
|
5154
5154
|
penalized_game_user_id: 'penalizedGameUserId',
|
|
5155
5155
|
mutual_penalty: 'mutualPenalty',
|
|
5156
5156
|
foul_on_game_user_id: 'foulOnGameUserId',
|
|
5157
|
+
video_url: 'videoUrl',
|
|
5157
5158
|
},
|
|
5158
5159
|
relation: {
|
|
5159
5160
|
datetime: DateTimeField,
|
|
@@ -16147,6 +16148,67 @@
|
|
|
16147
16148
|
_c$2),
|
|
16148
16149
|
_a$2);
|
|
16149
16150
|
|
|
16151
|
+
exports.Recording = /** @class */ (function (_super) {
|
|
16152
|
+
__extends(Recording, _super);
|
|
16153
|
+
function Recording() {
|
|
16154
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
16155
|
+
}
|
|
16156
|
+
Recording.toFront = function (data) { };
|
|
16157
|
+
Recording.toBack = function (data) { };
|
|
16158
|
+
return Recording;
|
|
16159
|
+
}(BaseModel));
|
|
16160
|
+
__decorate([
|
|
16161
|
+
ToFrontHook
|
|
16162
|
+
], exports.Recording, "toFront", null);
|
|
16163
|
+
__decorate([
|
|
16164
|
+
ToBackHook
|
|
16165
|
+
], exports.Recording, "toBack", null);
|
|
16166
|
+
exports.Recording = __decorate([
|
|
16167
|
+
ModelInstance({
|
|
16168
|
+
mappingFields: {
|
|
16169
|
+
id: 'id',
|
|
16170
|
+
camera_id: 'cameraId',
|
|
16171
|
+
recording_key: 'recordingKey',
|
|
16172
|
+
start_date: 'startDate',
|
|
16173
|
+
embed_url: 'embedUrl',
|
|
16174
|
+
is_live: 'isLive',
|
|
16175
|
+
},
|
|
16176
|
+
relation: {
|
|
16177
|
+
startDate: DateField,
|
|
16178
|
+
}
|
|
16179
|
+
})
|
|
16180
|
+
], exports.Recording);
|
|
16181
|
+
|
|
16182
|
+
exports.Camera = /** @class */ (function (_super) {
|
|
16183
|
+
__extends(Camera, _super);
|
|
16184
|
+
function Camera() {
|
|
16185
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
16186
|
+
}
|
|
16187
|
+
Camera.toFront = function (data) { };
|
|
16188
|
+
Camera.toBack = function (data) { };
|
|
16189
|
+
return Camera;
|
|
16190
|
+
}(BaseModel));
|
|
16191
|
+
__decorate([
|
|
16192
|
+
ToFrontHook
|
|
16193
|
+
], exports.Camera, "toFront", null);
|
|
16194
|
+
__decorate([
|
|
16195
|
+
ToBackHook
|
|
16196
|
+
], exports.Camera, "toBack", null);
|
|
16197
|
+
exports.Camera = __decorate([
|
|
16198
|
+
ModelInstance({
|
|
16199
|
+
mappingFields: {
|
|
16200
|
+
id: 'id',
|
|
16201
|
+
name: 'name',
|
|
16202
|
+
token: 'token',
|
|
16203
|
+
league_id: 'leagueId',
|
|
16204
|
+
live_recording: 'liveRecording',
|
|
16205
|
+
},
|
|
16206
|
+
relation: {
|
|
16207
|
+
liveRecording: exports.Recording
|
|
16208
|
+
}
|
|
16209
|
+
})
|
|
16210
|
+
], exports.Camera);
|
|
16211
|
+
|
|
16150
16212
|
var _a$1, _b$1, _c$1;
|
|
16151
16213
|
exports.OrganizationBillStatuses = void 0;
|
|
16152
16214
|
(function (OrganizationBillStatuses) {
|