view data fixes
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 5m42s
Contract Testing / contract-snapshot (pull_request) Has been skipped

This commit is contained in:
2026-01-22 23:40:38 +01:00
parent 1288a9dc30
commit 18133aef4c
111 changed files with 841 additions and 324 deletions

View 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;
}>;
}