From 0f5de0457382a1b07ef2f50ed4b646537dcbbb16 Mon Sep 17 00:00:00 2001 From: busybox <29630035+busybox11@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:35:58 +0100 Subject: [PATCH] api/computer: Add missing physical and virtual objects on MemoryInfo type def (#104) --- src/api/computer.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/api/computer.ts b/src/api/computer.ts index b498db6..7c9773b 100644 --- a/src/api/computer.ts +++ b/src/api/computer.ts @@ -1,8 +1,14 @@ import { sendMessage } from '../ws/websocket'; export interface MemoryInfo { - total: number; - available: number; + physical: { + total: number; + available: number; + }, + virtual: { + total: number; + available: number; + } } export interface KernelInfo {