move static data

This commit is contained in:
2025-12-26 00:20:53 +01:00
parent c977defd6a
commit b6cbb81388
63 changed files with 1482 additions and 418 deletions

View File

@@ -1,6 +1,5 @@
import type { CreateLeagueInputDTO } from '@/lib/types/generated/CreateLeagueInputDTO';
import { LeagueWizardValidationMessages } from '@/lib/display-objects/LeagueWizardValidationMessages';
import { ScoringPresetApplier } from '@/lib/utilities/ScoringPresetApplier';
export type WizardStep = 1 | 2 | 3 | 4 | 5 | 6 | 7;
@@ -263,7 +262,7 @@ export class LeagueWizardCommandModel {
patternId,
customScoringEnabled: false,
};
this.timings = ScoringPresetApplier.applyToTimings(patternId, this.timings);
// Timing defaults are applied by the UI using the selected preset's `defaultTimings` from the API.
}
toCreateLeagueCommand(ownerId: string): CreateLeagueInputDTO {