refactor dtos to ports

This commit is contained in:
2025-12-19 14:08:27 +01:00
parent 2ab86ec9bd
commit 499562c456
106 changed files with 386 additions and 1009 deletions

View File

@@ -1,5 +1,5 @@
import type { ChampionshipConfig } from '../../domain/types/ChampionshipConfig';
import type { LeagueScoringPresetDTO } from '../ports/LeagueScoringPresetProvider';
import type { LeagueScoringPresetOutputPort } from '../ports/output/LeagueScoringPresetOutputPort';
import type { Presenter } from '@core/shared/presentation';
export interface LeagueScoringChampionshipViewModel {
@@ -29,7 +29,7 @@ export interface LeagueScoringConfigData {
gameId: string;
gameName: string;
scoringPresetId?: string;
preset?: LeagueScoringPresetDTO;
preset?: LeagueScoringPresetOutputPort;
championships: ChampionshipConfig[];
}