Initial commit - frontend
This commit is contained in:
45
src/types/devices.ts
Normal file
45
src/types/devices.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user