website refactor
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Enhanced Result entity with detailed incident tracking
|
||||
*/
|
||||
|
||||
import type { IEntity } from '@core/shared/domain';
|
||||
import type { Entity } from '@core/shared/domain';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
import { RaceIncidents, type IncidentRecord } from '../value-objects/RaceIncidents';
|
||||
import { DriverId } from './DriverId';
|
||||
@@ -10,7 +10,7 @@ import { RaceId } from './RaceId';
|
||||
import { LapTime } from './result/LapTime';
|
||||
import { Position } from './result/Position';
|
||||
|
||||
export class ResultWithIncidents implements IEntity<string> {
|
||||
export class ResultWithIncidents implements Entity<string> {
|
||||
readonly id: string;
|
||||
readonly raceId: RaceId;
|
||||
readonly driverId: DriverId;
|
||||
|
||||
Reference in New Issue
Block a user