@mtgame/core 0.2.70 → 0.2.72
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 +364 -14
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/public-api.js +7 -1
- package/esm2015/models/sport.js +6 -1
- package/esm2015/models/team.js +4 -1
- package/esm2015/models/tournament.js +6 -1
- package/esm2015/models/user.js +4 -1
- package/esm2015/models/wrestball-game-config.js +3 -2
- package/esm2015/models/wrestball-game-log.js +128 -0
- package/esm2015/models/wrestball-game-statistic.js +100 -0
- package/esm2015/models/wrestball-game-team-statistic.js +27 -0
- package/esm2015/models/wrestball-profile.js +33 -0
- package/esm2015/mtgame-core.js +1 -2
- package/fesm2015/mtgame-core.js +293 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/public-api.d.ts +6 -0
- package/models/sport.d.ts +4 -1
- package/models/tournament.d.ts +5 -1
- package/models/user.d.ts +2 -0
- package/models/wrestball-game-config.d.ts +1 -0
- package/models/wrestball-game-log.d.ts +64 -0
- package/models/wrestball-game-statistic.d.ts +52 -0
- package/models/wrestball-game-team-statistic.d.ts +9 -0
- package/models/wrestball-profile.d.ts +12 -0
- package/mtgame-core.d.ts +0 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ModelInstance, BaseModel, ToFrontHook, ToBackHook, DateTimeField } from './util';
|
|
3
|
+
let WrestballGameStatistic = class WrestballGameStatistic extends BaseModel {
|
|
4
|
+
get id() {
|
|
5
|
+
return this.gameUserId;
|
|
6
|
+
}
|
|
7
|
+
static toFront(data) { }
|
|
8
|
+
static toBack(data) { }
|
|
9
|
+
get totalFouls() {
|
|
10
|
+
return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
|
|
11
|
+
}
|
|
12
|
+
set onePointPercent(v) { }
|
|
13
|
+
get onePointPercent() {
|
|
14
|
+
if (!this.onePointsMade || !this.onePointAttempts) {
|
|
15
|
+
return 0;
|
|
16
|
+
}
|
|
17
|
+
return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
|
|
18
|
+
}
|
|
19
|
+
set twoPointPercent(v) { }
|
|
20
|
+
get twoPointPercent() {
|
|
21
|
+
if (!this.twoPointsMade || !this.twoPointAttempts) {
|
|
22
|
+
return 0;
|
|
23
|
+
}
|
|
24
|
+
return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
|
|
25
|
+
}
|
|
26
|
+
set threePointPercent(v) { }
|
|
27
|
+
get threePointPercent() {
|
|
28
|
+
if (!this.threePointsMade || !this.threePointAttempts) {
|
|
29
|
+
return 0;
|
|
30
|
+
}
|
|
31
|
+
return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
|
|
32
|
+
}
|
|
33
|
+
set freeThrowPercent(v) { }
|
|
34
|
+
get freeThrowPercent() {
|
|
35
|
+
if (!this.freeThrowsMade || !this.freeThrowAttempts) {
|
|
36
|
+
return 0;
|
|
37
|
+
}
|
|
38
|
+
return Math.round(1000 * this.freeThrowsMade / this.freeThrowAttempts) / 10;
|
|
39
|
+
}
|
|
40
|
+
get totalRebounds() {
|
|
41
|
+
return Math.floor(10 * ((this.offensiveRebounds || 0) + (this.defensiveRebounds || 0))) / 10;
|
|
42
|
+
}
|
|
43
|
+
get wrestlerScrums() {
|
|
44
|
+
return (this.wrestlerScrumsWon || 0) + (this.wrestlerScrumsLost || 0) + (this.wrestlerScrumsTie || 0);
|
|
45
|
+
}
|
|
46
|
+
get scrums() {
|
|
47
|
+
return (this.scrumsWon || 0) + (this.scrumsLost || 0) + (this.scrumsTie || 0);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
__decorate([
|
|
51
|
+
ToFrontHook
|
|
52
|
+
], WrestballGameStatistic, "toFront", null);
|
|
53
|
+
__decorate([
|
|
54
|
+
ToBackHook
|
|
55
|
+
], WrestballGameStatistic, "toBack", null);
|
|
56
|
+
WrestballGameStatistic = __decorate([
|
|
57
|
+
ModelInstance({
|
|
58
|
+
mappingFields: {
|
|
59
|
+
game_user_id: 'gameUserId',
|
|
60
|
+
points: 'points',
|
|
61
|
+
free_throws_made: 'freeThrowsMade',
|
|
62
|
+
two_points_made: 'twoPointsMade',
|
|
63
|
+
three_points_made: 'threePointsMade',
|
|
64
|
+
one_points_made: 'onePointsMade',
|
|
65
|
+
two_point_attempts: 'twoPointAttempts',
|
|
66
|
+
three_point_attempts: 'threePointAttempts',
|
|
67
|
+
free_throw_attempts: 'freeThrowAttempts',
|
|
68
|
+
one_point_attempts: 'onePointAttempts',
|
|
69
|
+
one_point_percent: 'onePointPercent',
|
|
70
|
+
two_point_percent: 'twoPointPercent',
|
|
71
|
+
three_point_percent: 'threePointPercent',
|
|
72
|
+
free_throw_percent: 'freeThrowPercent',
|
|
73
|
+
assists: 'assists',
|
|
74
|
+
blocks: 'blocks',
|
|
75
|
+
rebounds: 'rebounds',
|
|
76
|
+
offensive_rebounds: 'offensiveRebounds',
|
|
77
|
+
defensive_rebounds: 'defensiveRebounds',
|
|
78
|
+
steals: 'steals',
|
|
79
|
+
turnovers: 'turnovers',
|
|
80
|
+
personal_fouls: 'personalFouls',
|
|
81
|
+
drawn_fouls: 'drawnFouls',
|
|
82
|
+
wrestler_scrums_won: 'wrestlerScrumsWon',
|
|
83
|
+
wrestler_scrums_lost: 'wrestlerScrumsLost',
|
|
84
|
+
wrestler_scrums_tie: 'wrestlerScrumsTie',
|
|
85
|
+
wrestler_scrum_points: 'wrestlerScrumPoints',
|
|
86
|
+
scrums_won: 'scrumsWon',
|
|
87
|
+
scrums_lost: 'scrumsLost',
|
|
88
|
+
scrums_tie: 'scrumsTie',
|
|
89
|
+
scrum_points: 'scrumPoints',
|
|
90
|
+
yellow_cards: 'yellowCards',
|
|
91
|
+
red_cards: 'redCards',
|
|
92
|
+
updated_at: 'updatedAt',
|
|
93
|
+
},
|
|
94
|
+
relation: {
|
|
95
|
+
updatedAt: DateTimeField,
|
|
96
|
+
}
|
|
97
|
+
})
|
|
98
|
+
], WrestballGameStatistic);
|
|
99
|
+
export { WrestballGameStatistic };
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3Jlc3RiYWxsLWdhbWUtc3RhdGlzdGljLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9zcmMvbW9kZWxzL3dyZXN0YmFsbC1nYW1lLXN0YXRpc3RpYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxhQUFhLEVBQUUsTUFBTSxRQUFRLENBQUM7SUE0QzdFLHNCQUFzQixTQUF0QixzQkFBdUIsU0FBUSxTQUFTO0lBbUNuRCxJQUFJLEVBQUU7UUFDSixPQUFPLElBQUksQ0FBQyxVQUFVLENBQUM7SUFDekIsQ0FBQztJQUdELE1BQU0sQ0FBQyxPQUFPLENBQUMsSUFBUyxJQUFRLENBQUM7SUFHakMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxJQUFTLElBQVEsQ0FBQztJQUVoQyxJQUFJLFVBQVU7UUFDWixPQUFPLENBQUMsSUFBSSxDQUFDLGFBQWEsSUFBSSxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxjQUFjLElBQUksQ0FBQyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsb0JBQW9CLElBQUksQ0FBQyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMscUJBQXFCLElBQUksQ0FBQyxDQUFDLENBQUM7SUFDdkksQ0FBQztJQUVELElBQUksZUFBZSxDQUFDLENBQVMsSUFBRyxDQUFDO0lB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ZXN0bGVyU2NydW1zV29uIHx8IDApICsgKHRoaXMud3Jlc3RsZXJTY3J1bXNMb3N0IHx8IDApICsgKHRoaXMud3Jlc3RsZXJTY3J1bXNUaWUgfHwgMCk7XG4gIH1cblxuICBnZXQgc2NydW1zKCk6IG51bWJlciB7XG4gICAgcmV0dXJuICh0aGlzLnNjcnVtc1dvbiB8fCAwKSArICh0aGlzLnNjcnVtc0xvc3QgfHwgMCkgKyAodGhpcy5zY3J1bXNUaWUgfHwgMCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { ModelInstance, BaseModel, ToBackHook, ToFrontHook } from './util';
|
|
3
|
+
import { WrestballStatistic } from './wrestball-statistic';
|
|
4
|
+
let WrestballGameTeamStatistic = class WrestballGameTeamStatistic extends BaseModel {
|
|
5
|
+
static toFront(data) { }
|
|
6
|
+
static toBack(data) { }
|
|
7
|
+
};
|
|
8
|
+
__decorate([
|
|
9
|
+
ToFrontHook
|
|
10
|
+
], WrestballGameTeamStatistic, "toFront", null);
|
|
11
|
+
__decorate([
|
|
12
|
+
ToBackHook
|
|
13
|
+
], WrestballGameTeamStatistic, "toBack", null);
|
|
14
|
+
WrestballGameTeamStatistic = __decorate([
|
|
15
|
+
ModelInstance({
|
|
16
|
+
mappingFields: {
|
|
17
|
+
team: 'team',
|
|
18
|
+
competitor_team: 'competitorTeam'
|
|
19
|
+
},
|
|
20
|
+
relation: {
|
|
21
|
+
team: WrestballStatistic,
|
|
22
|
+
competitorTeam: WrestballStatistic
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
], WrestballGameTeamStatistic);
|
|
26
|
+
export { WrestballGameTeamStatistic };
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3Jlc3RiYWxsLWdhbWUtdGVhbS1zdGF0aXN0aWMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNl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dhbWUtdGVhbS1zdGF0aXN0aWMtYmFzZSc7XG5cbkBNb2RlbEluc3RhbmNlKHtcbiAgbWFwcGluZ0ZpZWxkczoge1xuICAgIHRlYW06ICd0ZWFtJyxcbiAgICBjb21wZXRpdG9yX3RlYW06ICdjb21wZXRpdG9yVGVhbSdcbiAgfSxcbiAgcmVsYXRpb246IHtcbiAgICB0ZWFtOiBXcmVzdGJhbGxTdGF0aXN0aWMsXG4gICAgY29tcGV0aXRvclRlYW06IFdyZXN0YmFsbFN0YXRpc3RpY1xuICB9XG59KVxuZXhwb3J0IGNsYXNzIFdyZXN0YmFsbEdhbWVUZWFtU3RhdGlzdGljIGV4dGVuZHMgQmFzZU1vZGVsIGltcGxlbWVudHMgR2FtZVRlYW1TdGF0aXN0aWNCYXNlIHtcbiAgdGVhbTogV3Jlc3RiYWxsU3RhdGlzdGljO1xuICBjb21wZXRpdG9yVGVhbTogV3Jlc3RiYWxsU3RhdGlzdGljO1xuXG4gIEBUb0Zyb250SG9va1xuICBzdGF0aWMgdG9Gcm9udChkYXRhOiBhbnkpOiBhbnkge31cblxuICBAVG9CYWNrSG9va1xuICBzdGF0aWMgdG9CYWNrKGRhdGE6IGFueSk6IGFueSB7fVxufVxuIl19
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { BaseModel, enumField, ModelInstance, ToBackHook, ToFrontHook } from './util';
|
|
3
|
+
export var WrestballWorkHand;
|
|
4
|
+
(function (WrestballWorkHand) {
|
|
5
|
+
WrestballWorkHand[WrestballWorkHand["left"] = 1] = "left";
|
|
6
|
+
WrestballWorkHand[WrestballWorkHand["right"] = 2] = "right";
|
|
7
|
+
})(WrestballWorkHand || (WrestballWorkHand = {}));
|
|
8
|
+
let WrestballProfile = class WrestballProfile extends BaseModel {
|
|
9
|
+
static toFront(value) {
|
|
10
|
+
}
|
|
11
|
+
static toBack(value) {
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
__decorate([
|
|
15
|
+
ToFrontHook
|
|
16
|
+
], WrestballProfile, "toFront", null);
|
|
17
|
+
__decorate([
|
|
18
|
+
ToBackHook
|
|
19
|
+
], WrestballProfile, "toBack", null);
|
|
20
|
+
WrestballProfile = __decorate([
|
|
21
|
+
ModelInstance({
|
|
22
|
+
mappingFields: {
|
|
23
|
+
id: 'id',
|
|
24
|
+
user_id: 'userId',
|
|
25
|
+
work_hand: 'workHand'
|
|
26
|
+
},
|
|
27
|
+
relation: {
|
|
28
|
+
workHand: enumField(WrestballWorkHand)
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
], WrestballProfile);
|
|
32
|
+
export { WrestballProfile };
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3Jlc3RiYWxsLXByb2ZpbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9tb2RlbHMvd3Jlc3RiYWxsLXByb2ZpbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLGFBQWEsRUFBRSxVQUFVLEVBQUUsV0FBVyxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBRXRGLE1BQU0sQ0FBTixJQUFZLGlCQUdYO0FBSEQsV0FBWSxpQkFBaUI7SUFDM0IseURBQVEsQ0FBQTtJQUNSLDJEQUFLLENBQUE7QUFDUCxDQUFDLEVBSFcsaUJBQWlCLEtBQWpCLGlCQUFpQixRQUc1QjtJQVlZLGdCQUFnQixTQUFoQixnQkFBaUIsU0FBUSxTQUFTO0lBTTdDLE1BQU0sQ0FBQyxPQUFPLENBQUMsS0FBVTtJQUN6QixDQUFDO0lBR0QsTUFBTSxDQUFDLE1BQU0sQ0FBQyxLQUFVO0lBQ3hCLENBQUM7Q0FDRixDQUFBO0FBTkM7SUFEQyxXQUFX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Fjayh2YWx1ZTogYW55KTogYW55IHtcbiAgfVxufVxuIl19
|
package/esm2015/mtgame-core.js
CHANGED
|
@@ -2,5 +2,4 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXRnYW1lLWNvcmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9tdGdhbWUtY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxtQkFBbUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtXcmVzdGJhbGxHYW1lQ29uZmlnIGFzIMm1YX0gZnJvbSAnLi9tb2RlbHMvd3Jlc3RiYWxsLWdhbWUtY29uZmlnJzsiXX0=
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXRnYW1lLWNvcmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3NyYy9tdGdhbWUtY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
package/fesm2015/mtgame-core.js
CHANGED
|
@@ -373,6 +373,8 @@ var SportTypes;
|
|
|
373
373
|
SportTypes[SportTypes["mini_waterpolo"] = 21] = "mini_waterpolo";
|
|
374
374
|
SportTypes[SportTypes["media_basket"] = 22] = "media_basket";
|
|
375
375
|
SportTypes[SportTypes["moneyball_basket"] = 23] = "moneyball_basket";
|
|
376
|
+
SportTypes[SportTypes["wrestball"] = 24] = "wrestball";
|
|
377
|
+
SportTypes[SportTypes["wrestball_classic"] = 25] = "wrestball_classic";
|
|
376
378
|
})(SportTypes || (SportTypes = {}));
|
|
377
379
|
let Sport = class Sport extends BaseModel {
|
|
378
380
|
isBasketball() {
|
|
@@ -444,6 +446,9 @@ let Sport = class Sport extends BaseModel {
|
|
|
444
446
|
isMiniWaterpolo() {
|
|
445
447
|
return this.id === SportTypes.mini_waterpolo;
|
|
446
448
|
}
|
|
449
|
+
isWrestball() {
|
|
450
|
+
return this.id === SportTypes.wrestball || this.parentId === SportTypes.wrestball;
|
|
451
|
+
}
|
|
447
452
|
static toFront(data) {
|
|
448
453
|
return null;
|
|
449
454
|
}
|
|
@@ -774,6 +779,36 @@ WaterpoloProfile = __decorate([
|
|
|
774
779
|
})
|
|
775
780
|
], WaterpoloProfile);
|
|
776
781
|
|
|
782
|
+
var WrestballWorkHand;
|
|
783
|
+
(function (WrestballWorkHand) {
|
|
784
|
+
WrestballWorkHand[WrestballWorkHand["left"] = 1] = "left";
|
|
785
|
+
WrestballWorkHand[WrestballWorkHand["right"] = 2] = "right";
|
|
786
|
+
})(WrestballWorkHand || (WrestballWorkHand = {}));
|
|
787
|
+
let WrestballProfile = class WrestballProfile extends BaseModel {
|
|
788
|
+
static toFront(value) {
|
|
789
|
+
}
|
|
790
|
+
static toBack(value) {
|
|
791
|
+
}
|
|
792
|
+
};
|
|
793
|
+
__decorate([
|
|
794
|
+
ToFrontHook
|
|
795
|
+
], WrestballProfile, "toFront", null);
|
|
796
|
+
__decorate([
|
|
797
|
+
ToBackHook
|
|
798
|
+
], WrestballProfile, "toBack", null);
|
|
799
|
+
WrestballProfile = __decorate([
|
|
800
|
+
ModelInstance({
|
|
801
|
+
mappingFields: {
|
|
802
|
+
id: 'id',
|
|
803
|
+
user_id: 'userId',
|
|
804
|
+
work_hand: 'workHand'
|
|
805
|
+
},
|
|
806
|
+
relation: {
|
|
807
|
+
workHand: enumField(WrestballWorkHand)
|
|
808
|
+
}
|
|
809
|
+
})
|
|
810
|
+
], WrestballProfile);
|
|
811
|
+
|
|
777
812
|
var UserGender;
|
|
778
813
|
(function (UserGender) {
|
|
779
814
|
UserGender[UserGender["male"] = 1] = "male";
|
|
@@ -828,6 +863,7 @@ User = __decorate([
|
|
|
828
863
|
handball_profile: 'handballProfile',
|
|
829
864
|
rugby_profile: 'rugbyProfile',
|
|
830
865
|
waterpolo_profile: 'waterpoloProfile',
|
|
866
|
+
wrestball_profile: 'wrestballProfile',
|
|
831
867
|
wizards: 'wizards',
|
|
832
868
|
city: 'city',
|
|
833
869
|
gender: 'gender',
|
|
@@ -846,6 +882,7 @@ User = __decorate([
|
|
|
846
882
|
handballProfile: HandballProfile,
|
|
847
883
|
rugbyProfile: RugbyProfile,
|
|
848
884
|
waterpoloProfile: WaterpoloProfile,
|
|
885
|
+
wrestballProfile: WrestballProfile,
|
|
849
886
|
city: City,
|
|
850
887
|
gender: enumField(UserGender)
|
|
851
888
|
}
|
|
@@ -876,6 +913,9 @@ let Team = class Team extends BaseModel {
|
|
|
876
913
|
if (this.sport.isWaterpolo()) {
|
|
877
914
|
classList.push('empty-logo-waterpolo');
|
|
878
915
|
}
|
|
916
|
+
if (this.sport.isWrestball()) {
|
|
917
|
+
classList.push('empty-logo-basketball');
|
|
918
|
+
}
|
|
879
919
|
return classList.join(' ');
|
|
880
920
|
}
|
|
881
921
|
static toFront(data) {
|
|
@@ -1119,6 +1159,7 @@ var OvertimeTypes;
|
|
|
1119
1159
|
OvertimeTypes[OvertimeTypes["bullitts"] = 7] = "bullitts";
|
|
1120
1160
|
OvertimeTypes[OvertimeTypes["penalties"] = 8] = "penalties";
|
|
1121
1161
|
OvertimeTypes[OvertimeTypes["time_and_penalties"] = 9] = "time_and_penalties";
|
|
1162
|
+
OvertimeTypes[OvertimeTypes["time_and_first_goal"] = 10] = "time_and_first_goal";
|
|
1122
1163
|
})(OvertimeTypes || (OvertimeTypes = {}));
|
|
1123
1164
|
var TimerTypes;
|
|
1124
1165
|
(function (TimerTypes) {
|
|
@@ -1187,6 +1228,7 @@ TournamentSettings = __decorate([
|
|
|
1187
1228
|
volleyball_statistic_type: 'volleyballStatisticType',
|
|
1188
1229
|
rugby_statistic_type: 'rugbyStatisticType',
|
|
1189
1230
|
waterpolo_statistic_type: 'waterpoloStatisticType',
|
|
1231
|
+
wrestball_statistic_type: 'wrestballStatisticType',
|
|
1190
1232
|
shot_clock_enabled: 'shotClockEnabled',
|
|
1191
1233
|
game_time_type: 'gameTimeType',
|
|
1192
1234
|
with_result_table: 'withResultTable',
|
|
@@ -1200,6 +1242,8 @@ TournamentSettings = __decorate([
|
|
|
1200
1242
|
match_penalty_time: 'matchPenaltyTime',
|
|
1201
1243
|
timer_type: 'timerType',
|
|
1202
1244
|
hide_on_league_main_page: 'hideOnLeagueMainPage',
|
|
1245
|
+
wrestler_scrums_count: 'wrestlerScrumsCount',
|
|
1246
|
+
wrestlers_count: 'wrestlersCount',
|
|
1203
1247
|
},
|
|
1204
1248
|
relation: {
|
|
1205
1249
|
type: enumField(TournamentTypes),
|
|
@@ -1208,6 +1252,7 @@ TournamentSettings = __decorate([
|
|
|
1208
1252
|
volleyballStatisticType: enumField(VolleyballStatisticTypes),
|
|
1209
1253
|
rugbyStatisticType: enumField(RugbyStatisticTypes),
|
|
1210
1254
|
waterpoloStatisticType: enumField(WaterpoloStatisticTypes),
|
|
1255
|
+
wrestballStatisticType: enumField(WrestballStatisticTypes),
|
|
1211
1256
|
gameTimeType: enumField(GameTimeTypes),
|
|
1212
1257
|
overtimeType: enumField(OvertimeTypes),
|
|
1213
1258
|
timerType: enumField(TimerTypes),
|
|
@@ -1814,7 +1859,8 @@ WrestballGameConfig = __decorate([
|
|
|
1814
1859
|
shot_clock_enabled: 'shotClockEnabled',
|
|
1815
1860
|
game_time_type: 'gameTimeType',
|
|
1816
1861
|
timer_type: 'timerType',
|
|
1817
|
-
wrestler_scrums_count: 'wrestlerScrumsCount'
|
|
1862
|
+
wrestler_scrums_count: 'wrestlerScrumsCount',
|
|
1863
|
+
wrestlers_count: 'wrestlersCount',
|
|
1818
1864
|
},
|
|
1819
1865
|
relation: {
|
|
1820
1866
|
overtimeType: enumField(OvertimeTypes),
|
|
@@ -10960,6 +11006,251 @@ OrganizationStatistic = __decorate([
|
|
|
10960
11006
|
})
|
|
10961
11007
|
], OrganizationStatistic);
|
|
10962
11008
|
|
|
11009
|
+
var WrestballGameLogTypes;
|
|
11010
|
+
(function (WrestballGameLogTypes) {
|
|
11011
|
+
WrestballGameLogTypes[WrestballGameLogTypes["enter_game"] = 1] = "enter_game";
|
|
11012
|
+
WrestballGameLogTypes[WrestballGameLogTypes["exit_game"] = 2] = "exit_game";
|
|
11013
|
+
WrestballGameLogTypes[WrestballGameLogTypes["remove_game"] = 3] = "remove_game";
|
|
11014
|
+
WrestballGameLogTypes[WrestballGameLogTypes["one_point_made"] = 4] = "one_point_made";
|
|
11015
|
+
WrestballGameLogTypes[WrestballGameLogTypes["one_point_attempt"] = 5] = "one_point_attempt";
|
|
11016
|
+
WrestballGameLogTypes[WrestballGameLogTypes["two_point_made"] = 6] = "two_point_made";
|
|
11017
|
+
WrestballGameLogTypes[WrestballGameLogTypes["two_point_attempt"] = 7] = "two_point_attempt";
|
|
11018
|
+
WrestballGameLogTypes[WrestballGameLogTypes["three_point_made"] = 8] = "three_point_made";
|
|
11019
|
+
WrestballGameLogTypes[WrestballGameLogTypes["three_point_attempt"] = 9] = "three_point_attempt";
|
|
11020
|
+
WrestballGameLogTypes[WrestballGameLogTypes["free_throw_made"] = 10] = "free_throw_made";
|
|
11021
|
+
WrestballGameLogTypes[WrestballGameLogTypes["free_throw_attempt"] = 11] = "free_throw_attempt";
|
|
11022
|
+
WrestballGameLogTypes[WrestballGameLogTypes["assist"] = 12] = "assist";
|
|
11023
|
+
WrestballGameLogTypes[WrestballGameLogTypes["block"] = 13] = "block";
|
|
11024
|
+
WrestballGameLogTypes[WrestballGameLogTypes["rebound"] = 14] = "rebound";
|
|
11025
|
+
WrestballGameLogTypes[WrestballGameLogTypes["offensive_rebound"] = 15] = "offensive_rebound";
|
|
11026
|
+
WrestballGameLogTypes[WrestballGameLogTypes["defensive_rebound"] = 16] = "defensive_rebound";
|
|
11027
|
+
WrestballGameLogTypes[WrestballGameLogTypes["team_rebound"] = 17] = "team_rebound";
|
|
11028
|
+
WrestballGameLogTypes[WrestballGameLogTypes["steal"] = 18] = "steal";
|
|
11029
|
+
WrestballGameLogTypes[WrestballGameLogTypes["turnover"] = 19] = "turnover";
|
|
11030
|
+
WrestballGameLogTypes[WrestballGameLogTypes["personal_foul"] = 20] = "personal_foul";
|
|
11031
|
+
WrestballGameLogTypes[WrestballGameLogTypes["timeout"] = 21] = "timeout";
|
|
11032
|
+
WrestballGameLogTypes[WrestballGameLogTypes["wrestler_scrum"] = 22] = "wrestler_scrum";
|
|
11033
|
+
WrestballGameLogTypes[WrestballGameLogTypes["wrestler_scrum_won"] = 23] = "wrestler_scrum_won";
|
|
11034
|
+
WrestballGameLogTypes[WrestballGameLogTypes["wrestler_scrum_lost"] = 24] = "wrestler_scrum_lost";
|
|
11035
|
+
WrestballGameLogTypes[WrestballGameLogTypes["wrestler_scrum_tie"] = 25] = "wrestler_scrum_tie";
|
|
11036
|
+
WrestballGameLogTypes[WrestballGameLogTypes["scrum"] = 26] = "scrum";
|
|
11037
|
+
WrestballGameLogTypes[WrestballGameLogTypes["scrum_won"] = 27] = "scrum_won";
|
|
11038
|
+
WrestballGameLogTypes[WrestballGameLogTypes["scrum_lost"] = 28] = "scrum_lost";
|
|
11039
|
+
WrestballGameLogTypes[WrestballGameLogTypes["scrum_tie"] = 29] = "scrum_tie";
|
|
11040
|
+
WrestballGameLogTypes[WrestballGameLogTypes["yellow_card"] = 30] = "yellow_card";
|
|
11041
|
+
WrestballGameLogTypes[WrestballGameLogTypes["red_card"] = 31] = "red_card";
|
|
11042
|
+
})(WrestballGameLogTypes || (WrestballGameLogTypes = {}));
|
|
11043
|
+
let WrestballGameLog = class WrestballGameLog extends BaseModel {
|
|
11044
|
+
constructor() {
|
|
11045
|
+
super(...arguments);
|
|
11046
|
+
this.active = true;
|
|
11047
|
+
}
|
|
11048
|
+
isPointsType() {
|
|
11049
|
+
return [
|
|
11050
|
+
WrestballGameLogTypes.two_point_made,
|
|
11051
|
+
WrestballGameLogTypes.three_point_made,
|
|
11052
|
+
WrestballGameLogTypes.free_throw_made,
|
|
11053
|
+
WrestballGameLogTypes.one_point_made,
|
|
11054
|
+
WrestballGameLogTypes.scrum_won,
|
|
11055
|
+
WrestballGameLogTypes.wrestler_scrum_won,
|
|
11056
|
+
].indexOf(this.logType) > -1;
|
|
11057
|
+
}
|
|
11058
|
+
isReboundType() {
|
|
11059
|
+
return [
|
|
11060
|
+
WrestballGameLogTypes.rebound,
|
|
11061
|
+
WrestballGameLogTypes.offensive_rebound,
|
|
11062
|
+
WrestballGameLogTypes.defensive_rebound,
|
|
11063
|
+
WrestballGameLogTypes.team_rebound,
|
|
11064
|
+
].indexOf(this.logType) > -1;
|
|
11065
|
+
}
|
|
11066
|
+
isFoulType() {
|
|
11067
|
+
return [
|
|
11068
|
+
WrestballGameLogTypes.personal_foul,
|
|
11069
|
+
].indexOf(this.logType) > -1;
|
|
11070
|
+
}
|
|
11071
|
+
getScore() {
|
|
11072
|
+
const scoreMapping = {
|
|
11073
|
+
[WrestballGameLogTypes.one_point_made]: 1,
|
|
11074
|
+
[WrestballGameLogTypes.free_throw_made]: 1,
|
|
11075
|
+
[WrestballGameLogTypes.two_point_made]: 2,
|
|
11076
|
+
[WrestballGameLogTypes.three_point_made]: 3,
|
|
11077
|
+
[WrestballGameLogTypes.scrum_won]: 2,
|
|
11078
|
+
[WrestballGameLogTypes.wrestler_scrum_won]: 2,
|
|
11079
|
+
};
|
|
11080
|
+
return scoreMapping[this.logType] || 0;
|
|
11081
|
+
}
|
|
11082
|
+
compare(model) {
|
|
11083
|
+
if (this.time === model.time && this.period === model.period) {
|
|
11084
|
+
if (this.datetime.getTime() === model.datetime.getTime()) {
|
|
11085
|
+
return this.id > model.id ? 1 : -1;
|
|
11086
|
+
}
|
|
11087
|
+
return this.datetime.getTime() < model.datetime.getTime() ? 1 : -1;
|
|
11088
|
+
}
|
|
11089
|
+
if (this.period === model.period) {
|
|
11090
|
+
return this.time < model.time ? 1 : -1;
|
|
11091
|
+
}
|
|
11092
|
+
return this.period < model.period ? 1 : -1;
|
|
11093
|
+
}
|
|
11094
|
+
get timeFormatted() {
|
|
11095
|
+
const minutes = Math.floor(this.time / 60);
|
|
11096
|
+
const seconds = this.time - minutes * 60;
|
|
11097
|
+
return `${minutes < 10 ? '0' : ''}${minutes}:${seconds < 10 ? '0' : ''}${seconds}`;
|
|
11098
|
+
}
|
|
11099
|
+
static toFront(value) { }
|
|
11100
|
+
static toBack(value) { }
|
|
11101
|
+
};
|
|
11102
|
+
__decorate([
|
|
11103
|
+
ToFrontHook
|
|
11104
|
+
], WrestballGameLog, "toFront", null);
|
|
11105
|
+
__decorate([
|
|
11106
|
+
ToBackHook
|
|
11107
|
+
], WrestballGameLog, "toBack", null);
|
|
11108
|
+
WrestballGameLog = __decorate([
|
|
11109
|
+
ModelInstance({
|
|
11110
|
+
mappingFields: {
|
|
11111
|
+
id: 'id',
|
|
11112
|
+
unique_id: 'uniqueId',
|
|
11113
|
+
game_id: 'gameId',
|
|
11114
|
+
game_user_id: 'gameUserId',
|
|
11115
|
+
team_id: 'teamId',
|
|
11116
|
+
log_type: 'logType',
|
|
11117
|
+
datetime: 'datetime',
|
|
11118
|
+
time: 'time',
|
|
11119
|
+
period: 'period',
|
|
11120
|
+
active: 'active',
|
|
11121
|
+
is_highlight: 'isHighlight',
|
|
11122
|
+
foul_on_game_user_id: 'foulOnGameUserId',
|
|
11123
|
+
is_coach: 'isCoach',
|
|
11124
|
+
is_bench: 'isBench',
|
|
11125
|
+
marked: 'marked',
|
|
11126
|
+
},
|
|
11127
|
+
relation: {
|
|
11128
|
+
datetime: DateTimeField,
|
|
11129
|
+
logType: enumField(WrestballGameLogTypes),
|
|
11130
|
+
}
|
|
11131
|
+
})
|
|
11132
|
+
], WrestballGameLog);
|
|
11133
|
+
|
|
11134
|
+
let WrestballGameStatistic = class WrestballGameStatistic extends BaseModel {
|
|
11135
|
+
get id() {
|
|
11136
|
+
return this.gameUserId;
|
|
11137
|
+
}
|
|
11138
|
+
static toFront(data) { }
|
|
11139
|
+
static toBack(data) { }
|
|
11140
|
+
get totalFouls() {
|
|
11141
|
+
return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
|
|
11142
|
+
}
|
|
11143
|
+
set onePointPercent(v) { }
|
|
11144
|
+
get onePointPercent() {
|
|
11145
|
+
if (!this.onePointsMade || !this.onePointAttempts) {
|
|
11146
|
+
return 0;
|
|
11147
|
+
}
|
|
11148
|
+
return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
|
|
11149
|
+
}
|
|
11150
|
+
set twoPointPercent(v) { }
|
|
11151
|
+
get twoPointPercent() {
|
|
11152
|
+
if (!this.twoPointsMade || !this.twoPointAttempts) {
|
|
11153
|
+
return 0;
|
|
11154
|
+
}
|
|
11155
|
+
return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
|
|
11156
|
+
}
|
|
11157
|
+
set threePointPercent(v) { }
|
|
11158
|
+
get threePointPercent() {
|
|
11159
|
+
if (!this.threePointsMade || !this.threePointAttempts) {
|
|
11160
|
+
return 0;
|
|
11161
|
+
}
|
|
11162
|
+
return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
|
|
11163
|
+
}
|
|
11164
|
+
set freeThrowPercent(v) { }
|
|
11165
|
+
get freeThrowPercent() {
|
|
11166
|
+
if (!this.freeThrowsMade || !this.freeThrowAttempts) {
|
|
11167
|
+
return 0;
|
|
11168
|
+
}
|
|
11169
|
+
return Math.round(1000 * this.freeThrowsMade / this.freeThrowAttempts) / 10;
|
|
11170
|
+
}
|
|
11171
|
+
get totalRebounds() {
|
|
11172
|
+
return Math.floor(10 * ((this.offensiveRebounds || 0) + (this.defensiveRebounds || 0))) / 10;
|
|
11173
|
+
}
|
|
11174
|
+
get wrestlerScrums() {
|
|
11175
|
+
return (this.wrestlerScrumsWon || 0) + (this.wrestlerScrumsLost || 0) + (this.wrestlerScrumsTie || 0);
|
|
11176
|
+
}
|
|
11177
|
+
get scrums() {
|
|
11178
|
+
return (this.scrumsWon || 0) + (this.scrumsLost || 0) + (this.scrumsTie || 0);
|
|
11179
|
+
}
|
|
11180
|
+
};
|
|
11181
|
+
__decorate([
|
|
11182
|
+
ToFrontHook
|
|
11183
|
+
], WrestballGameStatistic, "toFront", null);
|
|
11184
|
+
__decorate([
|
|
11185
|
+
ToBackHook
|
|
11186
|
+
], WrestballGameStatistic, "toBack", null);
|
|
11187
|
+
WrestballGameStatistic = __decorate([
|
|
11188
|
+
ModelInstance({
|
|
11189
|
+
mappingFields: {
|
|
11190
|
+
game_user_id: 'gameUserId',
|
|
11191
|
+
points: 'points',
|
|
11192
|
+
free_throws_made: 'freeThrowsMade',
|
|
11193
|
+
two_points_made: 'twoPointsMade',
|
|
11194
|
+
three_points_made: 'threePointsMade',
|
|
11195
|
+
one_points_made: 'onePointsMade',
|
|
11196
|
+
two_point_attempts: 'twoPointAttempts',
|
|
11197
|
+
three_point_attempts: 'threePointAttempts',
|
|
11198
|
+
free_throw_attempts: 'freeThrowAttempts',
|
|
11199
|
+
one_point_attempts: 'onePointAttempts',
|
|
11200
|
+
one_point_percent: 'onePointPercent',
|
|
11201
|
+
two_point_percent: 'twoPointPercent',
|
|
11202
|
+
three_point_percent: 'threePointPercent',
|
|
11203
|
+
free_throw_percent: 'freeThrowPercent',
|
|
11204
|
+
assists: 'assists',
|
|
11205
|
+
blocks: 'blocks',
|
|
11206
|
+
rebounds: 'rebounds',
|
|
11207
|
+
offensive_rebounds: 'offensiveRebounds',
|
|
11208
|
+
defensive_rebounds: 'defensiveRebounds',
|
|
11209
|
+
steals: 'steals',
|
|
11210
|
+
turnovers: 'turnovers',
|
|
11211
|
+
personal_fouls: 'personalFouls',
|
|
11212
|
+
drawn_fouls: 'drawnFouls',
|
|
11213
|
+
wrestler_scrums_won: 'wrestlerScrumsWon',
|
|
11214
|
+
wrestler_scrums_lost: 'wrestlerScrumsLost',
|
|
11215
|
+
wrestler_scrums_tie: 'wrestlerScrumsTie',
|
|
11216
|
+
wrestler_scrum_points: 'wrestlerScrumPoints',
|
|
11217
|
+
scrums_won: 'scrumsWon',
|
|
11218
|
+
scrums_lost: 'scrumsLost',
|
|
11219
|
+
scrums_tie: 'scrumsTie',
|
|
11220
|
+
scrum_points: 'scrumPoints',
|
|
11221
|
+
yellow_cards: 'yellowCards',
|
|
11222
|
+
red_cards: 'redCards',
|
|
11223
|
+
updated_at: 'updatedAt',
|
|
11224
|
+
},
|
|
11225
|
+
relation: {
|
|
11226
|
+
updatedAt: DateTimeField,
|
|
11227
|
+
}
|
|
11228
|
+
})
|
|
11229
|
+
], WrestballGameStatistic);
|
|
11230
|
+
|
|
11231
|
+
let WrestballGameTeamStatistic = class WrestballGameTeamStatistic extends BaseModel {
|
|
11232
|
+
static toFront(data) { }
|
|
11233
|
+
static toBack(data) { }
|
|
11234
|
+
};
|
|
11235
|
+
__decorate([
|
|
11236
|
+
ToFrontHook
|
|
11237
|
+
], WrestballGameTeamStatistic, "toFront", null);
|
|
11238
|
+
__decorate([
|
|
11239
|
+
ToBackHook
|
|
11240
|
+
], WrestballGameTeamStatistic, "toBack", null);
|
|
11241
|
+
WrestballGameTeamStatistic = __decorate([
|
|
11242
|
+
ModelInstance({
|
|
11243
|
+
mappingFields: {
|
|
11244
|
+
team: 'team',
|
|
11245
|
+
competitor_team: 'competitorTeam'
|
|
11246
|
+
},
|
|
11247
|
+
relation: {
|
|
11248
|
+
team: WrestballStatistic,
|
|
11249
|
+
competitorTeam: WrestballStatistic
|
|
11250
|
+
}
|
|
11251
|
+
})
|
|
11252
|
+
], WrestballGameTeamStatistic);
|
|
11253
|
+
|
|
10963
11254
|
class CentrifugoService {
|
|
10964
11255
|
constructor(httpClient, configService, platformId) {
|
|
10965
11256
|
this.httpClient = httpClient;
|
|
@@ -11357,5 +11648,5 @@ HttpCookieInterceptor.ctorParameters = () => [
|
|
|
11357
11648
|
* Generated bundle index. Do not edit.
|
|
11358
11649
|
*/
|
|
11359
11650
|
|
|
11360
|
-
export { Achievement, AchievementTypes, BannerLocation, BaseModel, BaseService, BasketballCourtSides, BasketballCourtZones, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameSubLogTypesLocalization, BasketballGameTeamStatistic, BasketballPenaltyTypes, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, BasketballSubLogTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, FootballGameApi, FootballGameConfig, FootballGameLog, FootballGameLogTypeLocalization, FootballGameLogTypes, FootballGameStatistic, FootballGameTeamStatistic, FootballProfile, FootballStatistic, FootballWorkFoot, FootballWorkFootLocalization, Game, GameBaseApi, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameBill, GameBillStatusLocalization, GameBillStatuses, GameFootballPosition, GameFootballPositionLocalization, GameHandballPosition, GameHandballPositionLocalization, GameHockeyPosition, GameHockeyPositionLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameRugbyPosition, GameRugbyPositionLocalization, GameStatuses, GameTeamAdditionalData, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameUserDisqualification, GameUserLimitationTypes, GameUserLimitations, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, GameWaterpoloPosition, GameWaterpoloPositionLocalization, GameWaterpoloPositionShortRuLocalization, HandballGameApi, HandballGameConfig, HandballGameLog, HandballGameLogTypeLocalization, HandballGameLogTypes, HandballGameStatistic, HandballGameTeamStatistic, HandballProfile, HandballStatistic, HockeyAdvantageTypes, HockeyGameApi, HockeyGameConfig, HockeyGameLog, HockeyGameLogTypeLocalization, HockeyGameLogTypes, HockeyGameStatistic, HockeyGameTeamStatistic, HockeyPenaltyTypes, HockeyProfile, HockeyStatistic, HockeyWorkHand, HockeyWorkHandLocalization, HttpCookieInterceptor, League, LeagueApi, LeagueBanner, LeagueCourt, LeagueDocument, LeagueFieldBase, LeagueFieldBaseValue, LeagueFieldTypes, LeagueNews, LeagueNewsApi, LeagueNewsType, LeaguePartner, LeaguePlayer, LeaguePlayerApi, LeaguePlayerField, LeaguePlayerFieldValue, LeaguePlaylist, LeagueTeamField, LocalStorageEngine, MODEL_MAPPING_FIELDS_KEY, MODEL_RELATION_KEY, MODEL_TO_BACK_KEY, MODEL_TO_FRONT_KEY, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OrganizationBill, OrganizationBillStatusLocalization, OrganizationBillStatuses, OrganizationStatistic, OrganizationStatuses, OrganizationStatusesLocalization, OrganizationTariff, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, PlayoffTypes, Poll, PollAnswer, PollStatuses, PollVariant, PublicTeamApi, PublicUserApi, Qualification, QualificationLocalization, RUGBY_GAME_LOG_TYPE_POINTS, RUGBY_TEAM_LOG_TYPES, ReferenceApi, RoundTeamGame, RugbyFoulGameStage, RugbyFoulGameStageLocalization, RugbyFoulSanctionLocalization, RugbyFoulSanctions, RugbyFoulType, RugbyGameApi, RugbyGameConfig, RugbyGameLog, RugbyGameLogTypeLocalization, RugbyGameLogTypes, RugbyGameStatistic, RugbyGameTeamStatistic, RugbyProfile, RugbyStatistic, RugbyStatisticTypes, SCORE_LOG_TYPES, Sport, SportTypes, StageTeamGame, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamAchievement, TeamAdditionalData, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, TeamsAndUsers, TimerTypes, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentDivision, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoin1x1Data, TournamentJoin1x1Status, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentRound, TournamentRoundApi, TournamentRoundSettings, TournamentRoundTeam, TournamentRoundTypes, TournamentSeason, TournamentSeasonApi, TournamentSeasonStatuses, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamFieldValue, TournamentTeamShort, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballStatisticTypes, VolleyballWorkHand, VolleyballWorkHandLocalization, WaterpoloAdvantageTypes, WaterpoloGameApi, WaterpoloGameConfig, WaterpoloGameLog, WaterpoloGameLogTypeLocalization, WaterpoloGameLogTypes, WaterpoloGameStatistic, WaterpoloGameTeamStatistic, WaterpoloProfile, WaterpoloStatistic, WaterpoloStatisticTypes, WaterpoloWorkHand, WaterpoloWorkHandLocalization, WorkHand, WorkHandLocalization, WrestballStatisticTypes, addItemInArray, addItemsInArray, applyGameMediaFilters, applyGamesFilters, applyStatisticFilters, applyStatisticLeadersFilters, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, parseDate, patchItemInArray, penaltyTypeField, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl
|
|
11651
|
+
export { Achievement, AchievementTypes, BannerLocation, BaseModel, BaseService, BasketballCourtSides, BasketballCourtZones, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameSubLogTypesLocalization, BasketballGameTeamStatistic, BasketballPenaltyTypes, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, BasketballSubLogTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, FootballGameApi, FootballGameConfig, FootballGameLog, FootballGameLogTypeLocalization, FootballGameLogTypes, FootballGameStatistic, FootballGameTeamStatistic, FootballProfile, FootballStatistic, FootballWorkFoot, FootballWorkFootLocalization, Game, GameBaseApi, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameBill, GameBillStatusLocalization, GameBillStatuses, GameFootballPosition, GameFootballPositionLocalization, GameHandballPosition, GameHandballPositionLocalization, GameHockeyPosition, GameHockeyPositionLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameRugbyPosition, GameRugbyPositionLocalization, GameStatuses, GameTeamAdditionalData, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameUserDisqualification, GameUserLimitationTypes, GameUserLimitations, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, GameWaterpoloPosition, GameWaterpoloPositionLocalization, GameWaterpoloPositionShortRuLocalization, HandballGameApi, HandballGameConfig, HandballGameLog, HandballGameLogTypeLocalization, HandballGameLogTypes, HandballGameStatistic, HandballGameTeamStatistic, HandballProfile, HandballStatistic, HockeyAdvantageTypes, HockeyGameApi, HockeyGameConfig, HockeyGameLog, HockeyGameLogTypeLocalization, HockeyGameLogTypes, HockeyGameStatistic, HockeyGameTeamStatistic, HockeyPenaltyTypes, HockeyProfile, HockeyStatistic, HockeyWorkHand, HockeyWorkHandLocalization, HttpCookieInterceptor, League, LeagueApi, LeagueBanner, LeagueCourt, LeagueDocument, LeagueFieldBase, LeagueFieldBaseValue, LeagueFieldTypes, LeagueNews, LeagueNewsApi, LeagueNewsType, LeaguePartner, LeaguePlayer, LeaguePlayerApi, LeaguePlayerField, LeaguePlayerFieldValue, LeaguePlaylist, LeagueTeamField, LocalStorageEngine, MODEL_MAPPING_FIELDS_KEY, MODEL_RELATION_KEY, MODEL_TO_BACK_KEY, MODEL_TO_FRONT_KEY, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OrganizationBill, OrganizationBillStatusLocalization, OrganizationBillStatuses, OrganizationStatistic, OrganizationStatuses, OrganizationStatusesLocalization, OrganizationTariff, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, PlayoffTypes, Poll, PollAnswer, PollStatuses, PollVariant, PublicTeamApi, PublicUserApi, Qualification, QualificationLocalization, RUGBY_GAME_LOG_TYPE_POINTS, RUGBY_TEAM_LOG_TYPES, ReferenceApi, RoundTeamGame, RugbyFoulGameStage, RugbyFoulGameStageLocalization, RugbyFoulSanctionLocalization, RugbyFoulSanctions, RugbyFoulType, RugbyGameApi, RugbyGameConfig, RugbyGameLog, RugbyGameLogTypeLocalization, RugbyGameLogTypes, RugbyGameStatistic, RugbyGameTeamStatistic, RugbyProfile, RugbyStatistic, RugbyStatisticTypes, SCORE_LOG_TYPES, Sport, SportTypes, StageTeamGame, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamAchievement, TeamAdditionalData, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, TeamsAndUsers, TimerTypes, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentDivision, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoin1x1Data, TournamentJoin1x1Status, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentRound, TournamentRoundApi, TournamentRoundSettings, TournamentRoundTeam, TournamentRoundTypes, TournamentSeason, TournamentSeasonApi, TournamentSeasonStatuses, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamFieldValue, TournamentTeamShort, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballStatisticTypes, VolleyballWorkHand, VolleyballWorkHandLocalization, WaterpoloAdvantageTypes, WaterpoloGameApi, WaterpoloGameConfig, WaterpoloGameLog, WaterpoloGameLogTypeLocalization, WaterpoloGameLogTypes, WaterpoloGameStatistic, WaterpoloGameTeamStatistic, WaterpoloProfile, WaterpoloStatistic, WaterpoloStatisticTypes, WaterpoloWorkHand, WaterpoloWorkHandLocalization, WorkHand, WorkHandLocalization, WrestballGameConfig, WrestballGameLog, WrestballGameLogTypes, WrestballGameStatistic, WrestballGameTeamStatistic, WrestballProfile, WrestballStatistic, WrestballStatisticTypes, WrestballWorkHand, addItemInArray, addItemsInArray, applyGameMediaFilters, applyGamesFilters, applyStatisticFilters, applyStatisticLeadersFilters, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, parseDate, patchItemInArray, penaltyTypeField, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
|
|
11361
11652
|
//# sourceMappingURL=mtgame-core.js.map
|