diff --git a/src/parser/classes/actions/SignalAction.ts b/src/parser/classes/actions/SignalAction.ts new file mode 100644 index 000000000..ba6ae4bb0 --- /dev/null +++ b/src/parser/classes/actions/SignalAction.ts @@ -0,0 +1,13 @@ +import { YTNode } from '../../helpers.js'; +import type { RawNode } from '../../index.js'; + +export default class SignalAction extends YTNode { + static type = 'SignalAction'; + + public action: string; + + constructor(data: RawNode) { + super(); + this.action = data.action; + } +} \ No newline at end of file diff --git a/src/parser/nodes.ts b/src/parser/nodes.ts index 2f85029f5..753e1f4a0 100644 --- a/src/parser/nodes.ts +++ b/src/parser/nodes.ts @@ -11,6 +11,7 @@ export { default as AccountSectionList } from './classes/AccountSectionList.js'; export { default as AppendContinuationItemsAction } from './classes/actions/AppendContinuationItemsAction.js'; export { default as GetMultiPageMenuAction } from './classes/actions/GetMultiPageMenuAction.js'; export { default as OpenPopupAction } from './classes/actions/OpenPopupAction.js'; +export { default as SignalAction } from './classes/actions/SignalAction.js'; export { default as UpdateEngagementPanelAction } from './classes/actions/UpdateEngagementPanelAction.js'; export { default as UpdateSubscribeButtonAction } from './classes/actions/UpdateSubscribeButtonAction.js'; export { default as Alert } from './classes/Alert.js'; @@ -285,6 +286,7 @@ export { default as MusicTwoRowItem } from './classes/MusicTwoRowItem.js'; export { default as MusicVisualHeader } from './classes/MusicVisualHeader.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 PageHeader } from './classes/PageHeader.js'; export { default as PageHeaderView } from './classes/PageHeaderView.js'; export { default as PageIntroduction } from './classes/PageIntroduction.js';