SpaceNinjaServer/src/types/leaderboardTypes.ts
AMelonInsideLemon d0743654dd
All checks were successful
Build / build (push) Successful in 1m27s
Build Docker image / docker-amd64 (push) Successful in 1m14s
Build Docker image / docker-arm64 (push) Successful in 1m10s
feat: orphix venom (#2637)
Without rotation on last mission
Re #1103
Thanks to https://wiki.warframe.com/w/World_State/Example

Reviewed-on: #2637
Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com>
Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
2025-08-16 09:52:58 -07:00

19 lines
405 B
TypeScript

import { Types } from "mongoose";
export interface ILeaderboardEntryDatabase {
leaderboard: string;
ownerId: Types.ObjectId;
displayName: string;
score: number;
guildId?: Types.ObjectId;
expiry?: Date;
guildTier?: number;
}
export interface ILeaderboardEntryClient {
_id: string; // owner id
s: number; // score
r: number; // rank
n: string; // displayName
}