mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 14:58:12 +03:00
making all hitMeta, hitData and scoreMeta fields nullable
This commit is contained in:
Vendored
+9
-9
@@ -438,12 +438,12 @@ export interface PublicUserDocument extends MongoDBDocument {
|
||||
};
|
||||
friends: integer[];
|
||||
socialMedia: {
|
||||
discord?: string;
|
||||
twitter?: string;
|
||||
github?: string;
|
||||
steam?: string;
|
||||
youtube?: string;
|
||||
twitch?: string;
|
||||
discord?: string | null;
|
||||
twitter?: string | null;
|
||||
github?: string | null;
|
||||
steam?: string | null;
|
||||
youtube?: string | null;
|
||||
twitch?: string | null;
|
||||
};
|
||||
lastSeen: integer;
|
||||
about: string;
|
||||
@@ -704,9 +704,9 @@ interface ScoreMetaLookup {
|
||||
"gitadora:Dora": Record<string, never>;
|
||||
}
|
||||
interface BASE_VALID_HIT_META {
|
||||
fast: integer;
|
||||
slow: integer;
|
||||
maxCombo: integer;
|
||||
fast: integer | null;
|
||||
slow: integer | null;
|
||||
maxCombo: integer | null;
|
||||
}
|
||||
declare type IIDXHitMeta = BASE_VALID_HIT_META & {
|
||||
bp: integer | null;
|
||||
|
||||
+3
-3
@@ -934,9 +934,9 @@ interface ScoreMetaLookup {
|
||||
}
|
||||
|
||||
interface BASE_VALID_HIT_META {
|
||||
fast: integer;
|
||||
slow: integer;
|
||||
maxCombo: integer;
|
||||
fast: integer | null;
|
||||
slow: integer | null;
|
||||
maxCombo: integer | null;
|
||||
}
|
||||
|
||||
type IIDXHitMeta = BASE_VALID_HIT_META & {
|
||||
|
||||
Reference in New Issue
Block a user