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

@@ -5,7 +5,7 @@
*/
import { RacingDomainValidationError } from '../errors/RacingDomainError';
import type { ValueObject } from '@core/shared/domain';
import type { ValueObject } from '@core/shared/domain/ValueObject';
export interface LeagueNameValidationResult {
valid: boolean;
@@ -107,7 +107,7 @@ export class LeagueName implements ValueObject<LeagueNameProps> {
return this.value;
}
equals(other: IValueObject<LeagueNameProps>): boolean {
equals(other: ValueObject<LeagueNameProps>): boolean {
return this.props.value === other.props.value;
}
}