export type LeagueDTO = { id: string; name: string; description: string; ownerId: string; settings: { pointsSystem: 'f1-2024' | 'indycar' | 'custom'; sessionDuration?: number; qualifyingFormat?: 'single-lap' | 'open'; customPoints?: Record; maxDrivers?: number; }; createdAt: string; socialLinks?: { discordUrl?: string; youtubeUrl?: string; websiteUrl?: string; }; /** * Number of active driver slots currently used in this league. * Populated by capacity-aware queries such as GetAllLeaguesWithCapacityQuery. */ usedSlots?: number; };