fix: complete model renderer states and ids
This commit is contained in:
parent
fede33e8a7
commit
c2fb20b066
11 changed files with 84 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue