Files
YouTube.js/deno/src/parser/classes/PlaylistMetadata.ts
2023-04-29 05:15:47 +00:00

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.
}
}