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

@@ -1,4 +1,4 @@
import { ApplyPenaltyCommandDTO } from '../../types';
import { ApplyPenaltyCommandDTO } from '../../types/generated/ApplyPenaltyCommandDTO';
export type PenaltyType = 'time_penalty' | 'grid_penalty' | 'points_deduction' | 'disqualification' | 'warning' | 'license_points';
@@ -48,6 +48,7 @@ export class ProtestDecisionCommandModel {
raceId,
driverId,
stewardId,
enum: this.penaltyType, // Use penaltyType as enum
type: this.penaltyType,
value: this.getPenaltyValue(),
reason,