mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 07:11:48 +00:00
20 lines
484 B
TypeScript
20 lines
484 B
TypeScript
import type { ObservedArray } from '../helpers.ts';
|
|
import { YTNode } from '../helpers.ts';
|
|
|
|
import ClipCreation from './ClipCreation.ts';
|
|
|
|
import { Parser } from '../index.ts';
|
|
|
|
import type { RawNode } from '../types/index.ts';
|
|
|
|
export default class ClipSection extends YTNode {
|
|
static type = 'ClipSection';
|
|
|
|
contents: ObservedArray<ClipCreation> | null;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.contents = Parser.parse(data.contents, true, [ ClipCreation ]);
|
|
}
|
|
}
|