Files
gridpilot.gg/apps/website/lib/view-data/LeagueSettingsViewData.ts
2026-01-23 15:30:23 +01:00

19 lines
403 B
TypeScript

import type { LeagueConfigFormModel } from '../types/LeagueConfigFormModel';
/**
* ViewData for LeagueSettings
* This is the JSON-serializable input for the Template.
*/
export interface LeagueSettingsViewData {
league: {
id: string;
name: string;
ownerId: string;
createdAt: string;
};
config: LeagueConfigFormModel;
presets: any[];
owner: any | null;
members: any[];
}