feat(Parser): Add OpenOnePickAddVideoModalCommand node (#901)

This commit is contained in:
Dave Nicolson
2025-04-20 15:25:50 +02:00
committed by GitHub
parent dce51cdc4a
commit ff1aa67b8b
2 changed files with 18 additions and 0 deletions

View File

@@ -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;
}
}

View File

@@ -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';