Update entry command
This commit is contained in:
parent
a2b6847325
commit
16299feced
8 changed files with 62 additions and 3 deletions
|
|
@ -5,6 +5,7 @@ import {mediaDbTag} from '../utils/Utils';
|
|||
|
||||
export class GameModel extends MediaTypeModel {
|
||||
type: string;
|
||||
subType: string;
|
||||
title: string;
|
||||
englishTitle: string;
|
||||
year: string;
|
||||
|
|
@ -27,6 +28,8 @@ export class GameModel extends MediaTypeModel {
|
|||
super();
|
||||
|
||||
Object.assign(this, obj);
|
||||
|
||||
this.type = 'game';
|
||||
}
|
||||
|
||||
toMetaData(): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue