seed data
This commit is contained in:
@@ -14,6 +14,7 @@ export interface TeamStats {
|
||||
totalWins: number;
|
||||
totalRaces: number;
|
||||
rating: number;
|
||||
category?: string;
|
||||
}
|
||||
|
||||
export interface ITeamStatsRepository {
|
||||
@@ -22,11 +23,6 @@ export interface ITeamStatsRepository {
|
||||
*/
|
||||
getTeamStats(teamId: string): Promise<TeamStats | null>;
|
||||
|
||||
/**
|
||||
* Get stats for a specific team (synchronous)
|
||||
*/
|
||||
getTeamStatsSync(teamId: string): TeamStats | null;
|
||||
|
||||
/**
|
||||
* Save stats for a specific team
|
||||
*/
|
||||
@@ -41,4 +37,4 @@ export interface ITeamStatsRepository {
|
||||
* Clear all stats
|
||||
*/
|
||||
clear(): Promise<void>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user