website refactor
This commit is contained in:
28
apps/website/lib/view-data/leagues/ProtestDetailViewData.ts
Normal file
28
apps/website/lib/view-data/leagues/ProtestDetailViewData.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
export interface ProtestDetailViewData {
|
||||
protestId: string;
|
||||
leagueId: string;
|
||||
status: string;
|
||||
submittedAt: string;
|
||||
incident: {
|
||||
lap: number;
|
||||
description: string;
|
||||
};
|
||||
protestingDriver: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
accusedDriver: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
race: {
|
||||
id: string;
|
||||
name: string;
|
||||
scheduledAt: string;
|
||||
};
|
||||
penaltyTypes: Array<{
|
||||
type: string;
|
||||
label: string;
|
||||
description: string;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user