chore: v5.0.0 release

This commit is contained in:
LuanRT
2023-04-29 05:15:47 +00:00
parent b19d687eed
commit 48dc99e28b
445 changed files with 4076 additions and 3578 deletions

View File

@@ -1,20 +1,19 @@
import Text from './misc/Text.ts';
import NavigationEndpoint from './NavigationEndpoint.ts';
import { YTNode } from '../helpers.ts';
import type { RawNode } from '../index.ts';
import NavigationEndpoint from './NavigationEndpoint.ts';
import Text from './misc/Text.ts';
class SubFeedOption extends YTNode {
export default class SubFeedOption extends YTNode {
static type = 'SubFeedOption';
name: Text;
is_selected: boolean;
endpoint: NavigationEndpoint;
constructor(data: any) {
constructor(data: RawNode) {
super();
this.name = new Text(data.name);
this.is_selected = data.isSelected;
this.endpoint = new NavigationEndpoint(data.navigationEndpoint);
}
}
export default SubFeedOption;
}