Add useful metadata to BMS and PMS songdocuments

This commit is contained in:
zkldi
2022-01-29 15:48:32 +00:00
parent 66531ee4fb
commit 8e9ca40a93
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tachi-common",
"version": "0.5.6",
"version": "0.5.7",
"description": "Common Types & Utilities for Tachi",
"main": "js/index.js",
"files": [
+12 -2
View File
@@ -936,11 +936,21 @@ interface SongDocumentData {
sdvx: { displayVersion: string };
usc: Record<string, never>;
ddr: { displayVersion: string };
bms: { genre: string | null; subtitle: string | null; subartist: string | null };
bms: {
genre: string | null;
subtitle: string | null;
subartist: string | null;
tableString: string | null;
};
chunithm: { genre: string; displayVersion: string };
gitadora: { isHot: boolean; displayVersion: string };
wacca: { titleJP: string; artistJP: string; genre: string; displayVersion: string | null };
pms: { genre: string | null; subtitle: string | null; subartist: string | null };
pms: {
genre: string | null;
subtitle: string | null;
subartist: string | null;
tableString: string | null;
};
}
export interface SongDocument<G extends Game = Game> extends MongoDBDocument {