篮球统计数据
This commit is contained in:
32
types/api.ts
32
types/api.ts
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user