This commit is contained in:
Mateusz Gruszczyński
2026-03-24 15:00:54 +01:00
parent db26938791
commit 55a3c1ab7b
6 changed files with 256 additions and 32 deletions

View File

@@ -273,3 +273,42 @@ export interface KioskSettingsPayload {
updated_at?: string | null;
updated_by?: string | null;
}
export interface DiagnosticsPayload {
app: {
name: string;
version: string;
debug: boolean;
timezone: string;
site_name: string;
installed_power_kwp: number;
auth_enabled: boolean;
started_at: string;
uptime_seconds: number;
python_version: string;
pid: number;
};
api: {
status: string;
prefix: string;
cors_origins_count: number;
};
influx: {
status: "connected" | "error";
reachable: boolean;
database_exists: boolean;
url: string;
database: string;
username_masked: string;
verify_ssl: boolean;
timeout_seconds: number;
error?: string | null;
};
storage: {
sqlite_path: string;
historical_import_enabled: boolean;
auto_sync_enabled: boolean;
default_chunk_days: number;
};
}