wip
This commit is contained in:
11
packages/racing/domain/services/IRankingService.ts
Normal file
11
packages/racing/domain/services/IRankingService.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { IDomainService } from '@gridpilot/shared/domain';
|
||||
|
||||
export interface DriverRanking {
|
||||
driverId: string;
|
||||
rating: number;
|
||||
overallRank: number | null;
|
||||
}
|
||||
|
||||
export interface IRankingService extends IDomainService {
|
||||
getAllDriverRankings(): DriverRanking[];
|
||||
}
|
||||
Reference in New Issue
Block a user