This repository has been archived on 2025-12-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
infotainment-ui/src/types.ts
2025-11-15 13:38:10 +02:00

17 lines
390 B
TypeScript

export interface ChargingSession {
id: string;
startedAt: string; // ISO timestamp
endedAt: string; // ISO timestamp
sohStart: number; // e.g. 94.3 (%)
sohEnd: number; // e.g. 94.1 (%)
socStart?: number; // %
socEnd?: number; // %
energyAddedKWh?: number;
avgTempC?: number;
locationName?: string;
}
export interface SessionsResponse {
sessions: ChargingSession[];
}