13 lines
323 B
TypeScript
13 lines
323 B
TypeScript
import type { IDomainService } from '@gridpilot/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;
|
|
} |