@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
37 lines (36 loc) • 970 B
TypeScript
import { YTNode } from '../../helpers.js';
import type { RawNode } from '../../index.js';
export default class DataModelSection extends YTNode {
static type: string;
title: string;
subtitle: string;
metric_value: string;
comparison_indicator: {
trend: string;
};
series_configuration: {
line_series: {
lines_data: {
x: number[];
y: number[];
style: {
line_width: number;
line_color: number;
};
};
domain_axis: {
tick_values: number[];
custom_formatter: {
labels: string[];
};
};
measure_axis: {
tick_values: number[];
custom_formatter: {
labels: string[];
};
};
};
};
constructor(data: RawNode);
}