36 lines
817 B
TypeScript
36 lines
817 B
TypeScript
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;
|
|
}>;
|
|
} |