mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
15 lines
490 B
TypeScript
15 lines
490 B
TypeScript
import { Parser, type RawNode } from '../index.js';
|
|
import { type ObservedArray, YTNode } from '../helpers.js';
|
|
import UniversalWatchCard from './UniversalWatchCard.js';
|
|
|
|
export default class SecondarySearchContainer extends YTNode {
|
|
static type = 'SecondarySearchContainer';
|
|
|
|
public target_id?: string;
|
|
public contents: ObservedArray<UniversalWatchCard>;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.contents = Parser.parseArray(data.contents, [ UniversalWatchCard ]);
|
|
}
|
|
} |