mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-28 00:56:23 +00:00
chore: v5.0.0 release
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
import { YTNode } from '../helpers.ts';
|
||||
import type { RawNode } from '../index.ts';
|
||||
|
||||
class PlaylistMetadata extends YTNode {
|
||||
export default class PlaylistMetadata extends YTNode {
|
||||
static type = 'PlaylistMetadata';
|
||||
|
||||
title: string;
|
||||
description: string;
|
||||
|
||||
constructor(data: any) {
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.title = data.title;
|
||||
this.description = data.description || null;
|
||||
// XXX: Appindexing should be in microformat
|
||||
// XXX: Appindexing should be in microformat.
|
||||
}
|
||||
}
|
||||
|
||||
export default PlaylistMetadata;
|
||||
}
|
||||
Reference in New Issue
Block a user