Skip to content

Commit

Permalink
feat(parser): Add ChangeEngagementPanelVisibilityEndpoint
Browse files Browse the repository at this point in the history
Similar to `ChangeEngagementPanelVisibilityAction`
  • Loading branch information
LuanRT committed Nov 26, 2024
1 parent c2b2d7a commit 2824900
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { YTNode } from '../../helpers.js';
import type { RawNode } from '../../index.js';

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

public panel_identifier: string;

constructor(data: RawNode) {
super();
this.panel_identifier = data.panelIdentifier;
}
}
1 change: 1 addition & 0 deletions src/parser/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export { default as CreatePlaylistServiceEndpoint } from './classes/endpoints/Cr
export { default as DeletePlaylistEndpoint } from './classes/endpoints/DeletePlaylistEndpoint.js';
export { default as FeedbackEndpoint } from './classes/endpoints/FeedbackEndpoint.js';
export { default as GetAccountsListInnertubeEndpoint } from './classes/endpoints/GetAccountsListInnertubeEndpoint.js';
export { default as HideEngagementPanelEndpoint } from './classes/endpoints/HideEngagementPanelEndpoint.js';
export { default as LikeEndpoint } from './classes/endpoints/LikeEndpoint.js';
export { default as LiveChatItemContextMenuEndpoint } from './classes/endpoints/LiveChatItemContextMenuEndpoint.js';
export { default as ModifyChannelNotificationPreferenceEndpoint } from './classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.js';
Expand Down

0 comments on commit 2824900

Please sign in to comment.