update api

This commit is contained in:
frostime 2023-08-15 11:06:33 +08:00
parent b7f633598f
commit 548f80a46f
2 changed files with 52 additions and 0 deletions

14
src/types/api.d.ts vendored
View file

@ -30,6 +30,7 @@ interface IResGetTemplates {
interface IResReadDir {
isDir: boolean;
isSymlink: boolean;
name: string;
}
@ -43,3 +44,16 @@ interface IResBootProgress {
details: string;
}
interface IResForwardProxy {
body: string;
contentType: string;
elapsed: number;
headers: { [key: string]: string };
status: number;
url: string;
}
interface IResExportResources {
path: string;
}