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