add homepage information type pt2

This commit is contained in:
Darius
2026-02-05 00:31:08 +01:00
parent bf580c8a84
commit fd766a822c
3 changed files with 9 additions and 7 deletions

7
dist/homepage.d.ts vendored
View File

@@ -1,8 +1,9 @@
import { API_HA_DeskPosition } from "./homeassistant"; import { API_HA_DeskPosition } from "./homeassistant";
import { TidalGetCurrent } from "./tidal"; import { TidalGetCurrent } from "./tidal";
export type FullInformation = { export type FullInformation = {
ha_desk_position: API_HA_DeskPosition; ha_desk_position: API_HA_DeskPosition | null;
ha_temp: string; ha_temp: string | null;
tidal_current: TidalGetCurrent; tidal_current: TidalGetCurrent | null;
tidal_volume: number | null;
}; };
//# sourceMappingURL=homepage.d.ts.map //# sourceMappingURL=homepage.d.ts.map

View File

@@ -1 +1 @@
{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../src/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,eAAe,CAAC;CAC/B,CAAA"} {"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../src/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,gBAAgB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAA"}

View File

@@ -2,7 +2,8 @@ import { API_HA_DeskPosition } from "./homeassistant";
import { TidalGetCurrent } from "./tidal"; import { TidalGetCurrent } from "./tidal";
export type FullInformation = { export type FullInformation = {
ha_desk_position: API_HA_DeskPosition; ha_desk_position: API_HA_DeskPosition | null;
ha_temp: string; ha_temp: string | null;
tidal_current: TidalGetCurrent; tidal_current: TidalGetCurrent | null;
tidal_volume: number | null;
} }