Files
gridpilot.gg/apps/website/lib/view-data/leagues/LeagueSponsorshipsViewData.ts
2026-01-15 18:52:03 +01:00

31 lines
676 B
TypeScript

export interface LeagueSponsorshipsViewData {
leagueId: string;
activeTab: 'overview' | 'editor';
onTabChange: (tab: 'overview' | 'editor') => void;
league: {
id: string;
name: string;
description: string;
};
sponsorshipSlots: Array<{
id: string;
name: string;
description: string;
price: number;
currency: string;
isAvailable: boolean;
sponsoredBy?: {
id: string;
name: string;
logoUrl?: string;
};
}>;
sponsorshipRequests: Array<{
id: string;
slotId: string;
sponsorId: string;
sponsorName: string;
requestedAt: string;
status: 'pending' | 'approved' | 'rejected';
}>;
}