添加联赛列表接口
This commit is contained in:
15
types/api.ts
15
types/api.ts
@@ -40,6 +40,21 @@ export interface Country {
|
||||
isActive: boolean;
|
||||
}
|
||||
|
||||
export interface League {
|
||||
id: number;
|
||||
key: string;
|
||||
name: string;
|
||||
description: string;
|
||||
sportId: number;
|
||||
countryKey: string;
|
||||
countryName: string;
|
||||
countryLogo: string;
|
||||
logo: string;
|
||||
isActive: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface GoalEvent {
|
||||
time: string;
|
||||
home_scorer?: string;
|
||||
|
||||
Reference in New Issue
Block a user