添加交锋往绩接口
This commit is contained in:
28
types/api.ts
28
types/api.ts
@@ -401,3 +401,31 @@ export interface SearchResult {
|
||||
players: SearchPlayer[];
|
||||
teams: SearchTeam[];
|
||||
}
|
||||
|
||||
// H2H 历史对战比赛项
|
||||
export interface H2HMatch {
|
||||
awayTeamKey: string;
|
||||
countryName: string;
|
||||
eventAwayTeam: string;
|
||||
eventCountryKey: string;
|
||||
eventDate: string;
|
||||
eventFinalResult: string;
|
||||
eventHalftimeResult: string;
|
||||
eventHomeTeam: string;
|
||||
eventKey: string;
|
||||
eventLive: string;
|
||||
eventStatus: string;
|
||||
eventTime: string;
|
||||
homeTeamKey: string;
|
||||
leagueKey: string;
|
||||
leagueName: string;
|
||||
leagueRound: string;
|
||||
leagueSeason: string;
|
||||
}
|
||||
|
||||
// H2H 历史对战数据
|
||||
export interface H2HData {
|
||||
H2H: H2HMatch[];
|
||||
firstTeamResults: H2HMatch[];
|
||||
secondTeamResults: H2HMatch[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user