Added developers and publishers field to games

OMDB doesn't have this field so I mapped it to be empty.
This commit is contained in:
ltctceplrm 2024-01-13 15:01:38 +01:00
parent 1424c0cef6
commit 8bb8c2d791
3 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,8 @@ import { mediaDbTag, migrateObject } from '../utils/Utils';
import { MediaType } from '../utils/MediaType';
export class GameModel extends MediaTypeModel {
developers: string[];
publishers: string[];
genres: string[];
onlineRating: number;
image: string;
@ -18,6 +20,8 @@ export class GameModel extends MediaTypeModel {
constructor(obj: any = {}) {
super();
this.developers = undefined;
this.publishers = undefined;
this.genres = undefined;
this.onlineRating = undefined;
this.image = undefined;