switch up versions

This commit is contained in:
zkldi
2021-04-24 16:25:27 +01:00
parent 104b0c3578
commit ff7b7f156d
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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<G extends Game> extends AnySongDocument {
data: SongDocumentData[G];
+2 -1
View File
@@ -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<G extends Game> extends AnySongDocument {