do to formatters

This commit is contained in:
2026-01-24 01:07:43 +01:00
parent ae59df61eb
commit 891b3cf0ee
140 changed files with 656 additions and 1159 deletions

View File

@@ -0,0 +1,15 @@
// TODO this file has no clear meaning
export class LeagueWizardValidationMessages {
static readonly LEAGUE_NAME_REQUIRED = 'League name is required';
static readonly LEAGUE_NAME_TOO_SHORT = 'League name must be at least 3 characters';
static readonly LEAGUE_NAME_TOO_LONG = 'League name must be less than 100 characters';
static readonly DESCRIPTION_TOO_LONG = 'Description must be less than 500 characters';
static readonly VISIBILITY_REQUIRED = 'Visibility is required';
static readonly MAX_DRIVERS_INVALID_SOLO = 'Max drivers must be greater than 0 for solo leagues';
static readonly MAX_DRIVERS_TOO_HIGH = 'Max drivers cannot exceed 100';
static readonly MAX_TEAMS_INVALID_TEAM = 'Max teams must be greater than 0 for team leagues';
static readonly DRIVERS_PER_TEAM_INVALID = 'Drivers per team must be greater than 0';
static readonly QUALIFYING_DURATION_INVALID = 'Qualifying duration must be greater than 0 minutes';
static readonly MAIN_RACE_DURATION_INVALID = 'Main race duration must be greater than 0 minutes';
static readonly SCORING_PRESET_OR_CUSTOM_REQUIRED = 'Select a scoring preset or enable custom scoring';
}