website refactor
This commit is contained in:
17
apps/website/lib/view-data/SponsorshipRequestsViewData.ts
Normal file
17
apps/website/lib/view-data/SponsorshipRequestsViewData.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { ViewData } from '@/lib/contracts/view-data/ViewData';
|
||||
|
||||
export type SponsorshipRequestsViewData = ViewData & {
|
||||
sections: Array<{
|
||||
entityType: 'driver' | 'team' | 'season';
|
||||
entityId: string;
|
||||
entityName: string;
|
||||
requests: Array<{
|
||||
id: string;
|
||||
sponsorId: string;
|
||||
sponsorName: string;
|
||||
sponsorLogoUrl: string | null;
|
||||
message: string | null;
|
||||
createdAtIso: string;
|
||||
}>;
|
||||
}>;
|
||||
};
|
||||
Reference in New Issue
Block a user