website refactor

This commit is contained in:
2026-01-16 18:21:06 +01:00
parent 2f53727702
commit 095885544b
146 changed files with 970 additions and 524 deletions

View File

@@ -60,7 +60,7 @@ export interface ProtestProps {
export class Protest extends Entity<string> {
private constructor(private readonly props: ProtestProps) {
super(props.id);}
super(props.id.toString());}
static create(props: {
id: string;
@@ -172,7 +172,6 @@ export class Protest extends Entity<string> {
return new Protest(protestProps);
}
get id(): string { return this.props.id.toString(); }
get raceId(): string { return this.props.raceId.toString(); }
get protestingDriverId(): string { return this.props.protestingDriverId.toString(); }
get accusedDriverId(): string { return this.props.accusedDriverId.toString(); }