Compare commits
1 Commits
8616af14d7
...
e270ca2f84
Author | SHA1 | Date | |
---|---|---|---|
e270ca2f84 |
@ -2,14 +2,14 @@ import { Types } from "mongoose";
|
||||
|
||||
export interface ILeaderboardEntryDatabase {
|
||||
leaderboard: string;
|
||||
ownerId: Types.ObjectId;
|
||||
displayName: string;
|
||||
ownerId: Types.ObjectId;
|
||||
score: number;
|
||||
expiry: Date;
|
||||
}
|
||||
|
||||
export interface ILeaderboardEntryClient {
|
||||
_id: string; // player id
|
||||
_id: string; // owner id
|
||||
s: number; // score
|
||||
r: number; // rank
|
||||
n: string; // displayName
|
||||
|
Loading…
x
Reference in New Issue
Block a user