@mtgame/core 0.0.9 → 0.0.11
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/hockey-game-api.d.ts +17 -0
- package/api/public-api.d.ts +1 -0
- package/api/tournament-api.d.ts +2 -0
- package/bundles/mtgame-core.umd.js +551 -47
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +2 -2
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/hockey-game-api.js +54 -0
- package/esm2015/api/public-api.js +2 -1
- package/esm2015/api/tournament-api.js +18 -1
- package/esm2015/localization/hockey-game-log-types.js +23 -0
- package/esm2015/localization/overtime-types.js +7 -3
- package/esm2015/localization/public-api.js +2 -1
- package/esm2015/models/base-statistic.js +3 -0
- package/esm2015/models/basketball-game-config.js +2 -8
- package/esm2015/models/basketball-statistic.js +4 -3
- package/esm2015/models/game.js +4 -1
- package/esm2015/models/hockey-game-config.js +34 -0
- package/esm2015/models/hockey-game-log.js +87 -0
- package/esm2015/models/hockey-game-statistic.js +78 -0
- package/esm2015/models/hockey-game-team-statistic.js +27 -0
- package/esm2015/models/hockey-profile.js +41 -0
- package/esm2015/models/hockey-statistic.js +71 -0
- package/esm2015/models/public-api.js +9 -2
- package/esm2015/models/sport.js +13 -1
- package/esm2015/models/tournament.js +12 -1
- package/esm2015/models/user.js +4 -1
- package/esm2015/models/volleyball-statistic.js +4 -3
- package/esm5/api/hockey-game-api.js +65 -0
- package/esm5/api/public-api.js +2 -1
- package/esm5/api/tournament-api.js +32 -1
- package/esm5/localization/hockey-game-log-types.js +24 -0
- package/esm5/localization/overtime-types.js +6 -2
- package/esm5/localization/public-api.js +2 -1
- package/esm5/models/base-statistic.js +7 -0
- package/esm5/models/basketball-game-config.js +2 -8
- package/esm5/models/basketball-statistic.js +4 -3
- package/esm5/models/game.js +4 -1
- package/esm5/models/hockey-game-config.js +39 -0
- package/esm5/models/hockey-game-log.js +94 -0
- package/esm5/models/hockey-game-statistic.js +99 -0
- package/esm5/models/hockey-game-team-statistic.js +32 -0
- package/esm5/models/hockey-profile.js +46 -0
- package/esm5/models/hockey-statistic.js +76 -0
- package/esm5/models/public-api.js +9 -2
- package/esm5/models/sport.js +13 -1
- package/esm5/models/tournament.js +12 -1
- package/esm5/models/user.js +4 -1
- package/esm5/models/volleyball-statistic.js +4 -3
- package/fesm2015/mtgame-core.js +428 -10
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +543 -48
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/hockey-game-log-types.d.ts +22 -0
- package/localization/overtime-types.d.ts +5 -1
- package/localization/public-api.d.ts +1 -0
- package/models/base-statistic.d.ts +17 -0
- package/models/basketball-game-config.d.ts +1 -6
- package/models/basketball-statistic.d.ts +2 -2
- package/models/game.d.ts +2 -0
- package/models/hockey-game-config.d.ts +15 -0
- package/models/hockey-game-log.d.ts +52 -0
- package/models/hockey-game-statistic.d.ts +53 -0
- package/models/hockey-game-team-statistic.d.ts +8 -0
- package/models/hockey-profile.d.ts +18 -0
- package/models/hockey-statistic.d.ts +47 -0
- package/models/public-api.d.ts +8 -1
- package/models/sport.d.ts +7 -1
- package/models/tournament.d.ts +10 -1
- package/models/user.d.ts +2 -0
- package/models/volleyball-statistic.d.ts +2 -17
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -540,6 +540,9 @@
|
|
|
540
540
|
SportTypes[SportTypes["streetball"] = 4] = "streetball";
|
|
541
541
|
SportTypes[SportTypes["classic_volleyball"] = 5] = "classic_volleyball";
|
|
542
542
|
SportTypes[SportTypes["beach_volleyball"] = 6] = "beach_volleyball";
|
|
543
|
+
SportTypes[SportTypes["hockey"] = 7] = "hockey";
|
|
544
|
+
SportTypes[SportTypes["ice_hockey"] = 8] = "ice_hockey";
|
|
545
|
+
SportTypes[SportTypes["ball_hockey"] = 9] = "ball_hockey";
|
|
543
546
|
})(exports.SportTypes || (exports.SportTypes = {}));
|
|
544
547
|
var Sport = /** @class */ (function (_super) {
|
|
545
548
|
__extends(Sport, _super);
|
|
@@ -564,6 +567,15 @@
|
|
|
564
567
|
Sport.prototype.isBeachVolleyball = function () {
|
|
565
568
|
return this.id === exports.SportTypes.beach_volleyball;
|
|
566
569
|
};
|
|
570
|
+
Sport.prototype.isHockey = function () {
|
|
571
|
+
return this.id === exports.SportTypes.hockey || this.parentId === exports.SportTypes.hockey;
|
|
572
|
+
};
|
|
573
|
+
Sport.prototype.isIceHockey = function () {
|
|
574
|
+
return this.id === exports.SportTypes.ice_hockey;
|
|
575
|
+
};
|
|
576
|
+
Sport.prototype.isBallHockey = function () {
|
|
577
|
+
return this.id === exports.SportTypes.ball_hockey;
|
|
578
|
+
};
|
|
567
579
|
Sport.toFront = function (data) {
|
|
568
580
|
return null;
|
|
569
581
|
};
|
|
@@ -728,6 +740,49 @@
|
|
|
728
740
|
}(BaseModel));
|
|
729
741
|
|
|
730
742
|
|
|
743
|
+
(function (GameHockeyPosition) {
|
|
744
|
+
GameHockeyPosition[GameHockeyPosition["defensemen"] = 1] = "defensemen";
|
|
745
|
+
GameHockeyPosition[GameHockeyPosition["forward"] = 2] = "forward";
|
|
746
|
+
GameHockeyPosition[GameHockeyPosition["goaltender"] = 3] = "goaltender";
|
|
747
|
+
})(exports.GameHockeyPosition || (exports.GameHockeyPosition = {}));
|
|
748
|
+
|
|
749
|
+
(function (HockeyWorkHand) {
|
|
750
|
+
HockeyWorkHand[HockeyWorkHand["left"] = 1] = "left";
|
|
751
|
+
HockeyWorkHand[HockeyWorkHand["right"] = 2] = "right";
|
|
752
|
+
})(exports.HockeyWorkHand || (exports.HockeyWorkHand = {}));
|
|
753
|
+
var HockeyProfile = /** @class */ (function (_super) {
|
|
754
|
+
__extends(HockeyProfile, _super);
|
|
755
|
+
function HockeyProfile() {
|
|
756
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
757
|
+
}
|
|
758
|
+
HockeyProfile.toFront = function (value) {
|
|
759
|
+
};
|
|
760
|
+
HockeyProfile.toBack = function (value) {
|
|
761
|
+
};
|
|
762
|
+
__decorate([
|
|
763
|
+
ToFrontHook
|
|
764
|
+
], HockeyProfile, "toFront", null);
|
|
765
|
+
__decorate([
|
|
766
|
+
ToBackHook
|
|
767
|
+
], HockeyProfile, "toBack", null);
|
|
768
|
+
HockeyProfile = __decorate([
|
|
769
|
+
ModelInstance({
|
|
770
|
+
mappingFields: {
|
|
771
|
+
id: 'id',
|
|
772
|
+
user_id: 'userId',
|
|
773
|
+
position: 'position',
|
|
774
|
+
work_hand: 'workHand'
|
|
775
|
+
},
|
|
776
|
+
relation: {
|
|
777
|
+
position: enumField(exports.GameHockeyPosition),
|
|
778
|
+
workHand: enumField(exports.HockeyWorkHand)
|
|
779
|
+
}
|
|
780
|
+
})
|
|
781
|
+
], HockeyProfile);
|
|
782
|
+
return HockeyProfile;
|
|
783
|
+
}(BaseModel));
|
|
784
|
+
|
|
785
|
+
|
|
731
786
|
(function (UserGender) {
|
|
732
787
|
UserGender[UserGender["male"] = 1] = "male";
|
|
733
788
|
UserGender[UserGender["female"] = 2] = "female";
|
|
@@ -795,6 +850,7 @@
|
|
|
795
850
|
profile: 'profile',
|
|
796
851
|
basketball_profile: 'basketballProfile',
|
|
797
852
|
volleyball_profile: 'volleyballProfile',
|
|
853
|
+
hockey_profile: 'hockeyProfile',
|
|
798
854
|
wizards: 'wizards',
|
|
799
855
|
city: 'city',
|
|
800
856
|
gender: 'gender',
|
|
@@ -806,6 +862,7 @@
|
|
|
806
862
|
profile: UserProfile,
|
|
807
863
|
basketballProfile: BasketballProfile,
|
|
808
864
|
volleyballProfile: VolleyballProfile,
|
|
865
|
+
hockeyProfile: HockeyProfile,
|
|
809
866
|
city: City,
|
|
810
867
|
gender: enumField(exports.UserGender)
|
|
811
868
|
}
|
|
@@ -989,6 +1046,16 @@
|
|
|
989
1046
|
GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
|
|
990
1047
|
GameTimeTypes[GameTimeTypes["dirty"] = 2] = "dirty";
|
|
991
1048
|
})(exports.GameTimeTypes || (exports.GameTimeTypes = {}));
|
|
1049
|
+
|
|
1050
|
+
(function (OvertimeTypes) {
|
|
1051
|
+
OvertimeTypes[OvertimeTypes["to_score_total"] = 1] = "to_score_total";
|
|
1052
|
+
OvertimeTypes[OvertimeTypes["to_score_diff"] = 2] = "to_score_diff";
|
|
1053
|
+
OvertimeTypes[OvertimeTypes["time"] = 3] = "time";
|
|
1054
|
+
OvertimeTypes[OvertimeTypes["without_overtime"] = 4] = "without_overtime";
|
|
1055
|
+
OvertimeTypes[OvertimeTypes["to_first_goal"] = 5] = "to_first_goal";
|
|
1056
|
+
OvertimeTypes[OvertimeTypes["to_first_goal_and_bullitts"] = 6] = "to_first_goal_and_bullitts";
|
|
1057
|
+
OvertimeTypes[OvertimeTypes["bullitts"] = 7] = "bullitts";
|
|
1058
|
+
})(exports.OvertimeTypes || (exports.OvertimeTypes = {}));
|
|
992
1059
|
var TournamentSettings = /** @class */ (function (_super) {
|
|
993
1060
|
__extends(TournamentSettings, _super);
|
|
994
1061
|
function TournamentSettings() {
|
|
@@ -1037,6 +1104,7 @@
|
|
|
1037
1104
|
gender: enumField(exports.TournamentGender),
|
|
1038
1105
|
basketballStatisticType: enumField(exports.BasketballStatisticTypes),
|
|
1039
1106
|
gameTimeType: enumField(exports.GameTimeTypes),
|
|
1107
|
+
overtimeType: enumField(exports.OvertimeTypes),
|
|
1040
1108
|
}
|
|
1041
1109
|
})
|
|
1042
1110
|
], TournamentSettings);
|
|
@@ -1135,12 +1203,6 @@
|
|
|
1135
1203
|
return Tournament;
|
|
1136
1204
|
}(BaseModel));
|
|
1137
1205
|
|
|
1138
|
-
|
|
1139
|
-
(function (OvertimeTypes) {
|
|
1140
|
-
OvertimeTypes[OvertimeTypes["to_score_total"] = 1] = "to_score_total";
|
|
1141
|
-
OvertimeTypes[OvertimeTypes["to_score_diff"] = 2] = "to_score_diff";
|
|
1142
|
-
OvertimeTypes[OvertimeTypes["time"] = 3] = "time";
|
|
1143
|
-
})(exports.OvertimeTypes || (exports.OvertimeTypes = {}));
|
|
1144
1206
|
var BasketballGameConfig = /** @class */ (function (_super) {
|
|
1145
1207
|
__extends(BasketballGameConfig, _super);
|
|
1146
1208
|
function BasketballGameConfig() {
|
|
@@ -1298,6 +1360,41 @@
|
|
|
1298
1360
|
return MediaItem;
|
|
1299
1361
|
}(BaseModel));
|
|
1300
1362
|
|
|
1363
|
+
var HockeyGameConfig = /** @class */ (function (_super) {
|
|
1364
|
+
__extends(HockeyGameConfig, _super);
|
|
1365
|
+
function HockeyGameConfig() {
|
|
1366
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1367
|
+
}
|
|
1368
|
+
HockeyGameConfig.toFront = function (data) { };
|
|
1369
|
+
HockeyGameConfig.toBack = function (data) { };
|
|
1370
|
+
__decorate([
|
|
1371
|
+
ToFrontHook
|
|
1372
|
+
], HockeyGameConfig, "toFront", null);
|
|
1373
|
+
__decorate([
|
|
1374
|
+
ToBackHook
|
|
1375
|
+
], HockeyGameConfig, "toBack", null);
|
|
1376
|
+
HockeyGameConfig = __decorate([
|
|
1377
|
+
ModelInstance({
|
|
1378
|
+
mappingFields: {
|
|
1379
|
+
periods_count: 'periodsCount',
|
|
1380
|
+
period_time: 'periodTime',
|
|
1381
|
+
overtime_type: 'overtimeType',
|
|
1382
|
+
overtime_time: 'overtimeTime',
|
|
1383
|
+
max_game_players: 'maxGamePlayers',
|
|
1384
|
+
timeout_count: 'timeoutCount',
|
|
1385
|
+
overtime_timeout_count: 'overtimeTimeoutCount',
|
|
1386
|
+
timeout_time: 'timeoutTime',
|
|
1387
|
+
game_time_type: 'gameTimeType',
|
|
1388
|
+
},
|
|
1389
|
+
relation: {
|
|
1390
|
+
overtimeType: enumField(exports.OvertimeTypes),
|
|
1391
|
+
gameTimeType: enumField(exports.GameTimeTypes),
|
|
1392
|
+
}
|
|
1393
|
+
})
|
|
1394
|
+
], HockeyGameConfig);
|
|
1395
|
+
return HockeyGameConfig;
|
|
1396
|
+
}(BaseModel));
|
|
1397
|
+
|
|
1301
1398
|
|
|
1302
1399
|
(function (GameStatuses) {
|
|
1303
1400
|
GameStatuses[GameStatuses["open"] = 1] = "open";
|
|
@@ -1402,6 +1499,7 @@
|
|
|
1402
1499
|
tournament_tour: 'tournamentTour',
|
|
1403
1500
|
basketball_game_config: 'basketballGameConfig',
|
|
1404
1501
|
volleyball_game_config: 'volleyballGameConfig',
|
|
1502
|
+
hockey_game_config: 'hockeyGameConfig',
|
|
1405
1503
|
score_by_period: 'scoreByPeriod',
|
|
1406
1504
|
playoff_stage: 'playoffStage',
|
|
1407
1505
|
tournament_stage_id: 'tournamentStageId',
|
|
@@ -1418,6 +1516,7 @@
|
|
|
1418
1516
|
resultType: enumField(exports.GameResultTypes),
|
|
1419
1517
|
basketballGameConfig: BasketballGameConfig,
|
|
1420
1518
|
volleyballGameConfig: VolleyballGameConfig,
|
|
1519
|
+
hockeyGameConfig: HockeyGameConfig,
|
|
1421
1520
|
tournamentCourt: LeagueCourt,
|
|
1422
1521
|
media: listField(MediaItem),
|
|
1423
1522
|
}
|
|
@@ -1879,6 +1978,12 @@
|
|
|
1879
1978
|
return ConfigService;
|
|
1880
1979
|
}(BaseService));
|
|
1881
1980
|
|
|
1981
|
+
var BaseStatistic = /** @class */ (function () {
|
|
1982
|
+
function BaseStatistic() {
|
|
1983
|
+
}
|
|
1984
|
+
return BaseStatistic;
|
|
1985
|
+
}());
|
|
1986
|
+
|
|
1882
1987
|
var BasketballStatistic = /** @class */ (function (_super) {
|
|
1883
1988
|
__extends(BasketballStatistic, _super);
|
|
1884
1989
|
function BasketballStatistic() {
|
|
@@ -1947,7 +2052,7 @@
|
|
|
1947
2052
|
})
|
|
1948
2053
|
], BasketballStatistic);
|
|
1949
2054
|
return BasketballStatistic;
|
|
1950
|
-
}(
|
|
2055
|
+
}(BaseStatistic));
|
|
1951
2056
|
|
|
1952
2057
|
var BasketballGameTeamStatistic = /** @class */ (function (_super) {
|
|
1953
2058
|
__extends(BasketballGameTeamStatistic, _super);
|
|
@@ -2312,6 +2417,339 @@
|
|
|
2312
2417
|
return FileApi;
|
|
2313
2418
|
}());
|
|
2314
2419
|
|
|
2420
|
+
|
|
2421
|
+
(function (HockeyGameLogTypes) {
|
|
2422
|
+
HockeyGameLogTypes[HockeyGameLogTypes["enter_game"] = 1] = "enter_game";
|
|
2423
|
+
HockeyGameLogTypes[HockeyGameLogTypes["exit_game"] = 2] = "exit_game";
|
|
2424
|
+
HockeyGameLogTypes[HockeyGameLogTypes["shot_miss"] = 3] = "shot_miss";
|
|
2425
|
+
HockeyGameLogTypes[HockeyGameLogTypes["shot_on_goal"] = 4] = "shot_on_goal";
|
|
2426
|
+
HockeyGameLogTypes[HockeyGameLogTypes["shot_blocked"] = 5] = "shot_blocked";
|
|
2427
|
+
HockeyGameLogTypes[HockeyGameLogTypes["goal"] = 6] = "goal";
|
|
2428
|
+
HockeyGameLogTypes[HockeyGameLogTypes["shootout_attempt"] = 7] = "shootout_attempt";
|
|
2429
|
+
HockeyGameLogTypes[HockeyGameLogTypes["shootout_goal"] = 8] = "shootout_goal";
|
|
2430
|
+
HockeyGameLogTypes[HockeyGameLogTypes["assist"] = 9] = "assist";
|
|
2431
|
+
HockeyGameLogTypes[HockeyGameLogTypes["block_shot"] = 10] = "block_shot";
|
|
2432
|
+
HockeyGameLogTypes[HockeyGameLogTypes["minor_penalty"] = 11] = "minor_penalty";
|
|
2433
|
+
HockeyGameLogTypes[HockeyGameLogTypes["major_penalty"] = 12] = "major_penalty";
|
|
2434
|
+
HockeyGameLogTypes[HockeyGameLogTypes["misconduct_penalty"] = 13] = "misconduct_penalty";
|
|
2435
|
+
HockeyGameLogTypes[HockeyGameLogTypes["game_misconduct_penalty"] = 14] = "game_misconduct_penalty";
|
|
2436
|
+
HockeyGameLogTypes[HockeyGameLogTypes["match_penalty"] = 15] = "match_penalty";
|
|
2437
|
+
HockeyGameLogTypes[HockeyGameLogTypes["penalty_shot"] = 16] = "penalty_shot";
|
|
2438
|
+
HockeyGameLogTypes[HockeyGameLogTypes["face_off_lose"] = 17] = "face_off_lose";
|
|
2439
|
+
HockeyGameLogTypes[HockeyGameLogTypes["face_off_win"] = 18] = "face_off_win";
|
|
2440
|
+
HockeyGameLogTypes[HockeyGameLogTypes["save"] = 19] = "save";
|
|
2441
|
+
})(exports.HockeyGameLogTypes || (exports.HockeyGameLogTypes = {}));
|
|
2442
|
+
|
|
2443
|
+
(function (HockeyAdvantageTypes) {
|
|
2444
|
+
HockeyAdvantageTypes[HockeyAdvantageTypes["power_play"] = 1] = "power_play";
|
|
2445
|
+
HockeyAdvantageTypes[HockeyAdvantageTypes["shorthanded"] = 2] = "shorthanded";
|
|
2446
|
+
HockeyAdvantageTypes[HockeyAdvantageTypes["even_strength"] = 3] = "even_strength";
|
|
2447
|
+
})(exports.HockeyAdvantageTypes || (exports.HockeyAdvantageTypes = {}));
|
|
2448
|
+
var HockeyGameLog = /** @class */ (function (_super) {
|
|
2449
|
+
__extends(HockeyGameLog, _super);
|
|
2450
|
+
function HockeyGameLog() {
|
|
2451
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2452
|
+
_this.active = true;
|
|
2453
|
+
return _this;
|
|
2454
|
+
}
|
|
2455
|
+
HockeyGameLog.prototype.compare = function (model) {
|
|
2456
|
+
if (this.time === model.time && this.period === model.period) {
|
|
2457
|
+
return this.datetime.getTime() < model.datetime.getTime() ? 1 : -1;
|
|
2458
|
+
}
|
|
2459
|
+
if (this.period === model.period) {
|
|
2460
|
+
return this.time < model.time ? 1 : -1;
|
|
2461
|
+
}
|
|
2462
|
+
return this.period < model.period ? 1 : -1;
|
|
2463
|
+
};
|
|
2464
|
+
Object.defineProperty(HockeyGameLog.prototype, "timeFormatted", {
|
|
2465
|
+
get: function () {
|
|
2466
|
+
var minutes = Math.floor(this.time / 60);
|
|
2467
|
+
var seconds = this.time - minutes * 60;
|
|
2468
|
+
return "" + (minutes < 10 ? '0' : '') + minutes + ":" + (seconds < 10 ? '0' : '') + seconds;
|
|
2469
|
+
},
|
|
2470
|
+
enumerable: true,
|
|
2471
|
+
configurable: true
|
|
2472
|
+
});
|
|
2473
|
+
HockeyGameLog.prototype.isScoreType = function () {
|
|
2474
|
+
return [exports.HockeyGameLogTypes.goal, exports.HockeyGameLogTypes.shootout_goal].indexOf(this.logType) > -1;
|
|
2475
|
+
};
|
|
2476
|
+
HockeyGameLog.toFront = function (value) { };
|
|
2477
|
+
HockeyGameLog.toBack = function (value) { };
|
|
2478
|
+
__decorate([
|
|
2479
|
+
ToFrontHook
|
|
2480
|
+
], HockeyGameLog, "toFront", null);
|
|
2481
|
+
__decorate([
|
|
2482
|
+
ToBackHook
|
|
2483
|
+
], HockeyGameLog, "toBack", null);
|
|
2484
|
+
HockeyGameLog = __decorate([
|
|
2485
|
+
ModelInstance({
|
|
2486
|
+
mappingFields: {
|
|
2487
|
+
id: 'id',
|
|
2488
|
+
unique_id: 'uniqueId',
|
|
2489
|
+
game_id: 'gameId',
|
|
2490
|
+
game_user_id: 'gameUserId',
|
|
2491
|
+
team_id: 'teamId',
|
|
2492
|
+
log_type: 'logType',
|
|
2493
|
+
datetime: 'datetime',
|
|
2494
|
+
time: 'time',
|
|
2495
|
+
period: 'period',
|
|
2496
|
+
active: 'active',
|
|
2497
|
+
is_highlight: 'isHighlight',
|
|
2498
|
+
advantage: 'advantage',
|
|
2499
|
+
is_goalie: 'isGoalie',
|
|
2500
|
+
},
|
|
2501
|
+
relation: {
|
|
2502
|
+
datetime: DateTimeField,
|
|
2503
|
+
logType: enumField(exports.HockeyGameLogTypes),
|
|
2504
|
+
advantage: enumField(exports.HockeyAdvantageTypes),
|
|
2505
|
+
}
|
|
2506
|
+
})
|
|
2507
|
+
], HockeyGameLog);
|
|
2508
|
+
return HockeyGameLog;
|
|
2509
|
+
}(BaseModel));
|
|
2510
|
+
|
|
2511
|
+
var HockeyGameStatistic = /** @class */ (function (_super) {
|
|
2512
|
+
__extends(HockeyGameStatistic, _super);
|
|
2513
|
+
function HockeyGameStatistic() {
|
|
2514
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2515
|
+
}
|
|
2516
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "id", {
|
|
2517
|
+
get: function () {
|
|
2518
|
+
return this.gameUserId;
|
|
2519
|
+
},
|
|
2520
|
+
enumerable: true,
|
|
2521
|
+
configurable: true
|
|
2522
|
+
});
|
|
2523
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
|
|
2524
|
+
get: function () {
|
|
2525
|
+
return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
|
|
2526
|
+
},
|
|
2527
|
+
enumerable: true,
|
|
2528
|
+
configurable: true
|
|
2529
|
+
});
|
|
2530
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "faceOffs", {
|
|
2531
|
+
get: function () {
|
|
2532
|
+
return (this.faceOffWins || 0) + (this.faceOffLosses || 0);
|
|
2533
|
+
},
|
|
2534
|
+
enumerable: true,
|
|
2535
|
+
configurable: true
|
|
2536
|
+
});
|
|
2537
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "shootOuts", {
|
|
2538
|
+
get: function () {
|
|
2539
|
+
return (this.shootoutAttempts || 0) + (this.shootoutGoals || 0);
|
|
2540
|
+
},
|
|
2541
|
+
enumerable: true,
|
|
2542
|
+
configurable: true
|
|
2543
|
+
});
|
|
2544
|
+
HockeyGameStatistic.toFront = function (data) { };
|
|
2545
|
+
HockeyGameStatistic.toBack = function (data) { };
|
|
2546
|
+
__decorate([
|
|
2547
|
+
ToFrontHook
|
|
2548
|
+
], HockeyGameStatistic, "toFront", null);
|
|
2549
|
+
__decorate([
|
|
2550
|
+
ToBackHook
|
|
2551
|
+
], HockeyGameStatistic, "toBack", null);
|
|
2552
|
+
HockeyGameStatistic = __decorate([
|
|
2553
|
+
ModelInstance({
|
|
2554
|
+
mappingFields: {
|
|
2555
|
+
game_user_id: 'gameUserId',
|
|
2556
|
+
updated_at: 'updatedAt',
|
|
2557
|
+
points: 'points',
|
|
2558
|
+
pp_shots: 'ppShots',
|
|
2559
|
+
pp_shot_misses: 'ppShotMisses',
|
|
2560
|
+
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2561
|
+
pp_shots_blocked: 'ppShotsBlocked',
|
|
2562
|
+
ev_shots: 'evShots',
|
|
2563
|
+
ev_shot_misses: 'evShotMisses',
|
|
2564
|
+
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2565
|
+
ev_shots_blocked: 'evShotsBlocked',
|
|
2566
|
+
sh_shots: 'shShots',
|
|
2567
|
+
sh_shot_misses: 'shShotMisses',
|
|
2568
|
+
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2569
|
+
sh_shots_blocked: 'shShotsBlocked',
|
|
2570
|
+
pp_goals_percent: 'ppGoalsPercent',
|
|
2571
|
+
pp_goals: 'ppGoals',
|
|
2572
|
+
ev_goals_percent: 'evGoalsPercent',
|
|
2573
|
+
ev_goals: 'evGoals',
|
|
2574
|
+
sh_goals_percent: 'shGoalsPercent',
|
|
2575
|
+
goals: 'goals',
|
|
2576
|
+
sh_goals: 'shGoals',
|
|
2577
|
+
shot_misses: 'shotMisses',
|
|
2578
|
+
shots_on_goal: 'shotsOnGoal',
|
|
2579
|
+
shots_blocked: 'shotsBlocked',
|
|
2580
|
+
shots: 'shots',
|
|
2581
|
+
goals_percent: 'goalsPercent',
|
|
2582
|
+
shots_against: 'shotsAgainst',
|
|
2583
|
+
saves_percent: 'savesPercent',
|
|
2584
|
+
pp_assists: 'ppAssists',
|
|
2585
|
+
ev_assists: 'evAssists',
|
|
2586
|
+
sh_assists: 'shAssists',
|
|
2587
|
+
shootout_attempts: 'shootoutAttempts',
|
|
2588
|
+
shootout_goals: 'shootoutGoals',
|
|
2589
|
+
block_shots: 'blockShots',
|
|
2590
|
+
face_off_losses: 'faceOffLosses',
|
|
2591
|
+
face_off_wins: 'faceOffWins',
|
|
2592
|
+
saves: 'saves',
|
|
2593
|
+
goals_against: 'goalsAgainst',
|
|
2594
|
+
safety_rate: 'safetyRate',
|
|
2595
|
+
penalty_minutes: 'penaltyMinutes',
|
|
2596
|
+
game_time: 'gameTime',
|
|
2597
|
+
plus_minus: 'plusMinus'
|
|
2598
|
+
},
|
|
2599
|
+
relation: {
|
|
2600
|
+
updatedAt: DateTimeField,
|
|
2601
|
+
}
|
|
2602
|
+
})
|
|
2603
|
+
], HockeyGameStatistic);
|
|
2604
|
+
return HockeyGameStatistic;
|
|
2605
|
+
}(BaseModel));
|
|
2606
|
+
|
|
2607
|
+
var HockeyStatistic = /** @class */ (function (_super) {
|
|
2608
|
+
__extends(HockeyStatistic, _super);
|
|
2609
|
+
function HockeyStatistic() {
|
|
2610
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2611
|
+
}
|
|
2612
|
+
HockeyStatistic.toFront = function (data) { };
|
|
2613
|
+
HockeyStatistic.toBack = function (data) { };
|
|
2614
|
+
__decorate([
|
|
2615
|
+
ToFrontHook
|
|
2616
|
+
], HockeyStatistic, "toFront", null);
|
|
2617
|
+
__decorate([
|
|
2618
|
+
ToBackHook
|
|
2619
|
+
], HockeyStatistic, "toBack", null);
|
|
2620
|
+
HockeyStatistic = __decorate([
|
|
2621
|
+
ModelInstance({
|
|
2622
|
+
mappingFields: {
|
|
2623
|
+
tournament_team_user: 'tournamentTeamUser',
|
|
2624
|
+
team: 'team',
|
|
2625
|
+
team_user: 'teamUser',
|
|
2626
|
+
user: 'user',
|
|
2627
|
+
tournament_team: 'tournamentTeam',
|
|
2628
|
+
month: 'month',
|
|
2629
|
+
win_lose: 'winLose',
|
|
2630
|
+
games_count: 'gamesCount',
|
|
2631
|
+
won_games_count: 'wonGamesCount',
|
|
2632
|
+
points: 'points',
|
|
2633
|
+
pp_shot_misses: 'ppShotMisses',
|
|
2634
|
+
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2635
|
+
pp_shots_blocked: 'ppShotsBlocked',
|
|
2636
|
+
ev_shot_misses: 'evShotMisses',
|
|
2637
|
+
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2638
|
+
ev_shots_blocked: 'evShotsBlocked',
|
|
2639
|
+
sh_shot_misses: 'evShotMisses',
|
|
2640
|
+
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2641
|
+
sh_shots_blocked: 'shShotsBlocked',
|
|
2642
|
+
pp_goals: 'ppGoals',
|
|
2643
|
+
ev_goals: 'evGoals',
|
|
2644
|
+
sh_goals: 'shGoals',
|
|
2645
|
+
pp_assists: 'ppAssists',
|
|
2646
|
+
ev_assists: 'evAssists',
|
|
2647
|
+
sh_assists: 'shAssists',
|
|
2648
|
+
shootout_attempts: 'shootoutAttempts',
|
|
2649
|
+
shootout_goals: 'shootoutGoals',
|
|
2650
|
+
block_shots: 'blockShots',
|
|
2651
|
+
face_off_losses: 'faceOffLosses',
|
|
2652
|
+
face_off_wins: 'faceOffWins',
|
|
2653
|
+
saves: 'saves',
|
|
2654
|
+
goals_against: 'goalsAgainst',
|
|
2655
|
+
safety_rate: 'safetyRate',
|
|
2656
|
+
penalty_minutes: 'penaltyMinutes',
|
|
2657
|
+
game_time: 'gameTime',
|
|
2658
|
+
plus_minus: 'plusMinus',
|
|
2659
|
+
newbie: 'newbie',
|
|
2660
|
+
},
|
|
2661
|
+
relation: {
|
|
2662
|
+
tournamentTeamUser: TournamentTeamUser,
|
|
2663
|
+
team: Team,
|
|
2664
|
+
teamUser: TeamUser,
|
|
2665
|
+
user: User,
|
|
2666
|
+
tournamentTeam: TournamentTeam,
|
|
2667
|
+
month: DateField
|
|
2668
|
+
}
|
|
2669
|
+
})
|
|
2670
|
+
], HockeyStatistic);
|
|
2671
|
+
return HockeyStatistic;
|
|
2672
|
+
}(BaseStatistic));
|
|
2673
|
+
|
|
2674
|
+
var HockeyGameTeamStatistic = /** @class */ (function (_super) {
|
|
2675
|
+
__extends(HockeyGameTeamStatistic, _super);
|
|
2676
|
+
function HockeyGameTeamStatistic() {
|
|
2677
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2678
|
+
}
|
|
2679
|
+
HockeyGameTeamStatistic.toFront = function (data) { };
|
|
2680
|
+
HockeyGameTeamStatistic.toBack = function (data) { };
|
|
2681
|
+
__decorate([
|
|
2682
|
+
ToFrontHook
|
|
2683
|
+
], HockeyGameTeamStatistic, "toFront", null);
|
|
2684
|
+
__decorate([
|
|
2685
|
+
ToBackHook
|
|
2686
|
+
], HockeyGameTeamStatistic, "toBack", null);
|
|
2687
|
+
HockeyGameTeamStatistic = __decorate([
|
|
2688
|
+
ModelInstance({
|
|
2689
|
+
mappingFields: {
|
|
2690
|
+
team: 'team',
|
|
2691
|
+
competitor_team: 'competitorTeam'
|
|
2692
|
+
},
|
|
2693
|
+
relation: {
|
|
2694
|
+
team: HockeyStatistic,
|
|
2695
|
+
competitorTeam: HockeyStatistic
|
|
2696
|
+
}
|
|
2697
|
+
})
|
|
2698
|
+
], HockeyGameTeamStatistic);
|
|
2699
|
+
return HockeyGameTeamStatistic;
|
|
2700
|
+
}(BaseModel));
|
|
2701
|
+
|
|
2702
|
+
var HockeyGameApi = /** @class */ (function () {
|
|
2703
|
+
function HockeyGameApi(httpClient, configService) {
|
|
2704
|
+
this.httpClient = httpClient;
|
|
2705
|
+
this.configService = configService;
|
|
2706
|
+
}
|
|
2707
|
+
HockeyGameApi.prototype.getById = function (gameId) {
|
|
2708
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2709
|
+
return __generator(this, function (_a) {
|
|
2710
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_hockey_game/" + gameId + "/").pipe(operators.map(function (result) { return Game.toFront(result); })).toPromise()];
|
|
2711
|
+
});
|
|
2712
|
+
});
|
|
2713
|
+
};
|
|
2714
|
+
HockeyGameApi.prototype.getUsers = function (gameId) {
|
|
2715
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2716
|
+
return __generator(this, function (_a) {
|
|
2717
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/users/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
2718
|
+
});
|
|
2719
|
+
});
|
|
2720
|
+
};
|
|
2721
|
+
HockeyGameApi.prototype.getTeamStatistic = function (gameId) {
|
|
2722
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2723
|
+
return __generator(this, function (_a) {
|
|
2724
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_hockey_game/" + gameId + "/team_statistic/").pipe(operators.map(function (result) { return HockeyGameTeamStatistic.toFront(result); })).toPromise()];
|
|
2725
|
+
});
|
|
2726
|
+
});
|
|
2727
|
+
};
|
|
2728
|
+
HockeyGameApi.prototype.getUserStatistic = function (gameId) {
|
|
2729
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2730
|
+
return __generator(this, function (_a) {
|
|
2731
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_hockey_game/" + gameId + "/user_statistic/").pipe(operators.map(function (result) { return HockeyGameStatistic.toFront(result); })).toPromise()];
|
|
2732
|
+
});
|
|
2733
|
+
});
|
|
2734
|
+
};
|
|
2735
|
+
HockeyGameApi.prototype.getLogs = function (gameId) {
|
|
2736
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2737
|
+
return __generator(this, function (_a) {
|
|
2738
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_hockey_game/" + gameId + "/logs/").pipe(operators.map(function (result) { return HockeyGameLog.toFront(result); })).toPromise()];
|
|
2739
|
+
});
|
|
2740
|
+
});
|
|
2741
|
+
};
|
|
2742
|
+
HockeyGameApi.ctorParameters = function () { return [
|
|
2743
|
+
{ type: http.HttpClient },
|
|
2744
|
+
{ type: ConfigService }
|
|
2745
|
+
]; };
|
|
2746
|
+
HockeyGameApi.ɵprov = core.ɵɵdefineInjectable({ factory: function HockeyGameApi_Factory() { return new HockeyGameApi(core.ɵɵinject(http.HttpClient), core.ɵɵinject(ConfigService)); }, token: HockeyGameApi, providedIn: "root" });
|
|
2747
|
+
HockeyGameApi = __decorate([
|
|
2748
|
+
core.Injectable({ providedIn: 'root' })
|
|
2749
|
+
], HockeyGameApi);
|
|
2750
|
+
return HockeyGameApi;
|
|
2751
|
+
}());
|
|
2752
|
+
|
|
2315
2753
|
var LeagueNews = /** @class */ (function (_super) {
|
|
2316
2754
|
__extends(LeagueNews, _super);
|
|
2317
2755
|
function LeagueNews() {
|
|
@@ -3439,7 +3877,7 @@
|
|
|
3439
3877
|
})
|
|
3440
3878
|
], VolleyballStatistic);
|
|
3441
3879
|
return VolleyballStatistic;
|
|
3442
|
-
}(
|
|
3880
|
+
}(BaseStatistic));
|
|
3443
3881
|
|
|
3444
3882
|
|
|
3445
3883
|
(function (TeamPermissionTypes) {
|
|
@@ -4572,6 +5010,36 @@
|
|
|
4572
5010
|
});
|
|
4573
5011
|
});
|
|
4574
5012
|
};
|
|
5013
|
+
TournamentApi.prototype.getHockeyStatistic = function (filters) {
|
|
5014
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5015
|
+
var params, _a, _b, key;
|
|
5016
|
+
var e_3, _c;
|
|
5017
|
+
return __generator(this, function (_d) {
|
|
5018
|
+
params = new http.HttpParams();
|
|
5019
|
+
if (filters) {
|
|
5020
|
+
try {
|
|
5021
|
+
for (_a = __values(Object.keys(filters)), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
5022
|
+
key = _b.value;
|
|
5023
|
+
if (filters[key]) {
|
|
5024
|
+
params = params.set(key, filters[key]);
|
|
5025
|
+
}
|
|
5026
|
+
}
|
|
5027
|
+
}
|
|
5028
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
5029
|
+
finally {
|
|
5030
|
+
try {
|
|
5031
|
+
if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
|
|
5032
|
+
}
|
|
5033
|
+
finally { if (e_3) throw e_3.error; }
|
|
5034
|
+
}
|
|
5035
|
+
if (filters.per_game !== undefined) {
|
|
5036
|
+
params = params.set('per_game', filters.per_game ? '1' : '0');
|
|
5037
|
+
}
|
|
5038
|
+
}
|
|
5039
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/hockey_statistic/", { params: params }).pipe(operators.map(function (result) { return HockeyStatistic.toFront(result); })).toPromise()];
|
|
5040
|
+
});
|
|
5041
|
+
});
|
|
5042
|
+
};
|
|
4575
5043
|
TournamentApi.ctorParameters = function () { return [
|
|
4576
5044
|
{ type: http.HttpClient },
|
|
4577
5045
|
{ type: ConfigService }
|
|
@@ -5456,27 +5924,54 @@
|
|
|
5456
5924
|
_a$1);
|
|
5457
5925
|
|
|
5458
5926
|
var _a$2;
|
|
5459
|
-
var
|
|
5460
|
-
_a$2[exports.
|
|
5461
|
-
_a$2[exports.
|
|
5462
|
-
_a$2[exports.
|
|
5927
|
+
var HockeyGameLogTypeLocalization = (_a$2 = {},
|
|
5928
|
+
_a$2[exports.HockeyGameLogTypes.enter_game] = 'Выход на площадку',
|
|
5929
|
+
_a$2[exports.HockeyGameLogTypes.exit_game] = 'Ушел с площадки',
|
|
5930
|
+
_a$2[exports.HockeyGameLogTypes.shot_miss] = 'Бросок мимо',
|
|
5931
|
+
_a$2[exports.HockeyGameLogTypes.shot_on_goal] = 'Бросок по воротам',
|
|
5932
|
+
_a$2[exports.HockeyGameLogTypes.shot_blocked] = 'Заблокированный бросок',
|
|
5933
|
+
_a$2[exports.HockeyGameLogTypes.goal] = 'Гол',
|
|
5934
|
+
_a$2[exports.HockeyGameLogTypes.shootout_attempt] = 'Булит промах',
|
|
5935
|
+
_a$2[exports.HockeyGameLogTypes.shootout_goal] = 'Булит гол',
|
|
5936
|
+
_a$2[exports.HockeyGameLogTypes.assist] = 'Передача',
|
|
5937
|
+
_a$2[exports.HockeyGameLogTypes.block_shot] = 'Блокировка броска',
|
|
5938
|
+
_a$2[exports.HockeyGameLogTypes.minor_penalty] = 'Малшый штраф',
|
|
5939
|
+
_a$2[exports.HockeyGameLogTypes.major_penalty] = 'Большой штраф',
|
|
5940
|
+
_a$2[exports.HockeyGameLogTypes.misconduct_penalty] = 'Дисциплинарный штраф',
|
|
5941
|
+
_a$2[exports.HockeyGameLogTypes.game_misconduct_penalty] = 'Дисциплинарный штраф до конца игры',
|
|
5942
|
+
_a$2[exports.HockeyGameLogTypes.match_penalty] = 'Матч-штраф',
|
|
5943
|
+
_a$2[exports.HockeyGameLogTypes.penalty_shot] = 'Штрафной бросок',
|
|
5944
|
+
_a$2[exports.HockeyGameLogTypes.face_off_lose] = 'Проирыш в вбрасывании',
|
|
5945
|
+
_a$2[exports.HockeyGameLogTypes.face_off_win] = 'Победа в вбрасывании',
|
|
5946
|
+
_a$2[exports.HockeyGameLogTypes.save] = 'Отражен бросок',
|
|
5463
5947
|
_a$2);
|
|
5464
5948
|
|
|
5465
5949
|
var _a$3;
|
|
5466
|
-
var
|
|
5467
|
-
_a$3[exports.
|
|
5468
|
-
_a$3[exports.
|
|
5469
|
-
_a$3[exports.
|
|
5950
|
+
var OvertimeTypeLocalization = (_a$3 = {},
|
|
5951
|
+
_a$3[exports.OvertimeTypes.to_score_diff] = 'До разницы в N мячей',
|
|
5952
|
+
_a$3[exports.OvertimeTypes.to_score_total] = 'До N очков',
|
|
5953
|
+
_a$3[exports.OvertimeTypes.time] = 'По времени',
|
|
5954
|
+
_a$3[exports.OvertimeTypes.without_overtime] = 'Без овертайма',
|
|
5955
|
+
_a$3[exports.OvertimeTypes.to_first_goal] = 'На N минут до первой шайбы',
|
|
5956
|
+
_a$3[exports.OvertimeTypes.to_first_goal_and_bullitts] = 'На N минут до первой шайбы + буллиты',
|
|
5957
|
+
_a$3[exports.OvertimeTypes.bullitts] = 'Буллиты',
|
|
5470
5958
|
_a$3);
|
|
5471
5959
|
|
|
5472
|
-
var _a$4
|
|
5473
|
-
var
|
|
5474
|
-
_a$4[exports.
|
|
5475
|
-
_a$4[exports.
|
|
5476
|
-
_a$4[exports.
|
|
5477
|
-
_a$4[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
|
|
5478
|
-
_a$4[exports.GameBasketballPosition.center] = 'Центровой',
|
|
5960
|
+
var _a$4;
|
|
5961
|
+
var TeamUserRoleLocalization = (_a$4 = {},
|
|
5962
|
+
_a$4[exports.TeamUserRole.moderator] = 'Модератор',
|
|
5963
|
+
_a$4[exports.TeamUserRole.member] = 'Пользователь',
|
|
5964
|
+
_a$4[exports.TeamUserRole.admin] = 'Владелец',
|
|
5479
5965
|
_a$4);
|
|
5966
|
+
|
|
5967
|
+
var _a$5, _b, _c, _d, _e, _f, _g;
|
|
5968
|
+
var GameBasketballPositionLocalization = (_a$5 = {},
|
|
5969
|
+
_a$5[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
|
|
5970
|
+
_a$5[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
|
|
5971
|
+
_a$5[exports.GameBasketballPosition.small_forward] = 'Легкий форвард',
|
|
5972
|
+
_a$5[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
|
|
5973
|
+
_a$5[exports.GameBasketballPosition.center] = 'Центровой',
|
|
5974
|
+
_a$5);
|
|
5480
5975
|
var GameBasketballPositionShortLocalization = (_b = {},
|
|
5481
5976
|
_b[exports.GameBasketballPosition.point_guard] = 'PG',
|
|
5482
5977
|
_b[exports.GameBasketballPosition.shooting_guard] = 'SG',
|
|
@@ -5514,30 +6009,30 @@
|
|
|
5514
6009
|
_g[exports.VolleyballWorkHand.right] = 'Правая',
|
|
5515
6010
|
_g);
|
|
5516
6011
|
|
|
5517
|
-
var _a$
|
|
5518
|
-
var VolleyballGameLogTypeLocalization = (_a$
|
|
5519
|
-
_a$
|
|
5520
|
-
_a$
|
|
5521
|
-
_a$
|
|
5522
|
-
_a$
|
|
5523
|
-
_a$
|
|
5524
|
-
_a$
|
|
5525
|
-
_a$
|
|
5526
|
-
_a$
|
|
5527
|
-
_a$
|
|
5528
|
-
_a$
|
|
5529
|
-
_a$
|
|
5530
|
-
_a$
|
|
5531
|
-
_a$
|
|
5532
|
-
_a$
|
|
5533
|
-
_a$
|
|
5534
|
-
_a$
|
|
5535
|
-
_a$
|
|
5536
|
-
_a$
|
|
5537
|
-
_a$
|
|
5538
|
-
_a$
|
|
5539
|
-
_a$
|
|
5540
|
-
_a$
|
|
6012
|
+
var _a$6;
|
|
6013
|
+
var VolleyballGameLogTypeLocalization = (_a$6 = {},
|
|
6014
|
+
_a$6[exports.VolleyballGameLogType.enter_game] = 'Выход на площадку',
|
|
6015
|
+
_a$6[exports.VolleyballGameLogType.exit_game] = 'Уход с площадки',
|
|
6016
|
+
_a$6[exports.VolleyballGameLogType.remove_game] = 'Удаление с площадки',
|
|
6017
|
+
_a$6[exports.VolleyballGameLogType.serve_ace] = 'Эйс',
|
|
6018
|
+
_a$6[exports.VolleyballGameLogType.serve_hit] = 'Подача',
|
|
6019
|
+
_a$6[exports.VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
|
|
6020
|
+
_a$6[exports.VolleyballGameLogType.attack_spike] = 'Результативная атака',
|
|
6021
|
+
_a$6[exports.VolleyballGameLogType.attack_shot] = 'Успешная атака',
|
|
6022
|
+
_a$6[exports.VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
|
|
6023
|
+
_a$6[exports.VolleyballGameLogType.stuff_block] = 'Результативный блок',
|
|
6024
|
+
_a$6[exports.VolleyballGameLogType.block_rebound] = 'Успешный блок',
|
|
6025
|
+
_a$6[exports.VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
|
|
6026
|
+
_a$6[exports.VolleyballGameLogType.excellent_receive] = 'Отличный прием',
|
|
6027
|
+
_a$6[exports.VolleyballGameLogType.receive] = 'Прием',
|
|
6028
|
+
_a$6[exports.VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
|
|
6029
|
+
_a$6[exports.VolleyballGameLogType.serve_receive] = 'Прием подачи',
|
|
6030
|
+
_a$6[exports.VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
|
|
6031
|
+
_a$6[exports.VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
|
|
6032
|
+
_a$6[exports.VolleyballGameLogType.point] = 'Очко',
|
|
6033
|
+
_a$6[exports.VolleyballGameLogType.fault] = 'Ошибка',
|
|
6034
|
+
_a$6[exports.VolleyballGameLogType.timeout] = 'Таймаут',
|
|
6035
|
+
_a$6);
|
|
5541
6036
|
|
|
5542
6037
|
var CentrifugoService = /** @class */ (function () {
|
|
5543
6038
|
function CentrifugoService(httpClient, configService) {
|
|
@@ -5940,6 +6435,7 @@
|
|
|
5940
6435
|
|
|
5941
6436
|
exports.BaseModel = BaseModel;
|
|
5942
6437
|
exports.BaseService = BaseService;
|
|
6438
|
+
exports.BaseStatistic = BaseStatistic;
|
|
5943
6439
|
exports.BasketballGameApi = BasketballGameApi;
|
|
5944
6440
|
exports.BasketballGameConfig = BasketballGameConfig;
|
|
5945
6441
|
exports.BasketballGameLog = BasketballGameLog;
|
|
@@ -5969,6 +6465,14 @@
|
|
|
5969
6465
|
exports.GameVolleyballPositionLocalization = GameVolleyballPositionLocalization;
|
|
5970
6466
|
exports.GameVolleyballPositionShortLocalization = GameVolleyballPositionShortLocalization;
|
|
5971
6467
|
exports.GameVolleyballPositionShortRuLocalization = GameVolleyballPositionShortRuLocalization;
|
|
6468
|
+
exports.HockeyGameApi = HockeyGameApi;
|
|
6469
|
+
exports.HockeyGameConfig = HockeyGameConfig;
|
|
6470
|
+
exports.HockeyGameLog = HockeyGameLog;
|
|
6471
|
+
exports.HockeyGameLogTypeLocalization = HockeyGameLogTypeLocalization;
|
|
6472
|
+
exports.HockeyGameStatistic = HockeyGameStatistic;
|
|
6473
|
+
exports.HockeyGameTeamStatistic = HockeyGameTeamStatistic;
|
|
6474
|
+
exports.HockeyProfile = HockeyProfile;
|
|
6475
|
+
exports.HockeyStatistic = HockeyStatistic;
|
|
5972
6476
|
exports.HttpCookieInterceptor = HttpCookieInterceptor;
|
|
5973
6477
|
exports.League = League;
|
|
5974
6478
|
exports.LeagueApi = LeagueApi;
|