25 lines
1.0 KiB
TypeScript
25 lines
1.0 KiB
TypeScript
import type { GristRecord_PersonalGoals } from "./grist";
|
|
import type { API_HA_DeskPosition } from "./homeassistant";
|
|
import type { TidalGetCurrent } from "./tidal";
|
|
export declare const HomepageComponent: {
|
|
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 HomepageComponentName = (typeof HomepageComponent)[keyof typeof HomepageComponent];
|
|
export type FullInformation = Record<HomepageComponentName, unknown> & {
|
|
ha_desk_position: API_HA_DeskPosition | null;
|
|
ha_temp: string | null;
|
|
tidal_current: TidalGetCurrent | null;
|
|
grist_personal_goals: GristRecord_PersonalGoals | null;
|
|
};
|
|
export type ComponentUpdate = {
|
|
component: HomepageComponentName;
|
|
data: unknown;
|
|
};
|
|
export declare function createComponentUpdate(component: HomepageComponentName, data: unknown): {
|
|
component: HomepageComponentName;
|
|
data: unknown;
|
|
};
|
|
//# sourceMappingURL=homepage.d.ts.map
|