mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
15 lines
395 B
TypeScript
15 lines
395 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import { Parser, type RawNode } from '../index.js';
|
|
|
|
export default class PlaylistSidebarSecondaryInfo extends YTNode {
|
|
static type = 'PlaylistSidebarSecondaryInfo';
|
|
|
|
owner: YTNode;
|
|
button: YTNode;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.owner = Parser.parseItem(data.videoOwner);
|
|
this.button = Parser.parseItem(data.button);
|
|
}
|
|
} |