mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
18 lines
510 B
TypeScript
18 lines
510 B
TypeScript
import { YTNode } from '../helpers';
|
|
|
|
class HeatMarker extends YTNode {
|
|
static type = 'HeatMarker';
|
|
|
|
time_range_start_millis: number;
|
|
marker_duration_millis: number;
|
|
heat_marker_intensity_score_normalized: number;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.time_range_start_millis = data.timeRangeStartMillis;
|
|
this.marker_duration_millis = data.markerDurationMillis;
|
|
this.heat_marker_intensity_score_normalized = data.heatMarkerIntensityScoreNormalized;
|
|
}
|
|
}
|
|
|
|
export default HeatMarker; |