website refactor
This commit is contained in:
@@ -8,6 +8,8 @@ export interface RaceViewData {
|
||||
relativeTimeLabel: string;
|
||||
status: 'scheduled' | 'running' | 'completed' | 'cancelled';
|
||||
statusLabel: string;
|
||||
statusVariant: string;
|
||||
statusIconName: string;
|
||||
sessionType: string;
|
||||
leagueId: string | null;
|
||||
leagueName: string | null;
|
||||
|
||||
@@ -22,6 +22,7 @@ export interface TeamDetailData {
|
||||
ownerId: string;
|
||||
leagues: string[];
|
||||
createdAt?: string;
|
||||
foundedDateLabel?: string;
|
||||
specialization?: string;
|
||||
region?: string;
|
||||
languages?: string[];
|
||||
@@ -39,6 +40,7 @@ export interface TeamMemberData {
|
||||
driverName: string;
|
||||
role: 'owner' | 'manager' | 'member';
|
||||
joinedAt: string;
|
||||
joinedAtLabel: string;
|
||||
isActive: boolean;
|
||||
avatarUrl: string;
|
||||
}
|
||||
@@ -56,4 +58,6 @@ export interface TeamDetailViewData {
|
||||
isAdmin: boolean;
|
||||
teamMetrics: SponsorMetric[];
|
||||
tabs: TeamTab[];
|
||||
memberCountLabel: string;
|
||||
leagueCountLabel: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user