Files
YouTube.js/src/parser/classes/PostMultiImage.ts

15 lines
440 B
TypeScript

import { Parser, type RawNode } from '../index.js';
import BackstageImage from './BackstageImage.js';
import type { ObservedArray } from '../helpers.js';
import { YTNode } from '../helpers.js';
export default class PostMultiImage extends YTNode {
static type = 'PostMultiImage';
images: ObservedArray<BackstageImage>;
constructor(data: RawNode) {
super();
this.images = Parser.parseArray(data.images, BackstageImage);
}
}