feat: add live playground forecast console
ci / check (push) Successful in 1m20s

This commit is contained in:
Noel Sabia committed 2026-11-14 21:04:23 +01:00
1 parent 9ba70965ba
commit bcee6b2c68
9 files changed
+1931 -12

No files matched your search

+19
View File
@@ -166,6 +166,25 @@ export interface ScenarioPreset extends ScenarioDefinition {
description: string
}
export interface PlaygroundRequestContext {
temp_c?: number
precip_mm?: number
is_holiday?: boolean
}
/** Public playground forecast: the normal forecast plus the inputs the model saw. */
export interface PlaygroundForecastResponse {
sensor: string
horizon: Horizon
scenario: Scenario
points: Point[]
data_version: string
model_version: string
context_version: string
weather_source: 'forecast' | 'override'
request: PlaygroundRequestContext
}
export interface DemoClock {
now: string
plan_start: string