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 {