@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.
@@ -113,3 +113,9 @@ export * from './waterpolo-game-statistic';
113
113
  export * from './waterpolo-game-team-statistic';
114
114
  export * from './waterpolo-profile';
115
115
  export * from './waterpolo-statistic';
116
+ export * from './wrestball-game-config';
117
+ export * from './wrestball-game-log';
118
+ export * from './wrestball-game-statistic';
119
+ export * from './wrestball-game-team-statistic';
120
+ export * from './wrestball-profile';
121
+ export * from './wrestball-statistic';
package/models/sport.d.ts CHANGED
@@ -22,7 +22,9 @@ export declare enum SportTypes {
22
22
  classic_waterpolo = 20,
23
23
  mini_waterpolo = 21,
24
24
  media_basket = 22,
25
- moneyball_basket = 23
25
+ moneyball_basket = 23,
26
+ wrestball = 24,
27
+ wrestball_classic = 25
26
28
  }
27
29
  export declare class Sport extends BaseModel {
28
30
  id: number;
@@ -52,6 +54,7 @@ export declare class Sport extends BaseModel {
52
54
  isWaterpolo(): boolean;
53
55
  isClassicWaterpolo(): boolean;
54
56
  isMiniWaterpolo(): boolean;
57
+ isWrestball(): boolean;
55
58
  static toFront(data: any): any;
56
59
  static toBack(sport: Sport): any;
57
60
  }
@@ -54,7 +54,8 @@ export declare enum OvertimeTypes {
54
54
  to_first_goal_and_bullitts = 6,
55
55
  bullitts = 7,
56
56
  penalties = 8,
57
- time_and_penalties = 9
57
+ time_and_penalties = 9,
58
+ time_and_first_goal = 10
58
59
  }
59
60
  export declare enum TimerTypes {
60
61
  backward = 1,
@@ -88,6 +89,7 @@ export declare class TournamentSettings extends BaseModel {
88
89
  volleyballStatisticType: VolleyballStatisticTypes;
89
90
  rugbyStatisticType: RugbyStatisticTypes;
90
91
  waterpoloStatisticType: WaterpoloStatisticTypes;
92
+ wrestballStatisticType: WrestballStatisticTypes;
91
93
  shotClockEnabled: boolean;
92
94
  gameTimeType: GameTimeTypes;
93
95
  withResultTable: boolean;
@@ -101,6 +103,8 @@ export declare class TournamentSettings extends BaseModel {
101
103
  matchPenaltyTime: number;
102
104
  timerType: TimerTypes;
103
105
  hideOnLeagueMainPage: boolean;
106
+ wrestlerScrumsCount: number;
107
+ wrestlersCount: number;
104
108
  get genderTitle(): string;
105
109
  static toFront(data: any): any;
106
110
  static toBack(data: any): any;
package/models/user.d.ts CHANGED
@@ -9,6 +9,7 @@ import { FootballProfile } from './football-profile';
9
9
  import { HandballProfile } from './handball-profile';
10
10
  import { RugbyProfile } from './rugby-profile';
11
11
  import { WaterpoloProfile } from './waterpolo-profile';
12
+ import { WrestballProfile } from './wrestball-profile';
12
13
  export declare enum UserGender {
13
14
  male = 1,
14
15
  female = 2
@@ -29,6 +30,7 @@ export declare class User extends BaseModel {
29
30
  handballProfile: HandballProfile;
30
31
  rugbyProfile: RugbyProfile;
31
32
  waterpoloProfile: WaterpoloProfile;
33
+ wrestballProfile: WrestballProfile;
32
34
  photo: File;
33
35
  wizards: string[];
34
36
  city: City;
@@ -16,6 +16,7 @@ export declare class WrestballGameConfig extends BaseModel {
16
16
  gameTimeType: GameTimeTypes;
17
17
  timerType: TimerTypes;
18
18
  wrestlerScrumsCount: number;
19
+ wrestlersCount: number;
19
20
  static toFront(data: any): any;
20
21
  static toBack(data: any): any;
21
22
  }
@@ -0,0 +1,64 @@
1
+ import { BaseModel } from './util';
2
+ import { GameUser } from './game-user';
3
+ import { GameLogBase } from './game-log-base';
4
+ export declare enum WrestballGameLogTypes {
5
+ enter_game = 1,
6
+ exit_game = 2,
7
+ remove_game = 3,
8
+ one_point_made = 4,
9
+ one_point_attempt = 5,
10
+ two_point_made = 6,
11
+ two_point_attempt = 7,
12
+ three_point_made = 8,
13
+ three_point_attempt = 9,
14
+ free_throw_made = 10,
15
+ free_throw_attempt = 11,
16
+ assist = 12,
17
+ block = 13,
18
+ rebound = 14,
19
+ offensive_rebound = 15,
20
+ defensive_rebound = 16,
21
+ team_rebound = 17,
22
+ steal = 18,
23
+ turnover = 19,
24
+ personal_foul = 20,
25
+ timeout = 21,
26
+ wrestler_scrum = 22,
27
+ wrestler_scrum_won = 23,
28
+ wrestler_scrum_lost = 24,
29
+ wrestler_scrum_tie = 25,
30
+ scrum = 26,
31
+ scrum_won = 27,
32
+ scrum_lost = 28,
33
+ scrum_tie = 29,
34
+ yellow_card = 30,
35
+ red_card = 31
36
+ }
37
+ export declare class WrestballGameLog extends BaseModel implements GameLogBase {
38
+ id: number;
39
+ uniqueId: string;
40
+ gameId: number;
41
+ gameUserId: number;
42
+ gameUser: GameUser;
43
+ teamId: number;
44
+ logType: WrestballGameLogTypes;
45
+ datetime: Date;
46
+ time: number;
47
+ period: number;
48
+ active: boolean;
49
+ teamScore: number;
50
+ competitorTeamScore: number;
51
+ isHighlight: boolean;
52
+ foulOnGameUserId: number;
53
+ foulOnGameUser: GameUser;
54
+ isCoach: boolean;
55
+ isBench: boolean;
56
+ isPointsType(): boolean;
57
+ isReboundType(): boolean;
58
+ isFoulType(): boolean;
59
+ getScore(): any;
60
+ compare(model: WrestballGameLog): number;
61
+ get timeFormatted(): string;
62
+ static toFront(value: any): any;
63
+ static toBack(value: any): any;
64
+ }
@@ -0,0 +1,52 @@
1
+ import { BaseModel } from './util';
2
+ import { GameStatisticBase } from './game-statistic-base';
3
+ export declare class WrestballGameStatistic extends BaseModel implements GameStatisticBase {
4
+ gameUserId: number;
5
+ points: number;
6
+ freeThrowsMade: number;
7
+ twoPointsMade: number;
8
+ threePointsMade: number;
9
+ onePointsMade: number;
10
+ twoPointAttempts: number;
11
+ threePointAttempts: number;
12
+ freeThrowAttempts: number;
13
+ onePointAttempts: number;
14
+ assists: number;
15
+ blocks: number;
16
+ rebounds: number;
17
+ offensiveRebounds: number;
18
+ defensiveRebounds: number;
19
+ steals: number;
20
+ turnovers: number;
21
+ personalFouls: number;
22
+ technicalFouls: number;
23
+ unsportsmanlikeFouls: number;
24
+ disqualificationFouls: number;
25
+ drawnFouls: number;
26
+ wrestlerScrumsWon: number;
27
+ wrestlerScrumsLost: number;
28
+ wrestlerScrumsTie: number;
29
+ wrestlerScrumPoints: number;
30
+ scrumsWon: number;
31
+ scrumsLost: number;
32
+ scrumsTie: number;
33
+ scrumPoints: number;
34
+ yellowCards: number;
35
+ redCards: number;
36
+ updatedAt: Date;
37
+ get id(): number;
38
+ static toFront(data: any): any;
39
+ static toBack(data: any): any;
40
+ get totalFouls(): number;
41
+ set onePointPercent(v: number);
42
+ get onePointPercent(): number;
43
+ set twoPointPercent(v: number);
44
+ get twoPointPercent(): number;
45
+ set threePointPercent(v: number);
46
+ get threePointPercent(): number;
47
+ set freeThrowPercent(v: number);
48
+ get freeThrowPercent(): number;
49
+ get totalRebounds(): number;
50
+ get wrestlerScrums(): number;
51
+ get scrums(): number;
52
+ }
@@ -0,0 +1,9 @@
1
+ import { BaseModel } from './util';
2
+ import { WrestballStatistic } from './wrestball-statistic';
3
+ import { GameTeamStatisticBase } from './game-team-statistic-base';
4
+ export declare class WrestballGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
5
+ team: WrestballStatistic;
6
+ competitorTeam: WrestballStatistic;
7
+ static toFront(data: any): any;
8
+ static toBack(data: any): any;
9
+ }
@@ -0,0 +1,12 @@
1
+ import { BaseModel } from './util';
2
+ export declare enum WrestballWorkHand {
3
+ left = 1,
4
+ right = 2
5
+ }
6
+ export declare class WrestballProfile extends BaseModel {
7
+ id: number;
8
+ userId: number;
9
+ workHand: WrestballWorkHand;
10
+ static toFront(value: any): any;
11
+ static toBack(value: any): any;
12
+ }
package/mtgame-core.d.ts CHANGED
@@ -2,4 +2,3 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './public-api';
5
- export { WrestballGameConfig as ɵa } from './models/wrestball-game-config';