playlist creation, viewing, integration with other views. still wip for full playlist functionality
This commit is contained in:
@@ -43,3 +43,22 @@ export namespace library {
|
||||
|
||||
}
|
||||
|
||||
export namespace playlist {
|
||||
|
||||
export class Summary {
|
||||
ID: number;
|
||||
Name: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Summary(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.ID = source["ID"];
|
||||
this.Name = source["Name"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user