code quality
Some checks failed
CI / lint-typecheck (pull_request) Failing after 12s
CI / tests (pull_request) Has been skipped
CI / contract-tests (pull_request) Has been skipped
CI / e2e-tests (pull_request) Has been skipped
CI / comment-pr (pull_request) Has been skipped
CI / commit-types (pull_request) Has been skipped

This commit is contained in:
2026-01-26 22:16:33 +01:00
parent f2bd80ccd3
commit 09632d004d
72 changed files with 1946 additions and 277 deletions

View File

@@ -64,8 +64,8 @@ export class RaceStewardingViewDataBuilder {
},
filedAt: p.submittedAt,
status: p.status,
decisionNotes: (p as any).decisionNotes || null,
proofVideoUrl: (p as any).proofVideoUrl || null,
decisionNotes: (p as any).decisionNotes || undefined,
proofVideoUrl: (p as any).proofVideoUrl || undefined,
}));
const pendingProtests = (apiDto as any).pendingProtests || protests.filter(p => p.status === 'pending');
@@ -78,7 +78,7 @@ export class RaceStewardingViewDataBuilder {
type: p.type,
value: p.value ?? 0,
reason: p.reason ?? '',
notes: p.notes || null,
notes: p.notes || undefined,
}));
const driverMap: Record<string, { id: string; name: string }> = {};