website refactor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
import { WeekdaySet } from './WeekdaySet';
|
||||
import { MonthlyRecurrencePattern } from './MonthlyRecurrencePattern';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
@@ -24,7 +24,7 @@ export type RecurrenceStrategyProps =
|
||||
| EveryNWeeksRecurrenceStrategyProps
|
||||
| MonthlyNthWeekdayRecurrenceStrategyProps;
|
||||
|
||||
export class RecurrenceStrategy implements IValueObject<RecurrenceStrategyProps> {
|
||||
export class RecurrenceStrategy implements ValueObject<RecurrenceStrategyProps> {
|
||||
private constructor(private readonly strategy: RecurrenceStrategyProps) {}
|
||||
|
||||
get props(): RecurrenceStrategyProps {
|
||||
|
||||
Reference in New Issue
Block a user