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

@@ -3,7 +3,7 @@
* Represents a monetary amount with currency and platform fee calculation
*/
import type { ValueObject } from '@core/shared/domain';
import type { ValueObject } from '@core/shared/domain/ValueObject';
import { RacingDomainValidationError } from '../errors/RacingDomainError';
export type Currency = 'USD' | 'EUR' | 'GBP';
@@ -102,7 +102,7 @@ export class Money implements ValueObject<MoneyProps> {
/**
* Check if this money equals another
*/
equals(other: IValueObject<MoneyProps>): boolean {
equals(other: ValueObject<MoneyProps>): boolean {
const a = this.props;
const b = other.props;
return a.amount === b.amount && a.currency === b.currency;