it creates files now
This commit is contained in:
parent
c67a0bf590
commit
4405eb4a34
7 changed files with 61 additions and 19 deletions
|
|
@ -10,7 +10,9 @@ export abstract class APIModel {
|
|||
*
|
||||
* @param title the title to query for
|
||||
*/
|
||||
abstract getByTitle(title: string): Promise<MediaTypeModel[]>;
|
||||
abstract searchByTitle(title: string): Promise<MediaTypeModel[]>;
|
||||
|
||||
abstract getById(item: MediaTypeModel): Promise<MediaTypeModel>;
|
||||
|
||||
hasType(type: string): boolean {
|
||||
return this.types.contains(type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue