添加网球详情
This commit is contained in:
41
types/api.ts
41
types/api.ts
@@ -58,6 +58,7 @@ export interface LiveScoreMatch {
|
||||
away_team_logo: string;
|
||||
event_final_result: string;
|
||||
event_halftime_result: string;
|
||||
event_game_result?: string;
|
||||
event_status: string;
|
||||
event_live: string;
|
||||
league_key: number;
|
||||
@@ -103,20 +104,44 @@ 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;
|
||||
}[];
|
||||
lineups?: unknown;
|
||||
statistics?: {
|
||||
type: string;
|
||||
home: string;
|
||||
away: string;
|
||||
statistics?:
|
||||
| {
|
||||
type: string;
|
||||
home: string;
|
||||
away: string;
|
||||
}[]
|
||||
| {
|
||||
name: string;
|
||||
period: string;
|
||||
player_key: number;
|
||||
value: string;
|
||||
type?: string;
|
||||
total?: number | null;
|
||||
won?: number | null;
|
||||
}[];
|
||||
pointbypoint?: {
|
||||
number_game: string;
|
||||
player_served: string;
|
||||
score: string;
|
||||
serve_winner: string;
|
||||
set_number: string;
|
||||
points: {
|
||||
break_point: null | string;
|
||||
match_point: null | string;
|
||||
number_point: string;
|
||||
score: string;
|
||||
set_point: null | string;
|
||||
}[];
|
||||
}[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user