@mtgame/core 0.0.9 → 0.0.10
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 +565 -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 +76 -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 +113 -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 +426 -10
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +557 -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 +43 -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,353 @@
|
|
|
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, "shotMisses", {
|
|
2524
|
+
get: function () {
|
|
2525
|
+
return (this.ppShotMisses || 0) + (this.evShotMisses || 0) + (this.shShotMisses || 0);
|
|
2526
|
+
},
|
|
2527
|
+
enumerable: true,
|
|
2528
|
+
configurable: true
|
|
2529
|
+
});
|
|
2530
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "shotsOnGoal", {
|
|
2531
|
+
get: function () {
|
|
2532
|
+
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0);
|
|
2533
|
+
},
|
|
2534
|
+
enumerable: true,
|
|
2535
|
+
configurable: true
|
|
2536
|
+
});
|
|
2537
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "shotsBlocked", {
|
|
2538
|
+
get: function () {
|
|
2539
|
+
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
|
|
2540
|
+
},
|
|
2541
|
+
enumerable: true,
|
|
2542
|
+
configurable: true
|
|
2543
|
+
});
|
|
2544
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "goals", {
|
|
2545
|
+
get: function () {
|
|
2546
|
+
return (this.ppGoals || 0) + (this.evGoals || 0) + (this.shGoals || 0);
|
|
2547
|
+
},
|
|
2548
|
+
enumerable: true,
|
|
2549
|
+
configurable: true
|
|
2550
|
+
});
|
|
2551
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "assists", {
|
|
2552
|
+
get: function () {
|
|
2553
|
+
return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
|
|
2554
|
+
},
|
|
2555
|
+
enumerable: true,
|
|
2556
|
+
configurable: true
|
|
2557
|
+
});
|
|
2558
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "faceOffs", {
|
|
2559
|
+
get: function () {
|
|
2560
|
+
return (this.faceOffWins || 0) + (this.faceOffLosses || 0);
|
|
2561
|
+
},
|
|
2562
|
+
enumerable: true,
|
|
2563
|
+
configurable: true
|
|
2564
|
+
});
|
|
2565
|
+
Object.defineProperty(HockeyGameStatistic.prototype, "shootOuts", {
|
|
2566
|
+
get: function () {
|
|
2567
|
+
return (this.shootoutAttempts || 0) + (this.shootoutGoals || 0);
|
|
2568
|
+
},
|
|
2569
|
+
enumerable: true,
|
|
2570
|
+
configurable: true
|
|
2571
|
+
});
|
|
2572
|
+
HockeyGameStatistic.toFront = function (data) { };
|
|
2573
|
+
HockeyGameStatistic.toBack = function (data) { };
|
|
2574
|
+
__decorate([
|
|
2575
|
+
ToFrontHook
|
|
2576
|
+
], HockeyGameStatistic, "toFront", null);
|
|
2577
|
+
__decorate([
|
|
2578
|
+
ToBackHook
|
|
2579
|
+
], HockeyGameStatistic, "toBack", null);
|
|
2580
|
+
HockeyGameStatistic = __decorate([
|
|
2581
|
+
ModelInstance({
|
|
2582
|
+
mappingFields: {
|
|
2583
|
+
game_user_id: 'gameUserId',
|
|
2584
|
+
updated_at: 'updatedAt',
|
|
2585
|
+
points: 'points',
|
|
2586
|
+
pp_shot_misses: 'ppShotMisses',
|
|
2587
|
+
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2588
|
+
pp_shots_blocked: 'ppShotsBlocked',
|
|
2589
|
+
ev_shot_misses: 'evShotMisses',
|
|
2590
|
+
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2591
|
+
ev_shots_blocked: 'evShotsBlocked',
|
|
2592
|
+
sh_shot_misses: 'evShotMisses',
|
|
2593
|
+
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2594
|
+
sh_shots_blocked: 'shShotsBlocked',
|
|
2595
|
+
pp_goals: 'ppGoals',
|
|
2596
|
+
ev_goals: 'evGoals',
|
|
2597
|
+
sh_goals: 'shGoals',
|
|
2598
|
+
pp_assists: 'ppAssists',
|
|
2599
|
+
ev_assists: 'evAssists',
|
|
2600
|
+
sh_assists: 'shAssists',
|
|
2601
|
+
shootout_attempts: 'shootoutAttempts',
|
|
2602
|
+
shootout_goals: 'shootoutGoals',
|
|
2603
|
+
block_shots: 'blockShots',
|
|
2604
|
+
face_off_losses: 'faceOffLosses',
|
|
2605
|
+
face_off_wins: 'faceOffWins',
|
|
2606
|
+
saves: 'saves',
|
|
2607
|
+
goals_against: 'goalsAgainst',
|
|
2608
|
+
safety_rate: 'safetyRate',
|
|
2609
|
+
penalty_minutes: 'penaltyMinutes',
|
|
2610
|
+
game_time: 'gameTime',
|
|
2611
|
+
plus_minus: 'plusMinus'
|
|
2612
|
+
},
|
|
2613
|
+
relation: {
|
|
2614
|
+
updatedAt: DateTimeField,
|
|
2615
|
+
}
|
|
2616
|
+
})
|
|
2617
|
+
], HockeyGameStatistic);
|
|
2618
|
+
return HockeyGameStatistic;
|
|
2619
|
+
}(BaseModel));
|
|
2620
|
+
|
|
2621
|
+
var HockeyStatistic = /** @class */ (function (_super) {
|
|
2622
|
+
__extends(HockeyStatistic, _super);
|
|
2623
|
+
function HockeyStatistic() {
|
|
2624
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2625
|
+
}
|
|
2626
|
+
HockeyStatistic.toFront = function (data) { };
|
|
2627
|
+
HockeyStatistic.toBack = function (data) { };
|
|
2628
|
+
__decorate([
|
|
2629
|
+
ToFrontHook
|
|
2630
|
+
], HockeyStatistic, "toFront", null);
|
|
2631
|
+
__decorate([
|
|
2632
|
+
ToBackHook
|
|
2633
|
+
], HockeyStatistic, "toBack", null);
|
|
2634
|
+
HockeyStatistic = __decorate([
|
|
2635
|
+
ModelInstance({
|
|
2636
|
+
mappingFields: {
|
|
2637
|
+
tournament_team_user: 'tournamentTeamUser',
|
|
2638
|
+
team: 'team',
|
|
2639
|
+
team_user: 'teamUser',
|
|
2640
|
+
user: 'user',
|
|
2641
|
+
tournament_team: 'tournamentTeam',
|
|
2642
|
+
month: 'month',
|
|
2643
|
+
win_lose: 'winLose',
|
|
2644
|
+
games_count: 'gamesCount',
|
|
2645
|
+
won_games_count: 'wonGamesCount',
|
|
2646
|
+
points: 'points',
|
|
2647
|
+
pp_shot_misses: 'ppShotMisses',
|
|
2648
|
+
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
2649
|
+
pp_shots_blocked: 'ppShotsBlocked',
|
|
2650
|
+
ev_shot_misses: 'evShotMisses',
|
|
2651
|
+
ev_shots_on_goal: 'evShotsOnGoal',
|
|
2652
|
+
ev_shots_blocked: 'evShotsBlocked',
|
|
2653
|
+
sh_shot_misses: 'evShotMisses',
|
|
2654
|
+
sh_shots_on_goal: 'shShotsOnGoal',
|
|
2655
|
+
sh_shots_blocked: 'shShotsBlocked',
|
|
2656
|
+
pp_goals: 'ppGoals',
|
|
2657
|
+
ev_goals: 'evGoals',
|
|
2658
|
+
sh_goals: 'shGoals',
|
|
2659
|
+
pp_assists: 'ppAssists',
|
|
2660
|
+
ev_assists: 'evAssists',
|
|
2661
|
+
sh_assists: 'shAssists',
|
|
2662
|
+
shootout_attempts: 'shootoutAttempts',
|
|
2663
|
+
shootout_goals: 'shootoutGoals',
|
|
2664
|
+
block_shots: 'blockShots',
|
|
2665
|
+
face_off_losses: 'faceOffLosses',
|
|
2666
|
+
face_off_wins: 'faceOffWins',
|
|
2667
|
+
saves: 'saves',
|
|
2668
|
+
goals_against: 'goalsAgainst',
|
|
2669
|
+
safety_rate: 'safetyRate',
|
|
2670
|
+
penalty_minutes: 'penaltyMinutes',
|
|
2671
|
+
game_time: 'gameTime',
|
|
2672
|
+
plus_minus: 'plusMinus',
|
|
2673
|
+
newbie: 'newbie',
|
|
2674
|
+
},
|
|
2675
|
+
relation: {
|
|
2676
|
+
tournamentTeamUser: TournamentTeamUser,
|
|
2677
|
+
team: Team,
|
|
2678
|
+
teamUser: TeamUser,
|
|
2679
|
+
user: User,
|
|
2680
|
+
tournamentTeam: TournamentTeam,
|
|
2681
|
+
month: DateField
|
|
2682
|
+
}
|
|
2683
|
+
})
|
|
2684
|
+
], HockeyStatistic);
|
|
2685
|
+
return HockeyStatistic;
|
|
2686
|
+
}(BaseStatistic));
|
|
2687
|
+
|
|
2688
|
+
var HockeyGameTeamStatistic = /** @class */ (function (_super) {
|
|
2689
|
+
__extends(HockeyGameTeamStatistic, _super);
|
|
2690
|
+
function HockeyGameTeamStatistic() {
|
|
2691
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2692
|
+
}
|
|
2693
|
+
HockeyGameTeamStatistic.toFront = function (data) { };
|
|
2694
|
+
HockeyGameTeamStatistic.toBack = function (data) { };
|
|
2695
|
+
__decorate([
|
|
2696
|
+
ToFrontHook
|
|
2697
|
+
], HockeyGameTeamStatistic, "toFront", null);
|
|
2698
|
+
__decorate([
|
|
2699
|
+
ToBackHook
|
|
2700
|
+
], HockeyGameTeamStatistic, "toBack", null);
|
|
2701
|
+
HockeyGameTeamStatistic = __decorate([
|
|
2702
|
+
ModelInstance({
|
|
2703
|
+
mappingFields: {
|
|
2704
|
+
team: 'team',
|
|
2705
|
+
competitor_team: 'competitorTeam'
|
|
2706
|
+
},
|
|
2707
|
+
relation: {
|
|
2708
|
+
team: HockeyStatistic,
|
|
2709
|
+
competitorTeam: HockeyStatistic
|
|
2710
|
+
}
|
|
2711
|
+
})
|
|
2712
|
+
], HockeyGameTeamStatistic);
|
|
2713
|
+
return HockeyGameTeamStatistic;
|
|
2714
|
+
}(BaseModel));
|
|
2715
|
+
|
|
2716
|
+
var HockeyGameApi = /** @class */ (function () {
|
|
2717
|
+
function HockeyGameApi(httpClient, configService) {
|
|
2718
|
+
this.httpClient = httpClient;
|
|
2719
|
+
this.configService = configService;
|
|
2720
|
+
}
|
|
2721
|
+
HockeyGameApi.prototype.getById = 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 + "/").pipe(operators.map(function (result) { return Game.toFront(result); })).toPromise()];
|
|
2725
|
+
});
|
|
2726
|
+
});
|
|
2727
|
+
};
|
|
2728
|
+
HockeyGameApi.prototype.getUsers = 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_game/" + gameId + "/users/").pipe(operators.map(function (result) { return GameUser.toFront(result); })).toPromise()];
|
|
2732
|
+
});
|
|
2733
|
+
});
|
|
2734
|
+
};
|
|
2735
|
+
HockeyGameApi.prototype.getTeamStatistic = 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 + "/team_statistic/").pipe(operators.map(function (result) { return HockeyGameTeamStatistic.toFront(result); })).toPromise()];
|
|
2739
|
+
});
|
|
2740
|
+
});
|
|
2741
|
+
};
|
|
2742
|
+
HockeyGameApi.prototype.getUserStatistic = function (gameId) {
|
|
2743
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2744
|
+
return __generator(this, function (_a) {
|
|
2745
|
+
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()];
|
|
2746
|
+
});
|
|
2747
|
+
});
|
|
2748
|
+
};
|
|
2749
|
+
HockeyGameApi.prototype.getLogs = function (gameId) {
|
|
2750
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2751
|
+
return __generator(this, function (_a) {
|
|
2752
|
+
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()];
|
|
2753
|
+
});
|
|
2754
|
+
});
|
|
2755
|
+
};
|
|
2756
|
+
HockeyGameApi.ctorParameters = function () { return [
|
|
2757
|
+
{ type: http.HttpClient },
|
|
2758
|
+
{ type: ConfigService }
|
|
2759
|
+
]; };
|
|
2760
|
+
HockeyGameApi.ɵprov = core.ɵɵdefineInjectable({ factory: function HockeyGameApi_Factory() { return new HockeyGameApi(core.ɵɵinject(http.HttpClient), core.ɵɵinject(ConfigService)); }, token: HockeyGameApi, providedIn: "root" });
|
|
2761
|
+
HockeyGameApi = __decorate([
|
|
2762
|
+
core.Injectable({ providedIn: 'root' })
|
|
2763
|
+
], HockeyGameApi);
|
|
2764
|
+
return HockeyGameApi;
|
|
2765
|
+
}());
|
|
2766
|
+
|
|
2315
2767
|
var LeagueNews = /** @class */ (function (_super) {
|
|
2316
2768
|
__extends(LeagueNews, _super);
|
|
2317
2769
|
function LeagueNews() {
|
|
@@ -3439,7 +3891,7 @@
|
|
|
3439
3891
|
})
|
|
3440
3892
|
], VolleyballStatistic);
|
|
3441
3893
|
return VolleyballStatistic;
|
|
3442
|
-
}(
|
|
3894
|
+
}(BaseStatistic));
|
|
3443
3895
|
|
|
3444
3896
|
|
|
3445
3897
|
(function (TeamPermissionTypes) {
|
|
@@ -4572,6 +5024,36 @@
|
|
|
4572
5024
|
});
|
|
4573
5025
|
});
|
|
4574
5026
|
};
|
|
5027
|
+
TournamentApi.prototype.getHockeyStatistic = function (filters) {
|
|
5028
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5029
|
+
var params, _a, _b, key;
|
|
5030
|
+
var e_3, _c;
|
|
5031
|
+
return __generator(this, function (_d) {
|
|
5032
|
+
params = new http.HttpParams();
|
|
5033
|
+
if (filters) {
|
|
5034
|
+
try {
|
|
5035
|
+
for (_a = __values(Object.keys(filters)), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
5036
|
+
key = _b.value;
|
|
5037
|
+
if (filters[key]) {
|
|
5038
|
+
params = params.set(key, filters[key]);
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
}
|
|
5042
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
5043
|
+
finally {
|
|
5044
|
+
try {
|
|
5045
|
+
if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
|
|
5046
|
+
}
|
|
5047
|
+
finally { if (e_3) throw e_3.error; }
|
|
5048
|
+
}
|
|
5049
|
+
if (filters.per_game !== undefined) {
|
|
5050
|
+
params = params.set('per_game', filters.per_game ? '1' : '0');
|
|
5051
|
+
}
|
|
5052
|
+
}
|
|
5053
|
+
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()];
|
|
5054
|
+
});
|
|
5055
|
+
});
|
|
5056
|
+
};
|
|
4575
5057
|
TournamentApi.ctorParameters = function () { return [
|
|
4576
5058
|
{ type: http.HttpClient },
|
|
4577
5059
|
{ type: ConfigService }
|
|
@@ -5456,27 +5938,54 @@
|
|
|
5456
5938
|
_a$1);
|
|
5457
5939
|
|
|
5458
5940
|
var _a$2;
|
|
5459
|
-
var
|
|
5460
|
-
_a$2[exports.
|
|
5461
|
-
_a$2[exports.
|
|
5462
|
-
_a$2[exports.
|
|
5941
|
+
var HockeyGameLogTypeLocalization = (_a$2 = {},
|
|
5942
|
+
_a$2[exports.HockeyGameLogTypes.enter_game] = 'Выход на площадку',
|
|
5943
|
+
_a$2[exports.HockeyGameLogTypes.exit_game] = 'Ушел с площадки',
|
|
5944
|
+
_a$2[exports.HockeyGameLogTypes.shot_miss] = 'Бросок мимо',
|
|
5945
|
+
_a$2[exports.HockeyGameLogTypes.shot_on_goal] = 'Бросок по воротам',
|
|
5946
|
+
_a$2[exports.HockeyGameLogTypes.shot_blocked] = 'Заблокированный бросок',
|
|
5947
|
+
_a$2[exports.HockeyGameLogTypes.goal] = 'Гол',
|
|
5948
|
+
_a$2[exports.HockeyGameLogTypes.shootout_attempt] = 'Булит промах',
|
|
5949
|
+
_a$2[exports.HockeyGameLogTypes.shootout_goal] = 'Булит гол',
|
|
5950
|
+
_a$2[exports.HockeyGameLogTypes.assist] = 'Передача',
|
|
5951
|
+
_a$2[exports.HockeyGameLogTypes.block_shot] = 'Блокировка броска',
|
|
5952
|
+
_a$2[exports.HockeyGameLogTypes.minor_penalty] = 'Малшый штраф',
|
|
5953
|
+
_a$2[exports.HockeyGameLogTypes.major_penalty] = 'Большой штраф',
|
|
5954
|
+
_a$2[exports.HockeyGameLogTypes.misconduct_penalty] = 'Дисциплинарный штраф',
|
|
5955
|
+
_a$2[exports.HockeyGameLogTypes.game_misconduct_penalty] = 'Дисциплинарный штраф до конца игры',
|
|
5956
|
+
_a$2[exports.HockeyGameLogTypes.match_penalty] = 'Матч-штраф',
|
|
5957
|
+
_a$2[exports.HockeyGameLogTypes.penalty_shot] = 'Штрафной бросок',
|
|
5958
|
+
_a$2[exports.HockeyGameLogTypes.face_off_lose] = 'Проирыш в вбрасывании',
|
|
5959
|
+
_a$2[exports.HockeyGameLogTypes.face_off_win] = 'Победа в вбрасывании',
|
|
5960
|
+
_a$2[exports.HockeyGameLogTypes.save] = 'Отражен бросок',
|
|
5463
5961
|
_a$2);
|
|
5464
5962
|
|
|
5465
5963
|
var _a$3;
|
|
5466
|
-
var
|
|
5467
|
-
_a$3[exports.
|
|
5468
|
-
_a$3[exports.
|
|
5469
|
-
_a$3[exports.
|
|
5964
|
+
var OvertimeTypeLocalization = (_a$3 = {},
|
|
5965
|
+
_a$3[exports.OvertimeTypes.to_score_diff] = 'До разницы в N мячей',
|
|
5966
|
+
_a$3[exports.OvertimeTypes.to_score_total] = 'До N очков',
|
|
5967
|
+
_a$3[exports.OvertimeTypes.time] = 'По времени',
|
|
5968
|
+
_a$3[exports.OvertimeTypes.without_overtime] = 'Без овертайма',
|
|
5969
|
+
_a$3[exports.OvertimeTypes.to_first_goal] = 'На N минут до первой шайбы',
|
|
5970
|
+
_a$3[exports.OvertimeTypes.to_first_goal_and_bullitts] = 'На N минут до первой шайбы + буллиты',
|
|
5971
|
+
_a$3[exports.OvertimeTypes.bullitts] = 'Буллиты',
|
|
5470
5972
|
_a$3);
|
|
5471
5973
|
|
|
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] = 'Центровой',
|
|
5974
|
+
var _a$4;
|
|
5975
|
+
var TeamUserRoleLocalization = (_a$4 = {},
|
|
5976
|
+
_a$4[exports.TeamUserRole.moderator] = 'Модератор',
|
|
5977
|
+
_a$4[exports.TeamUserRole.member] = 'Пользователь',
|
|
5978
|
+
_a$4[exports.TeamUserRole.admin] = 'Владелец',
|
|
5479
5979
|
_a$4);
|
|
5980
|
+
|
|
5981
|
+
var _a$5, _b, _c, _d, _e, _f, _g;
|
|
5982
|
+
var GameBasketballPositionLocalization = (_a$5 = {},
|
|
5983
|
+
_a$5[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
|
|
5984
|
+
_a$5[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
|
|
5985
|
+
_a$5[exports.GameBasketballPosition.small_forward] = 'Легкий форвард',
|
|
5986
|
+
_a$5[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
|
|
5987
|
+
_a$5[exports.GameBasketballPosition.center] = 'Центровой',
|
|
5988
|
+
_a$5);
|
|
5480
5989
|
var GameBasketballPositionShortLocalization = (_b = {},
|
|
5481
5990
|
_b[exports.GameBasketballPosition.point_guard] = 'PG',
|
|
5482
5991
|
_b[exports.GameBasketballPosition.shooting_guard] = 'SG',
|
|
@@ -5514,30 +6023,30 @@
|
|
|
5514
6023
|
_g[exports.VolleyballWorkHand.right] = 'Правая',
|
|
5515
6024
|
_g);
|
|
5516
6025
|
|
|
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$
|
|
6026
|
+
var _a$6;
|
|
6027
|
+
var VolleyballGameLogTypeLocalization = (_a$6 = {},
|
|
6028
|
+
_a$6[exports.VolleyballGameLogType.enter_game] = 'Выход на площадку',
|
|
6029
|
+
_a$6[exports.VolleyballGameLogType.exit_game] = 'Уход с площадки',
|
|
6030
|
+
_a$6[exports.VolleyballGameLogType.remove_game] = 'Удаление с площадки',
|
|
6031
|
+
_a$6[exports.VolleyballGameLogType.serve_ace] = 'Эйс',
|
|
6032
|
+
_a$6[exports.VolleyballGameLogType.serve_hit] = 'Подача',
|
|
6033
|
+
_a$6[exports.VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
|
|
6034
|
+
_a$6[exports.VolleyballGameLogType.attack_spike] = 'Результативная атака',
|
|
6035
|
+
_a$6[exports.VolleyballGameLogType.attack_shot] = 'Успешная атака',
|
|
6036
|
+
_a$6[exports.VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
|
|
6037
|
+
_a$6[exports.VolleyballGameLogType.stuff_block] = 'Результативный блок',
|
|
6038
|
+
_a$6[exports.VolleyballGameLogType.block_rebound] = 'Успешный блок',
|
|
6039
|
+
_a$6[exports.VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
|
|
6040
|
+
_a$6[exports.VolleyballGameLogType.excellent_receive] = 'Отличный прием',
|
|
6041
|
+
_a$6[exports.VolleyballGameLogType.receive] = 'Прием',
|
|
6042
|
+
_a$6[exports.VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
|
|
6043
|
+
_a$6[exports.VolleyballGameLogType.serve_receive] = 'Прием подачи',
|
|
6044
|
+
_a$6[exports.VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
|
|
6045
|
+
_a$6[exports.VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
|
|
6046
|
+
_a$6[exports.VolleyballGameLogType.point] = 'Очко',
|
|
6047
|
+
_a$6[exports.VolleyballGameLogType.fault] = 'Ошибка',
|
|
6048
|
+
_a$6[exports.VolleyballGameLogType.timeout] = 'Таймаут',
|
|
6049
|
+
_a$6);
|
|
5541
6050
|
|
|
5542
6051
|
var CentrifugoService = /** @class */ (function () {
|
|
5543
6052
|
function CentrifugoService(httpClient, configService) {
|
|
@@ -5940,6 +6449,7 @@
|
|
|
5940
6449
|
|
|
5941
6450
|
exports.BaseModel = BaseModel;
|
|
5942
6451
|
exports.BaseService = BaseService;
|
|
6452
|
+
exports.BaseStatistic = BaseStatistic;
|
|
5943
6453
|
exports.BasketballGameApi = BasketballGameApi;
|
|
5944
6454
|
exports.BasketballGameConfig = BasketballGameConfig;
|
|
5945
6455
|
exports.BasketballGameLog = BasketballGameLog;
|
|
@@ -5969,6 +6479,14 @@
|
|
|
5969
6479
|
exports.GameVolleyballPositionLocalization = GameVolleyballPositionLocalization;
|
|
5970
6480
|
exports.GameVolleyballPositionShortLocalization = GameVolleyballPositionShortLocalization;
|
|
5971
6481
|
exports.GameVolleyballPositionShortRuLocalization = GameVolleyballPositionShortRuLocalization;
|
|
6482
|
+
exports.HockeyGameApi = HockeyGameApi;
|
|
6483
|
+
exports.HockeyGameConfig = HockeyGameConfig;
|
|
6484
|
+
exports.HockeyGameLog = HockeyGameLog;
|
|
6485
|
+
exports.HockeyGameLogTypeLocalization = HockeyGameLogTypeLocalization;
|
|
6486
|
+
exports.HockeyGameStatistic = HockeyGameStatistic;
|
|
6487
|
+
exports.HockeyGameTeamStatistic = HockeyGameTeamStatistic;
|
|
6488
|
+
exports.HockeyProfile = HockeyProfile;
|
|
6489
|
+
exports.HockeyStatistic = HockeyStatistic;
|
|
5972
6490
|
exports.HttpCookieInterceptor = HttpCookieInterceptor;
|
|
5973
6491
|
exports.League = League;
|
|
5974
6492
|
exports.LeagueApi = LeagueApi;
|