integration tests
This commit is contained in:
33
core/leagues/application/ports/LeagueCreateCommand.ts
Normal file
33
core/leagues/application/ports/LeagueCreateCommand.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
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[];
|
||||
}
|
||||
Reference in New Issue
Block a user