Skip to content

Commit b33231a

Browse files
fix(app): regenerate bindings
1 parent 17ab71b commit b33231a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

apps/desktop/src/bindings.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ export const cmd = {
154154
return invoke("cmd.list_remote_peers");
155155
},
156156

157+
/** @throws {string} */
158+
list_paired_devices(): Promise<PairedDevice[]> {
159+
return invoke("cmd.list_paired_devices");
160+
},
161+
157162
/** @throws {string} */
158163
list_dmx_devices(): Promise<DmxDeviceInfo[]> {
159164
return invoke("cmd.list_dmx_devices");
@@ -292,6 +297,15 @@ export type LuxLabelColor = "Red" | "Green" | "Blue" | "Amber" | "White" | "Brig
292297
/** Raw universe channels (7..=512) with no fixed colour role. */
293298
"Generic";
294299

300+
/**
301+
* One paired headless device (a lux-node box) on the account, thinned from
302+
* [`lux_wire::device::DeviceRecord`] to what the confirm dialog shows.
303+
*/
304+
export type PairedDevice = {
305+
name: string,
306+
hostname: string,
307+
};
308+
295309
/**
296310
* How the current session was established. Password sessions can change
297311
* their password and re-auth by SRP; Apple sessions re-auth by sheet. Stored

0 commit comments

Comments
 (0)