@mtgame/core 0.2.70 → 0.2.71

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/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,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,5 @@
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';
5
+ export { WrestballGameConfig as ɵc } from './models/wrestball-game-config';
6
+ export { WrestballProfile as ɵb, WrestballWorkHand as ɵa } from './models/wrestball-profile';