mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-23 23:09:28 +00:00
chore: clean up build steps
This commit is contained in:
15
src/parser/classes/SubFeedOption.js
Normal file
15
src/parser/classes/SubFeedOption.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import Text from './misc/Text';
|
||||
import NavigationEndpoint from './NavigationEndpoint';
|
||||
|
||||
import { YTNode } from '../helpers';
|
||||
|
||||
class SubFeedOption extends YTNode {
|
||||
static type = 'SubFeedOption';
|
||||
constructor(data) {
|
||||
super();
|
||||
this.name = new Text(data.name);
|
||||
this.is_selected = data.isSelected;
|
||||
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
|
||||
}
|
||||
}
|
||||
export default SubFeedOption;
|
||||
Reference in New Issue
Block a user