Skip to content

Commit 0fd9118

Browse files
committed
refactor: typing improvements
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
1 parent b5fd4b6 commit 0fd9118

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/typings/klipper.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ declare namespace Klipper {
438438
export interface ProbeState {
439439
name?: string;
440440
last_query: number;
441-
last_z_result: number;
441+
last_z_result?: number;
442+
last_probe_position?: [number, number, number];
442443
}
443444

444445
export interface PwmCycleTimeState {

src/typings/moonraker.authorization.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ declare namespace Moonraker.Authorization {
22
export interface InfoResponse {
33
default_source: string;
44
available_sources: string[];
5+
login_required: boolean;
6+
trusted: boolean;
57
}
68

79
export interface RefreshJwtResponse {

0 commit comments

Comments
 (0)