mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 10:28:04 +03:00
more nullability, sadly
This commit is contained in:
@@ -154,8 +154,6 @@ exports.validHitMeta = {
|
||||
"lpg",
|
||||
"epg",
|
||||
"diedAt",
|
||||
"random",
|
||||
"inputDevice",
|
||||
...exports.BASE_VALID_HIT_META,
|
||||
],
|
||||
chunithm: [...exports.BASE_VALID_HIT_META],
|
||||
|
||||
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -915,7 +915,7 @@ export interface ScoreDocument<I extends IDStrings = IDStrings> extends MongoDBD
|
||||
lampIndex: integer;
|
||||
gradeIndex: integer;
|
||||
esd: number | null;
|
||||
hitData: Partial<Record<JudgementLookup[I], integer>>;
|
||||
hitData: Partial<Record<JudgementLookup[I], integer | null>>;
|
||||
hitMeta: Partial<HitMetaLookup[I]>;
|
||||
};
|
||||
scoreMeta: Partial<ScoreMetaLookup[I]>;
|
||||
|
||||
@@ -172,8 +172,6 @@ export const validHitMeta: Record<Game, string[]> = {
|
||||
"lpg",
|
||||
"epg",
|
||||
"diedAt",
|
||||
"random",
|
||||
"inputDevice",
|
||||
...BASE_VALID_HIT_META,
|
||||
],
|
||||
chunithm: [...BASE_VALID_HIT_META],
|
||||
|
||||
+1
-1
@@ -1167,7 +1167,7 @@ export interface ScoreDocument<I extends IDStrings = IDStrings> extends MongoDBD
|
||||
lampIndex: integer;
|
||||
gradeIndex: integer;
|
||||
esd: number | null;
|
||||
hitData: Partial<Record<JudgementLookup[I], integer>>;
|
||||
hitData: Partial<Record<JudgementLookup[I], integer | null>>;
|
||||
hitMeta: Partial<HitMetaLookup[I]>;
|
||||
};
|
||||
scoreMeta: Partial<ScoreMetaLookup[I]>;
|
||||
|
||||
Reference in New Issue
Block a user