@mtgame/core 0.1.107 → 0.1.109
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/api/league-api.d.ts +2 -0
- package/bundles/mtgame-core.umd.js +41 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/api/league-api.js +12 -2
- package/esm2015/models/basketball-game-statistic.js +3 -1
- package/esm2015/models/basketball-statistic.js +3 -1
- package/esm2015/models/public-api.js +2 -1
- package/esm2015/models/teams-and-users.js +22 -0
- package/fesm2015/mtgame-core.js +34 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/basketball-game-statistic.d.ts +2 -0
- package/models/basketball-statistic.d.ts +2 -0
- package/models/public-api.d.ts +1 -0
- package/models/teams-and-users.d.ts +9 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,8 @@ export declare class BasketballGameStatistic extends BaseModel implements GameSt
|
|
|
22
22
|
technicalFouls: number;
|
|
23
23
|
unsportsmanlikeFouls: number;
|
|
24
24
|
disqualificationFouls: number;
|
|
25
|
+
drawnFouls: number;
|
|
26
|
+
playerEfficiency: number;
|
|
25
27
|
updatedAt: Date;
|
|
26
28
|
get id(): number;
|
|
27
29
|
static toFront(data: any): any;
|
|
@@ -41,6 +41,8 @@ export declare class BasketballStatistic extends BaseModel implements BaseStatis
|
|
|
41
41
|
technicalFouls: number;
|
|
42
42
|
unsportsmanlikeFouls: number;
|
|
43
43
|
disqualificationFouls: number;
|
|
44
|
+
drawnFouls: number;
|
|
45
|
+
playerEfficiency: number;
|
|
44
46
|
gameTime: number;
|
|
45
47
|
newbie: boolean;
|
|
46
48
|
rank: number;
|
package/models/public-api.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseModel } from './util';
|
|
2
|
+
import { Team } from './team';
|
|
3
|
+
import { LeaguePlayer } from './league-player';
|
|
4
|
+
export declare class TeamsAndUsers extends BaseModel {
|
|
5
|
+
teams: Team[];
|
|
6
|
+
leaguePlayers: LeaguePlayer[];
|
|
7
|
+
static toFront(data: any): any;
|
|
8
|
+
static toBack(data: any): any;
|
|
9
|
+
}
|