mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
19 lines
547 B
TypeScript
19 lines
547 B
TypeScript
import { Parser } from '../index.js';
|
|
import AccountChannel from './AccountChannel.js';
|
|
import AccountItemSection from './AccountItemSection.js';
|
|
|
|
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
|
|
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);
|
|
}
|
|
} |