mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 03:59:38 +00:00
* tests: improve coverage * refactor: clean up nodes * chore: lint * feat(parser): ignore `BrandVideoShelf` Seems to be used for ads. * feat(parser): ignore `BrandVideoSingleton` too
17 lines
548 B
TypeScript
17 lines
548 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
|
|
export default class HeatMarker extends YTNode {
|
|
static type = 'HeatMarker';
|
|
|
|
time_range_start_millis: number;
|
|
marker_duration_millis: number;
|
|
heat_marker_intensity_score_normalized: number;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.time_range_start_millis = data.timeRangeStartMillis;
|
|
this.marker_duration_millis = data.markerDurationMillis;
|
|
this.heat_marker_intensity_score_normalized = data.heatMarkerIntensityScoreNormalized;
|
|
}
|
|
} |