mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
16 lines
395 B
TypeScript
16 lines
395 B
TypeScript
import { YTNode } from '../helpers.ts';
|
|
import type { RawNode } from '../index.ts';
|
|
|
|
export default class PlaylistMetadata extends YTNode {
|
|
static type = 'PlaylistMetadata';
|
|
|
|
title: string;
|
|
description: string;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.title = data.title;
|
|
this.description = data.description || null;
|
|
// XXX: Appindexing should be in microformat.
|
|
}
|
|
} |