App: Add TS type information
This commit is contained in:
21
src/lib/schema.ts
Normal file
21
src/lib/schema.ts
Normal 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 {}
|
||||
Reference in New Issue
Block a user