@mtgame/core 0.2.36 → 0.2.38

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.
@@ -27,4 +27,6 @@ export declare const BasketballGameLogTypeLocalization: {
27
27
  25: string;
28
28
  26: string;
29
29
  29: string;
30
+ 30: string;
31
+ 31: string;
30
32
  };
@@ -30,7 +30,9 @@ export declare enum BasketballGameLogTypes {
30
30
  four_point_made = 26,
31
31
  dunk_attempt = 27,
32
32
  dunk_made = 28,
33
- shootout = 29
33
+ shootout = 29,
34
+ shootout_won = 30,
35
+ shootout_lost = 31
34
36
  }
35
37
  export declare enum BasketballSubLogTypes {
36
38
  jump_shot = 1,
@@ -114,11 +116,11 @@ export declare class BasketballGameLog extends BaseModel implements GameLogBase
114
116
  group: string;
115
117
  marked: boolean;
116
118
  coords: [number, number];
117
- isShootout: boolean;
119
+ shootoutPoints: number;
118
120
  isPointsType(): boolean;
119
121
  isReboundType(): boolean;
120
122
  isFoulType(): boolean;
121
- getScore(): number;
123
+ getScore(): any;
122
124
  compare(model: BasketballGameLog): number;
123
125
  get timeFormatted(): string;
124
126
  static toFront(value: any): any;
package/models/game.d.ts CHANGED
@@ -13,6 +13,7 @@ import { TournamentGroup } from './tournament-group';
13
13
  import { File } from './file';
14
14
  import { RugbyGameConfig } from './rugby-game-config';
15
15
  import { WaterpoloGameConfig } from './waterpolo-game-config';
16
+ import { Sport } from './sport';
16
17
  export declare enum GameStatuses {
17
18
  open = 1,
18
19
  in_progress = 2,
@@ -105,6 +106,7 @@ export declare class Game extends BaseModel {
105
106
  get isCompetitorTeamWon(): boolean;
106
107
  get teamWinnerId(): number;
107
108
  get teamLoserId(): number;
109
+ get sport(): Sport;
108
110
  static toFront(data: any): any;
109
111
  static toBack(data: any): any;
110
112
  }