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,5 +1,5 @@
import { RacingDomainValidationError } from '../errors/RacingDomainError';
import type { ValueObject } from '@core/shared/domain';
import type { ValueObject } from '@core/shared/domain/ValueObject';
export class TrackShortName implements ValueObject<string> {
private constructor(private readonly value: string) {}
@@ -19,7 +19,7 @@ export class TrackShortName implements ValueObject<string> {
return this.value;
}
equals(other: IValueObject<string>): boolean {
equals(other: ValueObject<string>): boolean {
return this.value === other.props;
}
}