|
@@ -5,6 +5,7 @@ export class ContentItem {
|
|
|
|
|
|
|
|
public readonly data: ContentParams;
|
|
public readonly data: ContentParams;
|
|
|
public readonly hash: string;
|
|
public readonly hash: string;
|
|
|
|
|
+ public readonly hashInPlaylist: string;
|
|
|
public readonly type: string;
|
|
public readonly type: string;
|
|
|
public readonly date: Date;
|
|
public readonly date: Date;
|
|
|
|
|
|
|
@@ -26,9 +27,10 @@ export class ContentItem {
|
|
|
public readonly media?: string;
|
|
public readonly media?: string;
|
|
|
public readonly relTarget: any;
|
|
public readonly relTarget: any;
|
|
|
|
|
|
|
|
- constructor(hash: string, props: ContentParams) {
|
|
|
|
|
|
|
+ constructor(hashInPlaylist: string, hash: string, props: ContentParams) {
|
|
|
this.data = props;
|
|
this.data = props;
|
|
|
this.hash = hash;
|
|
this.hash = hash;
|
|
|
|
|
+ this.hashInPlaylist = hashInPlaylist;
|
|
|
this.type = props.type;
|
|
this.type = props.type;
|
|
|
this.title = props.title;
|
|
this.title = props.title;
|
|
|
this.text = props.text;
|
|
this.text = props.text;
|