Add country, boxOffice and ageRating fields for movies and series
OMDbAPI has all 3 of these fields and MALAPI only has ageRating. While most anime is japanese there are some korean or chinese anime also on MAL so I thought it best to just set country and boxOffice as empty. boxOffice isn't applicable for series so I removed that field
This commit is contained in:
parent
c87cb098b2
commit
ece6650376
4 changed files with 23 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ export class SeriesModel extends MediaTypeModel {
|
|||
image: string;
|
||||
|
||||
released: boolean;
|
||||
country: string[];
|
||||
ageRating: string;
|
||||
streamingServices: string[];
|
||||
airing: boolean;
|
||||
airedFrom: string;
|
||||
|
|
@ -42,6 +44,8 @@ export class SeriesModel extends MediaTypeModel {
|
|||
this.image = '';
|
||||
|
||||
this.released = false;
|
||||
this.country = [];
|
||||
this.ageRating = '';
|
||||
this.streamingServices = [];
|
||||
this.airing = false;
|
||||
this.airedFrom = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue