mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 09:32:12 +00:00
feat(Parser): Add OpenOnePickAddVideoModalCommand node (#901)
This commit is contained in:
17
src/parser/classes/OpenOnePickAddVideoModalCommand.ts
Normal file
17
src/parser/classes/OpenOnePickAddVideoModalCommand.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user