feat: finished basic functio
This commit is contained in:
7
frontend/wailsjs/go/main/App.d.ts
vendored
7
frontend/wailsjs/go/main/App.d.ts
vendored
@@ -1,4 +1,9 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {main} from '../models';
|
||||
|
||||
export function Greet(arg1:string):Promise<string>;
|
||||
export function ProcessFiles(arg1:Array<main.NcmFile>,arg2:string):Promise<void>;
|
||||
|
||||
export function SelectFiles():Promise<Array<string>>;
|
||||
|
||||
export function SelectFolder():Promise<string>;
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function Greet(arg1) {
|
||||
return window['go']['main']['App']['Greet'](arg1);
|
||||
export function ProcessFiles(arg1, arg2) {
|
||||
return window['go']['main']['App']['ProcessFiles'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function SelectFiles() {
|
||||
return window['go']['main']['App']['SelectFiles']();
|
||||
}
|
||||
|
||||
export function SelectFolder() {
|
||||
return window['go']['main']['App']['SelectFolder']();
|
||||
}
|
||||
|
||||
19
frontend/wailsjs/go/models.ts
Executable file
19
frontend/wailsjs/go/models.ts
Executable file
@@ -0,0 +1,19 @@
|
||||
export namespace main {
|
||||
|
||||
export class NcmFile {
|
||||
Name: string;
|
||||
Status: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new NcmFile(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.Name = source["Name"];
|
||||
this.Status = source["Status"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user