From 4ab2bb744a8e12b5faa083b7f6eff104c2f1b93f Mon Sep 17 00:00:00 2001 From: LuanRT Date: Sun, 7 Aug 2022 06:17:43 -0300 Subject: [PATCH] chore: lint --- src/parser/classes/MusicShelf.js | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/parser/classes/MusicShelf.js diff --git a/src/parser/classes/MusicShelf.js b/src/parser/classes/MusicShelf.js deleted file mode 100644 index 20c470bc..00000000 --- a/src/parser/classes/MusicShelf.js +++ /dev/null @@ -1,29 +0,0 @@ -import Parser from '../index'; -import Text from './misc/Text'; -import NavigationEndpoint from './NavigationEndpoint'; -import { YTNode } from '../helpers'; - -class MusicShelf extends YTNode { - static type = 'MusicShelf'; - - constructor(data) { - super(); - this.title = new Text(data.title).toString(); - this.contents = Parser.parse(data.contents); - - if (data.bottomEndpoint) { - this.endpoint = new NavigationEndpoint(data.bottomEndpoint); - } - - if (data.continuations) { - // TODO: type this - this.continuation = data.continuations?.[0].nextContinuationData.continuation; - } - - if (data.bottomText) { - this.bottom_text = new Text(data.bottomText); - } - } -} - -export default MusicShelf; \ No newline at end of file