Skip to content

Commit

Permalink
Release to fix typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdavis90 committed Nov 19, 2023
1 parent d0dd7ad commit 3def9dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions build/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ export type ZoneState = {
geolocationOverrideDisableTime: boolean | null;
preparation: any;
setting: TimeTableSettings;
overlayType: 'MANUAL';
overlay: ZoneOverlay;
openWindow: ZoneOpenWindow;
nextScheduleChange: ZoneStateNextScheduleChange;
nextTimeBlock: ZoneNextTimeBlock;
overlayType: Nullable<'MANUAL'>;
overlay: Nullable<ZoneOverlay>;
openWindow: Nullable<ZoneOpenWindow>;
nextScheduleChange: Nullable<ZoneStateNextScheduleChange>;
nextTimeBlock: Nullable<ZoneNextTimeBlock>;
link: ZoneLink;
activityDataPoints: ZoneActivityDataPoints;
sensorDataPoints: ZoneStateSensorDataPoints;
Expand All @@ -305,8 +305,9 @@ export type ZoneControl = {
uis: Device[];
};
};
type ZoneId = string;
export type ZoneStates = {
zoneStates: ZoneState[];
zoneStates: Record<ZoneId, ZoneState>;
};
export type HeatingCircuit = {
number: number;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-tado-client",
"version": "0.13.8",
"version": "0.14.0",
"description": "A Tado client for nodejs",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down

0 comments on commit 3def9dc

Please sign in to comment.