refactor: expose electric data freshness

This commit is contained in:
kkfluous
2026-08-07 15:22:04 +08:00
parent 21f5e5388a
commit 0d849fcbb1
6 changed files with 46 additions and 18 deletions
+1
View File
@@ -50,6 +50,7 @@ export function fetchHydrogenDaily(query: HydrogenDailyQuery, customer: Customer
export interface ElectricOverviewResponse {
kpi: ElectricKpi;
trend: ElectricDailyRow[];
latestRecordAt: string | null;
}
export function fetchElectricOverview(): Promise<ElectricOverviewResponse> {