[+] Add type and video fields to Artwork
This commit is contained in:
+2
-1
@@ -11,7 +11,6 @@ class Artwork
|
|||||||
{
|
{
|
||||||
rawDate: string;
|
rawDate: string;
|
||||||
title: string;
|
title: string;
|
||||||
format: string;
|
|
||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
constructor(date: string, title: string, format: string, description: string)
|
constructor(date: string, title: string, format: string, description: string)
|
||||||
@@ -21,6 +20,8 @@ class Artwork
|
|||||||
this.format = format;
|
this.format = format;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
}
|
}
|
||||||
|
type: string;
|
||||||
|
video: boolean;
|
||||||
|
|
||||||
get date()
|
get date()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user