heatmaps: part 1

This commit is contained in:
nym21
2026-05-28 21:58:54 +02:00
parent 100495fdba
commit 52883bbdba
11 changed files with 213 additions and 13 deletions
+8
View File
@@ -311,6 +311,14 @@ export function initOptions() {
option.kind = anyPartial.kind;
option.path = [];
option.name = name;
} else if ("kind" in anyPartial && anyPartial.kind === "heatmap") {
Object.assign(
option,
/** @satisfies {HeatmapOption} */ ({
...anyPartial,
path,
}),
);
} else if ("url" in anyPartial) {
Object.assign(
option,