move score page fetching to the backend
This commit is contained in:
14
projects/common/src/response/player-scores-response.ts
Normal file
14
projects/common/src/response/player-scores-response.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { Metadata } from "../types/metadata";
|
||||
import { PlayerScore } from "../score/player-score";
|
||||
|
||||
export default interface PlayerScoresResponse<S, L> {
|
||||
/**
|
||||
* The scores that were set.
|
||||
*/
|
||||
readonly scores: PlayerScore<S, L>[];
|
||||
|
||||
/**
|
||||
* The pagination metadata.
|
||||
*/
|
||||
readonly metadata: Metadata;
|
||||
}
|
Reference in New Issue
Block a user