篮球统计数据

This commit is contained in:
xianyi
2026-01-22 17:29:44 +08:00
parent a279083252
commit 3e9cc03217
5 changed files with 561 additions and 46 deletions

View File

@@ -213,6 +213,26 @@ export interface Player {
number?: number | string;
player_type?: string; // 位置/角色,例如 Goalkeepers
position?: string; // 兜底位置字段
// 篮球相关字段
player_id?: number;
player_points?: string;
player_assists?: string;
player_minutes?: string;
player_blocks?: string;
player_steals?: string;
player_turnovers?: string;
player_plus_minus?: string;
player_personal_fouls?: string;
player_total_rebounds?: string;
player_defense_rebounds?: string;
player_offence_rebounds?: string;
player_field_goals_made?: string;
player_field_goals_attempts?: string;
player_freethrows_goals_made?: string;
player_freethrows_goals_attempts?: string;
player_threepoint_goals_made?: string;
player_threepoint_goals_attempts?: string;
player_oncourt?: string;
}
export interface UpcomingMatch {
@@ -312,7 +332,17 @@ export interface MatchDetailData {
firstPlayerKey?: string;
secondPlayerKey?: string;
eventGameResult?: string;
scores?: any[];
scores?: any[] | {
"1stQuarter"?: Array<{ score_home: string; score_away: string }>;
"2ndQuarter"?: Array<{ score_home: string; score_away: string }>;
"3rdQuarter"?: Array<{ score_home: string; score_away: string }>;
"4thQuarter"?: Array<{ score_home: string; score_away: string }>;
};
stats?: Array<{
type: string;
home: string;
away: string;
}>;
events?: MatchEvents;
players?: {
home_team?: Player[];