添加即将到来比赛列表接口

This commit is contained in:
xianyi
2026-01-13 17:15:59 +08:00
parent 91cf23cd11
commit 7b8e0e7e32
3 changed files with 77 additions and 0 deletions

View File

@@ -99,6 +99,52 @@ export interface Player {
position?: string; // 兜底位置字段
}
export interface UpcomingMatch {
id: number;
eventKey: string;
sportId: number;
leagueKey: string;
leagueName: string;
leagueLogo: string;
leagueGroup: string;
countryKey: string;
countryName: string;
countryLogo: string;
season: string;
round: string;
stageName: string;
eventDate: string;
eventTime: string;
status: string; // scheduled
venue: string;
referee: string;
homeTeamKey: string;
homeTeamName: string;
homeTeamLogo: string;
homeFormation: string;
homeScore: number;
homeHalfScore: number;
homeShots: number;
homeShotsOnTarget: number;
homePossession: number;
homeYellowCards: number;
homeRedCards: number;
awayTeamKey: string;
awayTeamName: string;
awayTeamLogo: string;
awayFormation: string;
awayScore: number;
awayHalfScore: number;
awayShots: number;
awayShotsOnTarget: number;
awayPossession: number;
awayYellowCards: number;
awayRedCards: number;
eventLive: boolean;
createdAt: string;
updatedAt: string;
}
export interface MatchDetailData {
events: any[];
match: {