26 lines
596 B
TypeScript
26 lines
596 B
TypeScript
import { ViewData } from "@/lib/contracts/view-data/ViewData";
|
|
|
|
export interface DriversViewData extends ViewData {
|
|
drivers: {
|
|
id: string;
|
|
name: string;
|
|
rating: number;
|
|
ratingLabel: string;
|
|
skillLevel: string;
|
|
category?: string;
|
|
nationality: string;
|
|
racesCompleted: number;
|
|
wins: number;
|
|
podiums: number;
|
|
isActive: boolean;
|
|
rank: number;
|
|
avatarUrl?: string;
|
|
}[];
|
|
totalRaces: number;
|
|
totalRacesLabel: string;
|
|
totalWins: number;
|
|
totalWinsLabel: string;
|
|
activeCount: number;
|
|
activeCountLabel: string;
|
|
totalDriversLabel: string;
|
|
} |