diff --git a/packages/client-api/src/providers/disk/disk-provider-types.ts b/packages/client-api/src/providers/disk/disk-provider-types.ts index a8b7bf7d..c814bc7c 100644 --- a/packages/client-api/src/providers/disk/disk-provider-types.ts +++ b/packages/client-api/src/providers/disk/disk-provider-types.ts @@ -15,8 +15,8 @@ export interface Disk { name: string; fileSystem: string; mountPoint: string; - totalSpace: number; - availableSpace: number; + totalSpace: DiskSizeMeasure; + availableSpace: DiskSizeMeasure; isRemovable: boolean; diskType: string; } @@ -24,3 +24,11 @@ export interface Disk { export interface DiskOutput { disks: Disk[]; } + +export interface DiskSizeMeasure { + bytes: number; + siValue: number; + siUnit: string; + iecValue: number; + iecUnit: string; +}