Add more detail to search results

Adds getSummary to the MediaTypeModel.ts abstract class, which allows individual models to give more detail to better allow people to pick the right result
This commit is contained in:
Conor Meyers 2022-08-23 15:51:29 +01:00
parent e4788750f7
commit 39017bfa82
7 changed files with 23 additions and 1 deletions

View file

@ -14,6 +14,9 @@ export abstract class MediaTypeModel {
abstract getMediaType(): MediaType;
//a string that contains enough info to disambiguate from similar media
abstract getSummary(): string;
abstract getTags(): string[];
toMetaDataObject(): object {