Update team database schema (add logo, color)
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user