Files
gridpilot.gg/core/leagues/application/ports/LeagueCreateCommand.ts
Marc Mintel 597bb48248
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 4m51s
Contract Testing / contract-snapshot (pull_request) Has been skipped
integration tests
2026-01-22 17:29:06 +01:00

34 lines
635 B
TypeScript

export interface LeagueCreateCommand {
name: string;
description?: string;
visibility: 'public' | 'private';
ownerId: string;
// Structure
maxDrivers?: number;
approvalRequired: boolean;
lateJoinAllowed: boolean;
// Schedule
raceFrequency?: string;
raceDay?: string;
raceTime?: string;
tracks?: string[];
// Scoring
scoringSystem?: any;
bonusPointsEnabled: boolean;
penaltiesEnabled: boolean;
// Stewarding
protestsEnabled: boolean;
appealsEnabled: boolean;
stewardTeam?: string[];
// Tags
gameType?: string;
skillLevel?: string;
category?: string;
tags?: string[];
}