view data fixes
This commit is contained in:
36
apps/website/lib/view-data/LeagueSponsorshipsViewData.ts
Normal file
36
apps/website/lib/view-data/LeagueSponsorshipsViewData.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import { ViewData } from '@/lib/contracts/view-data/ViewData';
|
||||
|
||||
|
||||
export interface LeagueSponsorshipsViewData extends ViewData {
|
||||
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;
|
||||
formattedRequestedAt: string;
|
||||
status: 'pending' | 'approved' | 'rejected';
|
||||
statusLabel: string;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user