rename search/alt-titles to searchTerms and altTitles

This commit is contained in:
zkldi
2021-09-17 11:47:30 +01:00
parent 45a2dce0c3
commit 13fa25c4ea
+2 -9
View File
@@ -863,15 +863,8 @@ export interface SongDocument<G extends Game = Game> extends MongoDBDocument {
title: string;
artist: string;
firstVersion: string | null;
/**
* Alternative names for this song, to be used while searching.
*/
"search-titles": string[];
/**
* Alternative titles for this song, to be used whenever the song is
* requested.
*/
"alt-titles": string[];
searchTerms: string[];
altTitles: string[];
data: SongDocumentData[G];
}