@mtgame/core 0.1.8 → 0.1.9

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.
@@ -8,4 +8,3 @@ export * from './team-event-type';
8
8
  export * from './team-user-role';
9
9
  export * from './user-profile';
10
10
  export * from './volleyball-game-log-types';
11
- export * from './game-user-limitation-types';
@@ -1,11 +1,16 @@
1
1
  import { BaseModel } from './util';
2
- export declare enum GameUserLimitationTypes {
3
- min_user_games_count = 1,
4
- min_user_time = 2
2
+ interface LimitationValue {
3
+ current: number;
4
+ required: number;
5
+ }
6
+ export declare class GameUserLimitationTypes {
7
+ minUserGamesCount: LimitationValue;
8
+ minUserTime: LimitationValue;
5
9
  }
6
10
  export declare class GameUserLimitations extends BaseModel {
7
11
  tournamentTeamUserId: number;
8
- limitations: GameUserLimitationTypes[];
12
+ limitations: GameUserLimitationTypes;
9
13
  static toFront(data: any): any;
10
14
  static toBack(data: any): any;
11
15
  }
16
+ export {};