wip
This commit is contained in:
13
packages/racing/domain/services/IDriverStatsService.ts
Normal file
13
packages/racing/domain/services/IDriverStatsService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user