Skip to content

Commit

Permalink
feat(parser): Add ShowEngagementPanelEndpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Nov 28, 2024
1 parent a7bb981 commit ec85b0f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts
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 ShowEngagementPanelEndpoint extends YTNode {
static type = 'ShowEngagementPanelEndpoint';

public panel_identifier: string;
public source_panel_identifier?: string;

constructor(data: RawNode) {
super();
this.panel_identifier = data.panelIdentifier;
this.source_panel_identifier = data.sourcePanelIdentifier;
}
}
1 change: 1 addition & 0 deletions src/parser/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export { default as SearchEndpoint } from './classes/endpoints/SearchEndpoint.js
export { default as ShareEndpoint } from './classes/endpoints/ShareEndpoint.js';
export { default as ShareEntityEndpoint } from './classes/endpoints/ShareEntityEndpoint.js';
export { default as ShareEntityServiceEndpoint } from './classes/endpoints/ShareEntityServiceEndpoint.js';
export { default as ShowEngagementPanelEndpoint } from './classes/endpoints/ShowEngagementPanelEndpoint.js';
export { default as SignalServiceEndpoint } from './classes/endpoints/SignalServiceEndpoint.js';
export { default as SubscribeEndpoint } from './classes/endpoints/SubscribeEndpoint.js';
export { default as UnsubscribeEndpoint } from './classes/endpoints/UnsubscribeEndpoint.js';
Expand Down

0 comments on commit ec85b0f

Please sign in to comment.