diff --git a/common/js/types.d.ts b/common/js/types.d.ts index d57c8890d..c74aead1f 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -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; } 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; diff --git a/common/src/types.ts b/common/src/types.ts index 4e7665278..a16d31a85 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -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 & {