App: Add TS type information

This commit is contained in:
2024-12-13 19:56:47 +01:00
parent 04569ea683
commit 0abfaff004
20 changed files with 576 additions and 280 deletions

21
src/lib/schema.ts Normal file
View File

@ -0,0 +1,21 @@
export interface Team {
id: string;
name: string;
logo: string;
logo_url?: string;
}
export interface Driver {
id: string;
firstname: string;
lastname: string;
code: string;
headshot: string;
headshot_url?: string;
team: string;
active: boolean;
}
export interface Race {}
export interface Substitution {}