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