mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-28 00:56:23 +00:00
chore: clean up build steps
This commit is contained in:
16
src/parser/classes/MusicCarouselShelf.js
Normal file
16
src/parser/classes/MusicCarouselShelf.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import Parser from '../index';
|
||||
|
||||
import { YTNode } from '../helpers';
|
||||
|
||||
class MusicCarouselShelf extends YTNode {
|
||||
static type = 'MusicCarouselShelf';
|
||||
constructor(data) {
|
||||
super();
|
||||
this.header = Parser.parse(data.header);
|
||||
this.contents = Parser.parse(data.contents);
|
||||
if (data.numItemsPerColumn) {
|
||||
this.num_items_per_column = data.numItemsPerColumn;
|
||||
}
|
||||
}
|
||||
}
|
||||
export default MusicCarouselShelf;
|
||||
Reference in New Issue
Block a user