status => stats

This commit is contained in:
Darius
2026-03-05 19:47:14 +01:00
parent d73d98068a
commit 1085ce870b
13 changed files with 41 additions and 32 deletions

20
dist/stats.d.ts vendored Normal file
View File

@@ -0,0 +1,20 @@
export declare const StatsComponent: {
readonly HA_DESK_POSITION: "ha_desk_position";
readonly HA_TEMP: "ha_temp";
readonly TIDAL_CURRENT: "tidal_current";
readonly GRIST_PERSONAL_GOALS: "grist_personal_goals";
};
export type StatsComponentName = (typeof StatsComponent)[keyof typeof StatsComponent];
export type ComponentUpdate = {
component: StatsComponentName;
data: unknown;
};
export type StepRow = {
year: string;
steps: number;
};
export declare function createComponentUpdate(component: StatsComponentName, data: unknown): {
component: StatsComponentName;
data: unknown;
};
//# sourceMappingURL=stats.d.ts.map