This commit is contained in:
1 parent
9ba70965ba
commit
bcee6b2c68
9 files changed
+1931
-12
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user