@mtgame/core 0.0.4 → 0.0.6

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.
@@ -1,5 +1,5 @@
1
1
  import { BaseModel } from './util';
2
- import { BasketballStatisticTypes } from './tournament';
2
+ import { BasketballStatisticTypes, GameTimeTypes } from './tournament';
3
3
  export declare enum OvertimeTypes {
4
4
  to_score_total = 1,
5
5
  to_score_diff = 2,
@@ -18,6 +18,7 @@ export declare class BasketballGameConfig extends BaseModel {
18
18
  timeoutTime: number;
19
19
  statisticType: BasketballStatisticTypes;
20
20
  shotClockEnabled: boolean;
21
+ gameTimeType: GameTimeTypes;
21
22
  static toFront(data: any): any;
22
23
  static toBack(data: any): any;
23
24
  }
@@ -17,6 +17,7 @@ export declare class League extends BaseModel {
17
17
  tournamentsCount: number;
18
18
  closestGameDatetime: string;
19
19
  cover: File;
20
+ about: string;
20
21
  static toFront(data: any): any;
21
22
  static toBack(data: any): any;
22
23
  get vkLink(): string;
@@ -24,6 +24,10 @@ export declare enum BasketballStatisticTypes {
24
24
  light = 2,
25
25
  extended = 3
26
26
  }
27
+ export declare enum GameTimeTypes {
28
+ clean = 1,
29
+ dirty = 2
30
+ }
27
31
  export declare class TournamentSettings extends BaseModel {
28
32
  id: number;
29
33
  gender: TournamentGender;
@@ -50,6 +54,7 @@ export declare class TournamentSettings extends BaseModel {
50
54
  transferIsOpen: boolean;
51
55
  basketballStatisticType: BasketballStatisticTypes;
52
56
  shotClockEnabled: boolean;
57
+ gameTimeType: GameTimeTypes;
53
58
  static toFront(data: any): any;
54
59
  static toBack(data: any): any;
55
60
  }