website refactor

This commit is contained in:
2026-01-16 15:20:25 +01:00
parent 7e02fc3ea5
commit 37b1aa626c
325 changed files with 2167 additions and 2782 deletions

View File

@@ -5,18 +5,18 @@
* Immutable entity with factory methods and domain validation.
*/
import type { Entity } from '@core/shared/domain';
import type { Entity } from '@core/shared/domain/Entity';
import { RacingDomainValidationError } from '../errors/RacingDomainError';
import { CarName } from './CarName';
import { Manufacturer } from './Manufacturer';
import { CarClass, CarClassType } from './CarClass';
import { CarLicense, CarLicenseType } from './CarLicense';
import { Year } from './Year';
import { Horsepower } from './Horsepower';
import { Weight } from './Weight';
import { GameId } from './GameId';
import { CarId } from './CarId';
import { CarLicense, CarLicenseType } from './CarLicense';
import { CarName } from './CarName';
import { GameId } from './GameId';
import { Horsepower } from './Horsepower';
import { ImageUrl } from './ImageUrl';
import { Manufacturer } from './Manufacturer';
import { Weight } from './Weight';
import { Year } from './Year';
export class Car implements Entity<CarId> {
readonly id: CarId;