website refactor

This commit is contained in:
2026-01-16 13:48:18 +01:00
parent 20a42c52fd
commit 7e02fc3ea5
796 changed files with 1946 additions and 2545 deletions

View File

@@ -1,4 +1,4 @@
import type { IDomainEvent } from '@core/shared/domain';
import type { DomainEvent } from '@core/shared/domain';
/**
* Domain Event: MainRaceCompleted
@@ -15,7 +15,7 @@ export interface MainRaceCompletedEventData {
driverIds: string[]; // Drivers who participated in the main race
}
export class MainRaceCompletedEvent implements IDomainEvent<MainRaceCompletedEventData> {
export class MainRaceCompletedEvent implements DomainEvent<MainRaceCompletedEventData> {
readonly eventType = 'MainRaceCompleted';
readonly aggregateId: string;
readonly eventData: MainRaceCompletedEventData;

View File

@@ -1,4 +1,4 @@
import type { IDomainEvent } from '@core/shared/domain';
import type { DomainEvent } from '@core/shared/domain';
/**
* Domain Event: RaceEventStewardingClosed
@@ -15,7 +15,7 @@ export interface RaceEventStewardingClosedEventData {
hadPenaltiesApplied: boolean; // Whether any penalties were applied during stewarding
}
export class RaceEventStewardingClosedEvent implements IDomainEvent<RaceEventStewardingClosedEventData> {
export class RaceEventStewardingClosedEvent implements DomainEvent<RaceEventStewardingClosedEventData> {
readonly eventType = 'RaceEventStewardingClosed';
readonly aggregateId: string;
readonly eventData: RaceEventStewardingClosedEventData;