Skip to content

Commit

Permalink
feat(parser): Add ChangeEngagementPanelVisibilityAction
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Nov 25, 2024
1 parent 790f817 commit c2b2d7a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { YTNode } from '../../helpers.js';
import type { RawNode } from '../../index.js';

export default class ChangeEngagementPanelVisibilityAction extends YTNode {
static type = 'ChangeEngagementPanelVisibilityAction';

public target_id: string;
public visibility: string;

constructor(data: RawNode) {
super();
this.target_id = data.targetId;
this.visibility = data.visibility;
}
}
1 change: 1 addition & 0 deletions src/parser/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export { default as AccountItemSection } from './classes/AccountItemSection.js';
export { default as AccountItemSectionHeader } from './classes/AccountItemSectionHeader.js';
export { default as AccountSectionList } from './classes/AccountSectionList.js';
export { default as AppendContinuationItemsAction } from './classes/actions/AppendContinuationItemsAction.js';
export { default as ChangeEngagementPanelVisibilityAction } from './classes/actions/ChangeEngagementPanelVisibilityAction.js';
export { default as GetMultiPageMenuAction } from './classes/actions/GetMultiPageMenuAction.js';
export { default as OpenPopupAction } from './classes/actions/OpenPopupAction.js';
export { default as SendFeedbackAction } from './classes/actions/SendFeedbackAction.js';
Expand Down

0 comments on commit c2b2d7a

Please sign in to comment.