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:
parent
e4788750f7
commit
39017bfa82
7 changed files with 23 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue