removed app, reorganized logic into modules

This commit is contained in:
2025-03-24 15:09:27 -05:00
parent 44480bd30a
commit 1458f99c3d
11 changed files with 116 additions and 109 deletions
@@ -1,6 +1,7 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {context} from '../models';
export function DirectoryPicker():Promise<string>;
export function GetLibraryDir():Promise<string>;
export function Init(arg1:context.Context):Promise<void>;
+11
View File
@@ -0,0 +1,11 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function DirectoryPicker() {
return window['go']['frontendbindings']['FrontendBindings']['DirectoryPicker']();
}
export function Init(arg1) {
return window['go']['frontendbindings']['FrontendBindings']['Init'](arg1);
}
+7
View File
@@ -0,0 +1,7 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import {context} from '../models';
export function GetDir():Promise<string>;
export function Init(arg1:context.Context):Promise<void>;
+11
View File
@@ -0,0 +1,11 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function GetDir() {
return window['go']['library']['Library']['GetDir']();
}
export function Init(arg1) {
return window['go']['library']['Library']['Init'](arg1);
}
-11
View File
@@ -1,11 +0,0 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function DirectoryPicker() {
return window['go']['main']['App']['DirectoryPicker']();
}
export function GetLibraryDir() {
return window['go']['main']['App']['GetLibraryDir']();
}