website refactor
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
* Enforces valid range and provides domain-specific operations.
|
||||
*/
|
||||
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
|
||||
export interface StrengthOfFieldProps {
|
||||
value: number;
|
||||
}
|
||||
|
||||
export class StrengthOfField implements IValueObject<StrengthOfFieldProps> {
|
||||
export class StrengthOfField implements ValueObject<StrengthOfFieldProps> {
|
||||
readonly value: number;
|
||||
|
||||
private constructor(value: number) {
|
||||
|
||||
Reference in New Issue
Block a user