feat: generate frontend status metadata contract

This commit is contained in:
sjg
2026-08-01 22:27:35 +02:00
parent f87289b129
commit ddb33b6ff3
6 changed files with 38 additions and 25 deletions
@@ -59,6 +59,18 @@ const jsonRoutes = new Map([
lrpt_decode_enabled: false,
wefax_decode_enabled: false,
recorder_enabled: false,
clients: 1,
rigctl_clients: 0,
audio_clients: 0,
remotes: [],
show_sdr_gain_control: false,
initial_map_zoom: 10,
spectrum_coverage_margin_hz: 50_000,
spectrum_usable_span_ratio: 0.92,
bandplan_enabled: false,
bandplan_region: "iaru1",
decode_history_retention_min: 1440,
server_connected: true,
}],
["/bandplan.json", {}],
["/api/recorder/status", []],