feat: add GetManPage function and integrate parent process name in ProcessDetail
This commit is contained in:
2
frontend/wailsjs/go/main/App.d.ts
vendored
2
frontend/wailsjs/go/main/App.d.ts
vendored
@@ -3,6 +3,8 @@
|
||||
import {backend} from '../models';
|
||||
import {context} from '../models';
|
||||
|
||||
export function GetManPage(arg1:string):Promise<string>;
|
||||
|
||||
export function GetMetrics():Promise<backend.Metrics>;
|
||||
|
||||
export function GetProcessDetail(arg1:number):Promise<backend.ProcessDetail>;
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function GetManPage(arg1) {
|
||||
return window['go']['main']['App']['GetManPage'](arg1);
|
||||
}
|
||||
|
||||
export function GetMetrics() {
|
||||
return window['go']['main']['App']['GetMetrics']();
|
||||
}
|
||||
|
||||
@@ -96,6 +96,7 @@ export namespace backend {
|
||||
username: string;
|
||||
created_at: number;
|
||||
parent_pid: number;
|
||||
parent_name: string;
|
||||
nice: number;
|
||||
num_threads: number;
|
||||
num_fds: number;
|
||||
@@ -126,6 +127,7 @@ export namespace backend {
|
||||
this.username = source["username"];
|
||||
this.created_at = source["created_at"];
|
||||
this.parent_pid = source["parent_pid"];
|
||||
this.parent_name = source["parent_name"];
|
||||
this.nice = source["nice"];
|
||||
this.num_threads = source["num_threads"];
|
||||
this.num_fds = source["num_fds"];
|
||||
|
||||
Reference in New Issue
Block a user