website refactor
This commit is contained in:
18
apps/website/lib/view-data/leagues/LeagueSettingsViewData.ts
Normal file
18
apps/website/lib/view-data/leagues/LeagueSettingsViewData.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export interface LeagueSettingsViewData {
|
||||
leagueId: string;
|
||||
league: {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
visibility: 'public' | 'private';
|
||||
ownerId: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
config: {
|
||||
maxDrivers: number;
|
||||
scoringPresetId: string;
|
||||
allowLateJoin: boolean;
|
||||
requireApproval: boolean;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user