mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-26 16:18:51 +00:00
19 lines
806 B
TypeScript
19 lines
806 B
TypeScript
import { Parser, type RawNode } from '../index.js';
|
|
import { type ObservedArray, YTNode } from '../helpers.js';
|
|
import SubFeedSelector from './SubFeedSelector.js';
|
|
import EomSettingsDisclaimer from './EomSettingsDisclaimer.js';
|
|
import ToggleButton from './ToggleButton.js';
|
|
import CompactLink from './CompactLink.js';
|
|
import SearchBox from './SearchBox.js';
|
|
import Button from './Button.js';
|
|
|
|
export default class BrowseFeedActions extends YTNode {
|
|
static type = 'BrowseFeedActions';
|
|
|
|
public contents: ObservedArray<SubFeedSelector | EomSettingsDisclaimer | ToggleButton | CompactLink | SearchBox | Button>;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.contents = Parser.parseArray(data.contents, [ SubFeedSelector, EomSettingsDisclaimer, ToggleButton, CompactLink, SearchBox, Button ]);
|
|
}
|
|
} |