@piarre/ts-freebox
Version:
19 lines (16 loc) • 369 B
text/typescript
import band from './band.mjs';
/**
* Get the global wifi state
*/
interface state {
/** enabled or disabled */
state: "enabled" | "disabled" | "disabled_planning";
/** list of all wifi cards */
expected_phys: expectedPhys[];
}
interface expectedPhys {
band: keyof typeof band;
phy_id: number;
detected: boolean;
}
export type { state };