diff --git a/src/parser/classes/OpenOnePickAddVideoModalCommand.ts b/src/parser/classes/OpenOnePickAddVideoModalCommand.ts new file mode 100644 index 00000000..ec354e6a --- /dev/null +++ b/src/parser/classes/OpenOnePickAddVideoModalCommand.ts @@ -0,0 +1,17 @@ +import { type RawNode } from '../index.js'; +import { YTNode } from '../helpers.js'; + +export default class OpenOnePickAddVideoModalCommand extends YTNode { + static type = 'OpenOnePickAddVideoModalCommand'; + + list_id: string; + modal_title: string; + select_button_label: string; + + constructor(data: RawNode) { + super(); + this.list_id = data.listId; + this.modal_title = data.modalTitle; + this.select_button_label = data.selectButtonLabel; + } +} diff --git a/src/parser/nodes.ts b/src/parser/nodes.ts index 33dc58ed..1946fced 100644 --- a/src/parser/nodes.ts +++ b/src/parser/nodes.ts @@ -346,6 +346,7 @@ export { default as TopbarMenuButton } from './classes/mweb/TopbarMenuButton.js' export { default as NavigationEndpoint } from './classes/NavigationEndpoint.js'; export { default as Notification } from './classes/Notification.js'; export { default as NotificationAction } from './classes/NotificationAction.js'; +export { default as OpenOnePickAddVideoModalCommand } from './classes/OpenOnePickAddVideoModalCommand.js'; export { default as PageHeader } from './classes/PageHeader.js'; export { default as PageHeaderView } from './classes/PageHeaderView.js'; export { default as PageIntroduction } from './classes/PageIntroduction.js';