innertuber-rn
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
15 lines • 454 B
JavaScript
import { Parser } from '../index.js';
import { YTNode } from '../helpers.js';
class ExpandedShelfContents extends YTNode {
constructor(data) {
super();
this.items = Parser.parseArray(data.items);
}
// XXX: Alias for consistency.
get contents() {
return this.items;
}
}
ExpandedShelfContents.type = 'ExpandedShelfContents';
export default ExpandedShelfContents;
//# sourceMappingURL=ExpandedShelfContents.js.map