联赛筛选
This commit is contained in:
26
types/api.ts
26
types/api.ts
@@ -12,12 +12,26 @@ export interface Match {
|
||||
id: string;
|
||||
league: string;
|
||||
time: string;
|
||||
date: string;
|
||||
date?: string;
|
||||
home: string;
|
||||
away: string;
|
||||
scoreText: string;
|
||||
fav: boolean;
|
||||
// sport: string;
|
||||
sport?: string;
|
||||
homeTeamName?: string;
|
||||
homeTeamKey?: string;
|
||||
homeTeamLogo?: string;
|
||||
awayTeamName?: string;
|
||||
awayTeamKey?: string;
|
||||
awayTeamLogo?: string;
|
||||
leagueName?: string;
|
||||
leagueKey?: string;
|
||||
leagueLogo?: string;
|
||||
countryName?: string;
|
||||
countryKey?: string;
|
||||
countryLogo?: string;
|
||||
events?: string;
|
||||
players?: string;
|
||||
sportId?: number;
|
||||
leagueId?: number;
|
||||
isLive?: boolean;
|
||||
@@ -73,11 +87,11 @@ export interface LiveScoreMatch {
|
||||
substitutes?: {
|
||||
time: string;
|
||||
home_scorer:
|
||||
| { in: string; out: string; in_id: number; out_id: number }
|
||||
| any[];
|
||||
| { in: string; out: string; in_id: number; out_id: number }
|
||||
| any[];
|
||||
away_scorer:
|
||||
| { in: string; out: string; in_id: number; out_id: number }
|
||||
| any[];
|
||||
| { in: string; out: string; in_id: number; out_id: number }
|
||||
| any[];
|
||||
info: string;
|
||||
info_time: string;
|
||||
score: string;
|
||||
|
||||
Reference in New Issue
Block a user