move score page fetching to the backend
This commit is contained in:
41
projects/common/src/player/player-history.ts
Normal file
41
projects/common/src/player/player-history.ts
Normal file
@ -0,0 +1,41 @@
|
||||
export interface PlayerHistory {
|
||||
/**
|
||||
* The player's rank.
|
||||
*/
|
||||
rank?: number;
|
||||
|
||||
/**
|
||||
* The player's country rank.
|
||||
*/
|
||||
countryRank?: number;
|
||||
|
||||
/**
|
||||
* The pp of the player.
|
||||
*/
|
||||
pp?: number;
|
||||
|
||||
/**
|
||||
* The amount of scores set for this day.
|
||||
*/
|
||||
scores?: {
|
||||
/**
|
||||
* The amount of score set.
|
||||
*/
|
||||
rankedScores?: number;
|
||||
|
||||
/**
|
||||
* The amount of unranked scores set.
|
||||
*/
|
||||
unrankedScores?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* The player's accuracy.
|
||||
*/
|
||||
accuracy?: {
|
||||
/**
|
||||
* The player's average ranked accuracy.
|
||||
*/
|
||||
averageRankedAccuracy?: number;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user