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

@@ -4,7 +4,7 @@
* Represents the status of a season with strict lifecycle rules.
*/
import type { ValueObject } from '@core/shared/domain';
import type { ValueObject } from '@core/shared/domain/ValueObject';
import { RacingDomainValidationError } from '../errors/RacingDomainError';
export type SeasonStatusValue = 'planned' | 'active' | 'completed' | 'archived' | 'cancelled';
@@ -126,7 +126,7 @@ export class SeasonStatus implements ValueObject<SeasonStatusProps> {
return { value: this.value };
}
equals(other: IValueObject<SeasonStatusProps>): boolean {
equals(other: ValueObject<SeasonStatusProps>): boolean {
return this.value === other.props.value;
}