main
Deploy Iddaai Frontend / build-and-deploy (push) Successful in 3m37s

This commit is contained in:
2026-05-05 01:04:50 +03:00
parent f72857a3b2
commit e3cc6702dd
6 changed files with 571 additions and 212 deletions
+18 -8
View File
@@ -83,31 +83,41 @@ export interface MatchResponseDto {
odds?: Record<string, Record<string, { odd: string }>>;
// Nested Objects (from Backend include)
homeTeam?: { name: string; logo?: string; [key: string]: unknown };
awayTeam?: { name: string; logo?: string; [key: string]: unknown };
homeTeam?: { id?: string; name: string; logo?: string };
awayTeam?: { id?: string; name: string; logo?: string };
league?: {
name: string;
country?: { name: string; flag?: string };
[key: string]: unknown;
};
lineups?: {
home: Array<{
player?: { name: string; id: string; [key: string]: unknown };
player?: { name: string; id: string };
position?: string | null;
shirtNumber?: number | null;
isStarting?: boolean;
[key: string]: unknown;
isProbable?: boolean;
lineupSource?: string;
projectionConfidence?: number;
}>;
away: Array<{
player?: { name: string; id: string; [key: string]: unknown };
player?: { name: string; id: string };
position?: string | null;
shirtNumber?: number | null;
isStarting?: boolean;
[key: string]: unknown;
isProbable?: boolean;
lineupSource?: string;
projectionConfidence?: number;
}>;
};
[key: string]: unknown;
// Match detail enrichments
refereeName?: string;
sidelined?: Record<string, unknown>;
events?: Array<Record<string, unknown>>;
// Additional fields from backend detail endpoint
lineupSource?: string;
stats?: Record<string, unknown>;
}
export interface ActiveLeagueDto {