making all hitMeta, hitData and scoreMeta fields nullable

This commit is contained in:
zkldi
2021-04-22 02:31:42 +01:00
parent 2b8ce06edb
commit a5b3bad9bb
2 changed files with 12 additions and 12 deletions
+9 -9
View File
@@ -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
View File
@@ -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 & {