website refactor

This commit is contained in:
2026-01-16 16:46:57 +01:00
parent 37b1aa626c
commit 2f53727702
445 changed files with 1160 additions and 1150 deletions

View File

@@ -1,12 +1,11 @@
import type { Entity } from '@core/shared/domain/Entity';
import { Entity } from '@core/shared/domain/Entity';
import { RacingDomainValidationError } from '../../errors/RacingDomainError';
import type { ParticipantRef } from '../../types/ParticipantRef';
import { Points } from '../../value-objects/Points';
import { Position } from './Position';
import { ResultsCount } from './ResultsCount';
export class ChampionshipStanding implements Entity<string> {
readonly id: string;
export class ChampionshipStanding extends Entity<string> {
readonly seasonId: string;
readonly championshipId: string;
readonly participant: ParticipantRef;
@@ -24,6 +23,7 @@ export class ChampionshipStanding implements Entity<string> {
resultsDropped: number;
position: number;
}) {
super(props.id);
this.seasonId = props.seasonId;
this.championshipId = props.championshipId;
this.participant = props.participant;