mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-23 23:09:28 +00:00
17 lines
451 B
TypeScript
17 lines
451 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import { Parser, type RawNode } from '../index.js';
|
|
import Menu from './menus/Menu.js';
|
|
import Text from './misc/Text.js';
|
|
|
|
export default class MacroMarkersInfoItem extends YTNode {
|
|
static type = 'MacroMarkersInfoItem';
|
|
|
|
info_text: Text;
|
|
menu: Menu | null;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.info_text = new Text(data.infoText);
|
|
this.menu = Parser.parseItem(data.menu, Menu);
|
|
}
|
|
} |