website cleanup
This commit is contained in:
@@ -3,12 +3,11 @@ import { RaceWithSOFDTO } from '../types/generated/RaceWithSOFDTO';
|
||||
export class RaceWithSOFViewModel {
|
||||
id: string;
|
||||
track: string;
|
||||
strengthOfField: number | null;
|
||||
|
||||
constructor(dto: RaceWithSOFDTO) {
|
||||
this.id = dto.id;
|
||||
this.track = dto.track;
|
||||
this.strengthOfField = (dto as any).strengthOfField ?? null;
|
||||
}
|
||||
|
||||
// The view model currently exposes only basic race identity and track information.
|
||||
// Additional strength-of-field or result details can be added here once the DTO carries them.
|
||||
}
|
||||
Reference in New Issue
Block a user