From 13fa25c4ea70db38613770cd838c49ed1f6a2f9f Mon Sep 17 00:00:00 2001 From: zkldi Date: Fri, 17 Sep 2021 11:47:30 +0100 Subject: [PATCH] rename search/alt-titles to searchTerms and altTitles --- common/src/types.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/common/src/types.ts b/common/src/types.ts index bbfca5e22..3974b8f48 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -863,15 +863,8 @@ export interface SongDocument 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]; }