Update team database schema (add logo, color)

This commit is contained in:
2024-12-18 14:58:28 +01:00
parent d0e1830145
commit 4c4deccb00
4 changed files with 49 additions and 24 deletions

View File

@ -8,8 +8,11 @@
export const AVATAR_WIDTH: number = 256;
export const AVATAR_HEIGHT: number = 256;
export const TEAM_LOGO_WIDTH: number = 512;
export const TEAM_LOGO_HEIGHT: number = 288;
export const TEAM_BANNER_WIDTH: number = 512;
export const TEAM_BANNER_HEIGHT: number = 288;
export const TEAM_LOGO_WIDTH: number = 96;
export const TEAM_LOGO_HEIGHT: number = 96;
export const DRIVER_HEADSHOT_WIDTH: number = 512;
export const DRIVER_HEADSHOT_HEIGHT: number = 512;

View File

@ -15,15 +15,18 @@ export interface User {
export interface Team {
id: string;
name: string;
banner: string;
banner_url?: string;
logo: string;
logo_url?: string;
color: string;
}
export interface Driver {
id: string;
code: string;
firstname: string;
lastname: string;
code: string;
headshot: string;
headshot_url?: string;
team: string;