Files
dpu-shared/dist/stats.d.ts
2026-03-05 19:47:14 +01:00

20 lines
657 B
TypeScript

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