From ff7b7f156d29d75ca598f718f90fa012e57b6081 Mon Sep 17 00:00:00 2001 From: zkldi Date: Sat, 24 Apr 2021 16:25:27 +0100 Subject: [PATCH] switch up versions --- common/js/types.d.ts | 3 ++- common/src/types.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 5a83ed3c9..b21e40501 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -663,6 +663,7 @@ export interface AnySongDocument extends MongoDBDocument { title: string; artist: string; isAvailable: boolean; + firstVersion: string | null; /** * Alternative names for this song, to be used while searching. */ @@ -676,7 +677,7 @@ export interface AnySongDocument extends MongoDBDocument { * Contains the versions this song appeared in. This is used for * disambiguation in some games. */ - version: string[]; + versions: string[]; } export interface SongDocument extends AnySongDocument { data: SongDocumentData[G]; diff --git a/common/src/types.ts b/common/src/types.ts index 9fd21a49b..c10743d1b 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -832,6 +832,7 @@ export interface AnySongDocument extends MongoDBDocument { title: string; artist: string; isAvailable: boolean; + firstVersion: string | null; /** * Alternative names for this song, to be used while searching. */ @@ -845,7 +846,7 @@ export interface AnySongDocument extends MongoDBDocument { * Contains the versions this song appeared in. This is used for * disambiguation in some games. */ - version: string[]; + versions: string[]; } export interface SongDocument extends AnySongDocument {