view data fixes
This commit is contained in:
31
apps/website/lib/view-data/LeagueSummaryViewData.ts
Normal file
31
apps/website/lib/view-data/LeagueSummaryViewData.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* ViewData for LeagueSummary
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface LeagueSummaryViewData {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string | null;
|
||||
logoUrl: string | null;
|
||||
ownerId: string;
|
||||
createdAt: string;
|
||||
maxDrivers: number;
|
||||
usedDriverSlots: number;
|
||||
activeDriversCount?: number;
|
||||
nextRaceAt?: string;
|
||||
maxTeams?: number;
|
||||
usedTeamSlots?: number;
|
||||
structureSummary: string;
|
||||
scoringPatternSummary?: string;
|
||||
timingSummary: string;
|
||||
category?: string | null;
|
||||
scoring?: {
|
||||
gameId: string;
|
||||
gameName: string;
|
||||
primaryChampionshipType: 'driver' | 'team' | 'nations' | 'trophy';
|
||||
scoringPresetId: string;
|
||||
scoringPresetName: string;
|
||||
dropPolicySummary: string;
|
||||
scoringPatternSummary: string;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user