website refactor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Represents the status of a season with strict lifecycle rules.
|
||||
*/
|
||||
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
|
||||
export type SeasonStatusValue = 'planned' | 'active' | 'completed' | 'archived' | 'cancelled';
|
||||
@@ -13,7 +13,7 @@ export interface SeasonStatusProps {
|
||||
value: SeasonStatusValue;
|
||||
}
|
||||
|
||||
export class SeasonStatus implements IValueObject<SeasonStatusProps> {
|
||||
export class SeasonStatus implements ValueObject<SeasonStatusProps> {
|
||||
readonly value: SeasonStatusValue;
|
||||
|
||||
private constructor(value: SeasonStatusValue) {
|
||||
|
||||
Reference in New Issue
Block a user