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 { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
|
||||
export interface TeamRatingDimensionKeyProps {
|
||||
@@ -7,7 +7,7 @@ export interface TeamRatingDimensionKeyProps {
|
||||
|
||||
const VALID_DIMENSIONS = ['driving', 'adminTrust'] as const;
|
||||
|
||||
export class TeamRatingDimensionKey implements IValueObject<TeamRatingDimensionKeyProps> {
|
||||
export class TeamRatingDimensionKey implements ValueObject<TeamRatingDimensionKeyProps> {
|
||||
readonly value: TeamRatingDimensionKeyProps['value'];
|
||||
|
||||
private constructor(value: TeamRatingDimensionKeyProps['value']) {
|
||||
|
||||
Reference in New Issue
Block a user