Skip to content

Commit

Permalink
Add OpenOnePickAddVideoModalCommand node
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Feb 16, 2025
1 parent 5394edc commit 1b477ef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/parser/classes/OpenOnePickAddVideoModalCommand.ts
Original file line number Diff line number Diff line change
@@ -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;
}
}
1 change: 1 addition & 0 deletions src/parser/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,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';
Expand Down

0 comments on commit 1b477ef

Please sign in to comment.