website refactor

This commit is contained in:
2026-01-16 19:46:49 +01:00
parent 26fc726556
commit 77a923e6a3
563 changed files with 1643 additions and 2259 deletions

View File

@@ -1,22 +1,22 @@
import { describe, it, expect, vi } from 'vitest';
import { describe, expect, it, vi } from 'vitest';
import { Season } from '@core/racing/domain/entities/season/Season';
import { League } from '@core/racing/domain/entities/League';
import type { SeasonRepository } from '@core/racing/domain/repositories/SeasonRepository';
import type { LeagueRepository } from '@core/racing/domain/repositories/LeagueRepository';
import {
CreateSeasonForLeagueUseCase,
ListSeasonsForLeagueUseCase,
GetSeasonDetailsUseCase,
ManageSeasonLifecycleUseCase,
type CreateSeasonForLeagueCommand,
type ManageSeasonLifecycleCommand,
type CreateSeasonForLeagueErrorCode,
type ListSeasonsForLeagueErrorCode,
type GetSeasonDetailsErrorCode,
type ManageSeasonLifecycleErrorCode,
type LeagueConfigFormModel,
CreateSeasonForLeagueUseCase,
GetSeasonDetailsUseCase,
ListSeasonsForLeagueUseCase,
ManageSeasonLifecycleUseCase,
type CreateSeasonForLeagueCommand,
type CreateSeasonForLeagueErrorCode,
type GetSeasonDetailsErrorCode,
type LeagueConfigFormModel,
type ListSeasonsForLeagueErrorCode,
type ManageSeasonLifecycleCommand,
type ManageSeasonLifecycleErrorCode,
} from '@core/racing/application/use-cases/SeasonUseCases';
import { League } from '@core/racing/domain/entities/League';
import { Season } from '@core/racing/domain/entities/season/Season';
import type { LeagueRepository } from '@core/racing/domain/repositories/LeagueRepository';
import type { SeasonRepository } from '@core/racing/domain/repositories/SeasonRepository';
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
function getUnknownString(value: unknown): string | null {