This commit is contained in:
2026-06-28 11:56:33 -05:00
parent fafb9dce4b
commit a60cf9c604
5 changed files with 311 additions and 8 deletions

View File

@@ -21,6 +21,12 @@ export interface Team {
export type MatchStatus =
| "SCHEDULED" | "LIVE" | "IN_PLAY" | "PAUSED" | "FINISHED";
export interface GoalEvent {
scorer: string; // Torschützen-Name
minute: number; // Spielminute
team: "home" | "away";
}
export interface Match {
id: string;
group: GroupId | null; // null = K.o.-Spiel
@@ -37,6 +43,7 @@ export interface Match {
prob?: { home: number; draw: number; away: number } | null;
venue?: string | null; // Austragungsort
attendance?: number | null; // Zuschauerzahl, falls verfügbar
goals?: GoalEvent[] | null; // Torereignisse von worldcup26.ir
}
// Eine berechnete Tabellenzeile innerhalb einer Gruppe.