view data fixes
This commit is contained in:
21
apps/website/lib/view-data/ProtestViewData.ts
Normal file
21
apps/website/lib/view-data/ProtestViewData.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { ViewData } from '@/lib/contracts/view-data/ViewData';
|
||||
|
||||
/**
|
||||
* ViewData for Protest
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface ProtestViewData extends ViewData {
|
||||
id: string;
|
||||
raceId: string;
|
||||
protestingDriverId: string;
|
||||
accusedDriverId: string;
|
||||
description: string;
|
||||
submittedAt: string;
|
||||
filedAt?: string;
|
||||
status: string;
|
||||
reviewedAt?: string;
|
||||
decisionNotes?: string;
|
||||
incident?: { lap?: number; description?: string } | null;
|
||||
proofVideoUrl?: string | null;
|
||||
comment?: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user