mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 04:51:16 +00:00
feat(parser): Add SignalAction node
This commit is contained in:
13
src/parser/classes/actions/SignalAction.ts
Normal file
13
src/parser/classes/actions/SignalAction.ts
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user