45 lines
1014 B
TypeScript
45 lines
1014 B
TypeScript
// src/types/devices.ts
|
|
export interface DriveInfo {
|
|
name: string;
|
|
driveType: string;
|
|
totalSizeGB: number;
|
|
freeSpaceGB: number;
|
|
}
|
|
|
|
export interface IpAddress {
|
|
interfaceName: string;
|
|
ipAddress: string;
|
|
}
|
|
|
|
export interface MacAddress {
|
|
interfaceName: string;
|
|
macAddress: string;
|
|
}
|
|
|
|
export interface InstalledApp {
|
|
app_name: string;
|
|
app_version: string;
|
|
publisher: string;
|
|
}
|
|
|
|
export interface DetailedDevice {
|
|
deviceId: number;
|
|
hostname: string;
|
|
osName: string;
|
|
osVersion: string;
|
|
windowsVersion: string;
|
|
windowsBuild: string;
|
|
osArchitecture: string;
|
|
processorName: string;
|
|
processorArchitecture: string;
|
|
gpuNames: string[];
|
|
totalMemory: string;
|
|
lastBootTime: string;
|
|
lastCheckedIn: string;
|
|
drives: DriveInfo[];
|
|
ipAddresses: IpAddress[];
|
|
macAddresses: MacAddress[];
|
|
installedApplications: InstalledApp[];
|
|
clientName?: string;
|
|
}
|
|
|