UNPKG

@imput/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js

15 lines 621 B
import { Parser } from '../index.js'; import AccountItem from './AccountItem.js'; import AccountItemSectionHeader from './AccountItemSectionHeader.js'; import { YTNode } from '../helpers.js'; import CompactLink from './CompactLink.js'; class AccountItemSection extends YTNode { constructor(data) { super(); this.contents = Parser.parseArray(data.contents, [AccountItem, CompactLink]); this.header = Parser.parseItem(data.header, AccountItemSectionHeader); } } AccountItemSection.type = 'AccountItemSection'; export default AccountItemSection; //# sourceMappingURL=AccountItemSection.js.map