view data fixes
This commit is contained in:
@@ -13,7 +13,7 @@ export interface RaceStewardingViewData {
|
||||
id: string;
|
||||
name: string;
|
||||
} | null;
|
||||
protests: Array<{
|
||||
pendingProtests: Array<{
|
||||
id: string;
|
||||
protestingDriverId: string;
|
||||
accusedDriverId: string;
|
||||
@@ -23,8 +23,21 @@ export interface RaceStewardingViewData {
|
||||
};
|
||||
filedAt: string;
|
||||
status: string;
|
||||
decisionNotes?: string;
|
||||
proofVideoUrl?: string;
|
||||
decisionNotes?: string | null;
|
||||
proofVideoUrl?: string | null;
|
||||
}>;
|
||||
resolvedProtests: Array<{
|
||||
id: string;
|
||||
protestingDriverId: string;
|
||||
accusedDriverId: string;
|
||||
incident: {
|
||||
lap: number;
|
||||
description: string;
|
||||
};
|
||||
filedAt: string;
|
||||
status: string;
|
||||
decisionNotes?: string | null;
|
||||
proofVideoUrl?: string | null;
|
||||
}>;
|
||||
penalties: Array<{
|
||||
id: string;
|
||||
@@ -32,7 +45,10 @@ export interface RaceStewardingViewData {
|
||||
type: string;
|
||||
value: number;
|
||||
reason: string;
|
||||
notes?: string;
|
||||
notes?: string | null;
|
||||
}>;
|
||||
pendingCount: number;
|
||||
resolvedCount: number;
|
||||
penaltiesCount: number;
|
||||
driverMap: Record<string, { id: string; name: string }>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user