Files
YouTube.js/deno/src/parser/classes/AccountSectionList.ts
2023-04-29 05:15:47 +00:00

19 lines
543 B
TypeScript

import Parser from '../index.ts';
import AccountChannel from './AccountChannel.ts';
import AccountItemSection from './AccountItemSection.ts';
import { YTNode } from '../helpers.ts';
import type { RawNode } from '../index.ts';
export default class AccountSectionList extends YTNode {
static type = 'AccountSectionList';
contents;
footers;
constructor(data: RawNode) {
super();
this.contents = Parser.parseItem(data.contents[0], AccountItemSection);
this.footers = Parser.parseItem(data.footers[0], AccountChannel);
}
}