2023-05-03 23:38:54 +08:00
|
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
|
|
// This file is automatically generated. DO NOT EDIT
|
2023-05-13 23:36:30 +08:00
|
|
|
import {backend_golang} from '../models';
|
2023-05-03 23:38:54 +08:00
|
|
|
|
2023-05-20 13:00:08 +08:00
|
|
|
export function AddToDownloadList(arg1:string,arg2:string):Promise<void>;
|
|
|
|
|
2023-11-29 14:05:58 +08:00
|
|
|
export function CloseMidiPort():Promise<void>;
|
|
|
|
|
2023-05-20 13:46:33 +08:00
|
|
|
export function ContinueDownload(arg1:string):Promise<void>;
|
|
|
|
|
2023-07-03 17:41:47 +08:00
|
|
|
export function ConvertData(arg1:string,arg2:string,arg3:string,arg4:string):Promise<string>;
|
|
|
|
|
2023-12-12 20:29:55 +08:00
|
|
|
export function ConvertGGML(arg1:string,arg2:string,arg3:string,arg4:boolean):Promise<string>;
|
|
|
|
|
2023-05-31 15:45:26 +08:00
|
|
|
export function ConvertModel(arg1:string,arg2:string,arg3:string,arg4:string):Promise<string>;
|
2023-05-17 21:20:41 +08:00
|
|
|
|
2023-12-07 23:26:39 +08:00
|
|
|
export function ConvertSafetensors(arg1:string,arg2:string):Promise<string>;
|
2023-08-16 23:07:58 +08:00
|
|
|
|
2023-05-23 14:04:06 +08:00
|
|
|
export function CopyFile(arg1:string,arg2:string):Promise<void>;
|
|
|
|
|
2023-05-20 10:52:25 +08:00
|
|
|
export function DeleteFile(arg1:string):Promise<void>;
|
|
|
|
|
2023-05-31 15:45:26 +08:00
|
|
|
export function DepCheck(arg1:string):Promise<void>;
|
2023-05-20 23:34:33 +08:00
|
|
|
|
2023-05-13 20:15:18 +08:00
|
|
|
export function DownloadFile(arg1:string,arg2:string):Promise<void>;
|
|
|
|
|
|
|
|
export function FileExists(arg1:string):Promise<boolean>;
|
|
|
|
|
2023-05-20 23:34:33 +08:00
|
|
|
export function GetPlatform():Promise<string>;
|
|
|
|
|
2023-07-07 20:16:35 +08:00
|
|
|
export function GetPyError():Promise<string>;
|
|
|
|
|
2023-05-31 15:45:26 +08:00
|
|
|
export function InstallPyDep(arg1:string,arg2:boolean):Promise<string>;
|
2023-05-20 23:34:33 +08:00
|
|
|
|
2023-11-03 21:18:42 +08:00
|
|
|
export function IsPortAvailable(arg1:number):Promise<boolean>;
|
|
|
|
|
2023-05-13 23:36:30 +08:00
|
|
|
export function ListDirFiles(arg1:string):Promise<Array<backend_golang.FileInfo>>;
|
|
|
|
|
2023-07-03 17:41:47 +08:00
|
|
|
export function MergeLora(arg1:string,arg2:boolean,arg3:number,arg4:string,arg5:string,arg6:string):Promise<string>;
|
|
|
|
|
2023-06-14 21:11:08 +08:00
|
|
|
export function OpenFileFolder(arg1:string,arg2:boolean):Promise<void>;
|
2023-05-13 23:36:30 +08:00
|
|
|
|
2023-11-29 14:05:58 +08:00
|
|
|
export function OpenMidiPort(arg1:number):Promise<void>;
|
|
|
|
|
2023-10-27 11:36:29 +08:00
|
|
|
export function OpenOpenFileDialog(arg1:string):Promise<string>;
|
|
|
|
|
2023-06-16 00:12:13 +08:00
|
|
|
export function OpenSaveFileDialog(arg1:string,arg2:string,arg3:string):Promise<string>;
|
|
|
|
|
2023-07-28 12:30:05 +08:00
|
|
|
export function OpenSaveFileDialogBytes(arg1:string,arg2:string,arg3:Array<number>):Promise<string>;
|
|
|
|
|
2023-05-20 13:46:33 +08:00
|
|
|
export function PauseDownload(arg1:string):Promise<void>;
|
|
|
|
|
2023-11-29 19:04:41 +08:00
|
|
|
export function PlayNote(arg1:backend_golang.MIDIMessage):Promise<void>;
|
|
|
|
|
2023-05-13 23:36:30 +08:00
|
|
|
export function ReadFileInfo(arg1:string):Promise<backend_golang.FileInfo>;
|
2023-05-13 20:15:18 +08:00
|
|
|
|
|
|
|
export function ReadJson(arg1:string):Promise<any>;
|
|
|
|
|
2023-06-20 22:22:14 +08:00
|
|
|
export function RestartApp():Promise<void>;
|
|
|
|
|
2023-12-12 22:13:09 +08:00
|
|
|
export function SaveFile(arg1:string,arg2:Array<number>):Promise<void>;
|
|
|
|
|
2023-05-13 20:15:18 +08:00
|
|
|
export function SaveJson(arg1:string,arg2:any):Promise<void>;
|
2023-05-06 23:39:23 +08:00
|
|
|
|
2023-12-12 22:13:09 +08:00
|
|
|
export function StartFile(arg1:string):Promise<void>;
|
|
|
|
|
2023-12-12 20:29:55 +08:00
|
|
|
export function StartServer(arg1:string,arg2:number,arg3:string,arg4:boolean,arg5:boolean,arg6:boolean):Promise<string>;
|
2023-05-17 23:27:52 +08:00
|
|
|
|
2023-08-16 23:07:58 +08:00
|
|
|
export function StartWebGPUServer(arg1:number,arg2:string):Promise<string>;
|
|
|
|
|
2023-05-17 23:27:52 +08:00
|
|
|
export function UpdateApp(arg1:string):Promise<boolean>;
|
2023-07-03 17:41:47 +08:00
|
|
|
|
|
|
|
export function WslCommand(arg1:string):Promise<void>;
|
|
|
|
|
|
|
|
export function WslEnable(arg1:boolean):Promise<void>;
|
|
|
|
|
|
|
|
export function WslInstallUbuntu():Promise<void>;
|
|
|
|
|
|
|
|
export function WslIsEnabled():Promise<void>;
|
|
|
|
|
|
|
|
export function WslStart():Promise<void>;
|
|
|
|
|
|
|
|
export function WslStop():Promise<void>;
|