mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 11:02:10 +00:00
18 lines
578 B
TypeScript
18 lines
578 B
TypeScript
import { YTNode, type ObservedArray } from '../helpers.js';
|
|
import Parser, { type RawNode } from '../index.js';
|
|
import { Text } from '../misc.js';
|
|
import CarouselLockup from './CarouselLockup.js';
|
|
|
|
export default class VideoDescriptionMusicSection extends YTNode {
|
|
static type = 'VideoDescriptionMusicSection';
|
|
|
|
carousel_lockups: ObservedArray<CarouselLockup>;
|
|
section_title: Text;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.carousel_lockups = Parser.parseArray(data.carouselLockups, CarouselLockup);
|
|
this.section_title = new Text(data.sectionTitle);
|
|
}
|
|
}
|