website cleanup

This commit is contained in:
2025-12-25 00:19:36 +01:00
parent d78854a4c6
commit 9486455b9e
82 changed files with 1223 additions and 363 deletions

View File

@@ -0,0 +1,20 @@
import { LeagueScoringPresetDTO } from '@/lib/types/generated/LeagueScoringPresetDTO';
/**
* LeagueScoringPresetViewModel
*
* View model for league scoring preset configuration
*/
export class LeagueScoringPresetViewModel {
readonly id: string;
readonly name: string;
readonly sessionSummary: string;
readonly bonusSummary?: string;
constructor(dto: LeagueScoringPresetDTO) {
this.id = dto.id;
this.name = dto.name;
this.sessionSummary = dto.sessionSummary;
this.bonusSummary = dto.bonusSummary;
}
}