mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 15:19:50 +03:00
make rankings nullable too
This commit is contained in:
+1
-1
@@ -1401,7 +1401,7 @@ export interface UGPTSettings<I extends IDStrings = IDStrings> extends MongoDBDo
|
||||
export interface UserGameStatsSnapshot<I extends IDStrings = IDStrings>
|
||||
extends MongoDBDocument,
|
||||
UserGameStats<I> {
|
||||
rankings: Record<UGSRatingsLookup[I], { ranking: integer; outOf: integer }>;
|
||||
rankings: Record<UGSRatingsLookup[I], { ranking: integer | null; outOf: integer }>;
|
||||
playcount: integer;
|
||||
timestamp: integer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user