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