13 lines
318 B
TypeScript
13 lines
318 B
TypeScript
import type { IDomainService } from '@core/shared/domain';
|
|
|
|
export interface DriverStats {
|
|
rating: number;
|
|
wins: number;
|
|
podiums: number;
|
|
totalRaces: number;
|
|
overallRank: number | null;
|
|
}
|
|
|
|
export interface IDriverStatsService extends IDomainService {
|
|
getDriverStats(driverId: string): DriverStats | null;
|
|
} |