42 lines
887 B
TypeScript
42 lines
887 B
TypeScript
import { ViewData } from "../contracts/view-data/ViewData";
|
|
|
|
export interface AvailableLeaguesViewData extends ViewData {
|
|
leagues: AvailableLeagueViewData[];
|
|
}
|
|
|
|
export interface AvailableLeagueViewData {
|
|
id: string;
|
|
name: string;
|
|
game: string;
|
|
drivers: number;
|
|
avgViewsPerRace: number;
|
|
formattedAvgViews: string;
|
|
mainSponsorSlot: {
|
|
available: boolean;
|
|
price: number;
|
|
};
|
|
secondarySlots: {
|
|
available: number;
|
|
total: number;
|
|
price: number;
|
|
};
|
|
cpm: number;
|
|
formattedCpm: string;
|
|
hasAvailableSlots: boolean;
|
|
rating: number;
|
|
tier: 'premium' | 'standard' | 'starter';
|
|
tierConfig: {
|
|
color: string;
|
|
bgColor: string;
|
|
border: string;
|
|
icon: string;
|
|
};
|
|
nextRace?: string;
|
|
seasonStatus: 'active' | 'upcoming' | 'completed';
|
|
statusConfig: {
|
|
color: string;
|
|
bg: string;
|
|
label: string;
|
|
};
|
|
description: string;
|
|
} |