fix: complete model renderer states and ids

This commit is contained in:
vince 2026-06-18 19:29:30 +02:00
parent fede33e8a7
commit c2fb20b066
11 changed files with 84 additions and 7 deletions

View file

@ -10,6 +10,7 @@ import { UnsupportedDashboardModelVersionError } from "$lib/server/db/model-migr
export type DashboardRuntimeState =
| DashboardRuntimeEmpty
| DashboardRuntimeInvalid
| DashboardRuntimeLoading
| DashboardRuntimeReady;
export interface DashboardRuntimeReady {
@ -26,6 +27,13 @@ export interface DashboardRuntimeEmpty {
message: string;
}
export interface DashboardRuntimeLoading {
state: "loading";
title: string;
subtitle: string;
message: string;
}
export interface DashboardRuntimeInvalid {
state: "invalid";
title: string;