File size: 1,402 Bytes
b4143a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | export interface DriveInfo {
letter: string
mount: string
label: string
totalBytes: number
freeBytes: number
usedBytes: number
}
export interface DirEntry {
name: string
fullPath: string
isDirectory: boolean
sizeBytes: number
mtimeMs: number
error?: string
sizeTruncated?: boolean
}
export interface ProcessRow {
pid: number
name: string
memoryBytes: number
cpuSeconds?: number
commandLine?: string
}
export interface ServiceRow {
name: string
displayName: string
state: string
startType: string
}
export interface InstalledApp {
name: string
version: string
publisher: string
installLocation: string
uninstallString: string
estimatedSizeKb: number
}
export interface NetworkRow {
name: string
address: string
family: string
internal: boolean
mac?: string
}
export interface SystemSnapshot {
hostname: string
platform: string
release: string
arch: string
uptimeSec: number
totalMem: number
freeMem: number
cpuModel: string
cpuCount: number
load1: number
load5: number
load15: number
userInfo: string
homedir: string
tmpdir: string
}
export type NavId =
| 'overview'
| 'storage'
| 'filesystem'
| 'processes'
| 'services'
| 'apps'
| 'network'
| 'environment'
| 'startup'
| 'scheduled'
| 'features'
|