From 8e9ca40a93afdaab9ef1c16f27e2d96e91710fc3 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sat, 29 Jan 2022 15:48:32 +0000 Subject: [PATCH] Add useful metadata to BMS and PMS songdocuments --- common/package.json | 2 +- common/src/types.ts | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/common/package.json b/common/package.json index 648dcc786..6b6b548bd 100644 --- a/common/package.json +++ b/common/package.json @@ -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": [ diff --git a/common/src/types.ts b/common/src/types.ts index 872e8065f..ec1804e1e 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -936,11 +936,21 @@ interface SongDocumentData { sdvx: { displayVersion: string }; usc: Record; 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 extends MongoDBDocument {