move static data

This commit is contained in:
2025-12-26 00:20:53 +01:00
parent c977defd6a
commit b6cbb81388
63 changed files with 1482 additions and 418 deletions

View File

@@ -0,0 +1,16 @@
/**
* Penalty Configuration
*
* Business logic configuration for protest decisions and penalties
*/
export type PenaltyType = 'time_penalty' | 'grid_penalty' | 'points_deduction' | 'disqualification' | 'warning' | 'license_points';
export const penaltiesWithoutValue: PenaltyType[] = ['disqualification', 'warning'];
export const defaultProtestReason = 'Protest upheld';
export const penaltyConfig = {
penaltiesWithoutValue,
defaultProtestReason,
} as const;