website refactor
This commit is contained in:
19
apps/website/lib/view-data/LeagueRulebookViewData.ts
Normal file
19
apps/website/lib/view-data/LeagueRulebookViewData.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export interface RulebookScoringConfig {
|
||||
scoringPresetName: string | null;
|
||||
gameName: string;
|
||||
championships: Array<{
|
||||
type: string;
|
||||
sessionTypes: string[];
|
||||
pointsPreview: Array<{
|
||||
sessionType: string;
|
||||
position: number;
|
||||
points: number;
|
||||
}>;
|
||||
bonusSummary: string[];
|
||||
}>;
|
||||
dropPolicySummary: string;
|
||||
}
|
||||
|
||||
export interface LeagueRulebookViewData {
|
||||
scoringConfig: RulebookScoringConfig | null;
|
||||
}
|
||||
Reference in New Issue
Block a user