|
1 | 1 | export type WifiEntry = { |
2 | | - ssid: string | null; |
3 | | - bssid: string; // MAC address as string |
4 | | - age?: number; // ms, optional |
5 | | - channel_info: { |
6 | | - frequency_mhz: number; |
7 | | - channel: number | null; |
8 | | - bandwidth_mhz?: number; |
9 | | - }; |
10 | | - radioType: string[]; // array of PHY type strings |
11 | | - signalStrength: number; |
12 | | - wifi_security: { |
13 | | - version: string | null; |
14 | | - group_cipher?: string | null; |
15 | | - pairwise_ciphers?: string[]; |
16 | | - auth_suites?: string[]; |
17 | | - mfp?: string | null; |
18 | | - }; |
19 | | - capabilities?: string[]; |
| 2 | + ssid: string | null; |
| 3 | + bssid: string; // MAC address as string |
| 4 | + age?: number; // ms, optional |
| 5 | + channel_info: { |
| 6 | + frequency_mhz: number; |
| 7 | + channel: number | null; |
| 8 | + bandwidth_mhz?: number; |
| 9 | + }; |
| 10 | + radioType: string[]; // array of PHY type strings |
| 11 | + signalStrength: number; |
| 12 | + wifi_security: { |
| 13 | + version: string | null; |
| 14 | + group_cipher?: string | null; |
| 15 | + pairwise_ciphers?: string[]; |
| 16 | + auth_suites?: string[]; |
| 17 | + mfp?: string | null; |
| 18 | + }; |
| 19 | + capabilities?: string[]; |
20 | 20 | }; |
21 | 21 |
|
22 | 22 | export type BtEntry = { |
23 | | - name: string | null; |
24 | | - address: string; |
25 | | - rssi: number | null; |
26 | | - uuids: string[]; |
27 | | - lastSeen?: number; // timestamp in ms |
| 23 | + name: string | null; |
| 24 | + address: string; |
| 25 | + rssi: number | null; |
| 26 | + uuids: string[]; |
| 27 | + lastSeen?: number; // timestamp in ms |
28 | 28 | }; |
29 | 29 |
|
30 | 30 | export type LogItem = { |
31 | | - id: string; |
32 | | - ts: string; |
33 | | - level: "info" | "warn" | "error" | "debug"; |
34 | | - msg: string; |
| 31 | + id: string; |
| 32 | + ts: string; |
| 33 | + level: "info" | "warn" | "error" | "debug"; |
| 34 | + msg: string; |
35 | 35 | }; |
36 | 36 |
|
37 | 37 | export type AppSettings = { |
38 | | - logLevel: "info" | "warn" | "error" | "debug"; |
39 | | - testMode: boolean; |
40 | | - showVisualization: boolean; |
41 | | - visualizationBand: "2.4GHz" | "5GHz"; |
| 38 | + logLevel: "info" | "warn" | "error" | "debug"; |
| 39 | + testMode: boolean; |
| 40 | + showVisualization: boolean; |
| 41 | + visualizationBand: "2.4GHz" | "5GHz"; |
42 | 42 | }; |
0 commit comments