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,17 +1,17 @@
import type { Logger } from '@core/shared/application/Logger';
import { Result } from '@core/shared/domain/Result';
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
import { beforeEach, describe, expect, it, vi, type Mock } from 'vitest';
import {
SendFinalResultsUseCase,
type SendFinalResultsInput,
type SendFinalResultsErrorCode,
} from './SendFinalResultsUseCase';
import type { NotificationService } from '../../../notifications/application/ports/NotificationService';
import type { LeagueMembershipRepository } from '../../domain/repositories/LeagueMembershipRepository';
import type { LeagueRepository } from '../../domain/repositories/LeagueRepository';
import type { RaceEventRepository } from '../../domain/repositories/RaceEventRepository';
import type { ResultRepository } from '../../domain/repositories/ResultRepository';
import type { LeagueRepository } from '../../domain/repositories/LeagueRepository';
import type { LeagueMembershipRepository } from '../../domain/repositories/LeagueMembershipRepository';
import type { ApplicationErrorCode } from '@core/shared/errors/ApplicationErrorCode';
import { Result } from '@core/shared/domain/Result';
import type { Logger } from '@core/shared/application/Logger';
import {
SendFinalResultsUseCase,
type SendFinalResultsErrorCode,
type SendFinalResultsInput,
} from './SendFinalResultsUseCase';
const unwrapError = (
result: Result<void, ApplicationErrorCode<SendFinalResultsErrorCode, { message: string }>>,