mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-22 22:18:14 +00:00
19 lines
543 B
TypeScript
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);
|
|
}
|
|
} |