Skip to content

Commit

Permalink
api/computer: Add missing physical and virtual objects on MemoryInfo …
Browse files Browse the repository at this point in the history
…type def (#104)
  • Loading branch information
busybox11 authored Mar 5, 2024
1 parent 7eee5c2 commit 0f5de04
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/api/computer.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 0f5de04

Please sign in to comment.