generated from schreifuchs/wails-template
simple POC
This commit is contained in:
11
frontend/wailsjs/go/main/App.d.ts
vendored
11
frontend/wailsjs/go/main/App.d.ts
vendored
@ -1,4 +1,15 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {model} from '../models';
|
||||
|
||||
export function GetGame(arg1:number):Promise<model.Game>;
|
||||
|
||||
export function GetGames():Promise<Array<model.Game>>;
|
||||
|
||||
export function GetLastGameID():Promise<number>;
|
||||
|
||||
export function Greet(arg1:string):Promise<string>;
|
||||
|
||||
export function NewGame():Promise<number>;
|
||||
|
||||
export function SaveStep(arg1:model.Step):Promise<void>;
|
||||
|
@ -2,6 +2,26 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function GetGame(arg1) {
|
||||
return window['go']['main']['App']['GetGame'](arg1);
|
||||
}
|
||||
|
||||
export function GetGames() {
|
||||
return window['go']['main']['App']['GetGames']();
|
||||
}
|
||||
|
||||
export function GetLastGameID() {
|
||||
return window['go']['main']['App']['GetLastGameID']();
|
||||
}
|
||||
|
||||
export function Greet(arg1) {
|
||||
return window['go']['main']['App']['Greet'](arg1);
|
||||
}
|
||||
|
||||
export function NewGame() {
|
||||
return window['go']['main']['App']['NewGame']();
|
||||
}
|
||||
|
||||
export function SaveStep(arg1) {
|
||||
return window['go']['main']['App']['SaveStep'](arg1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user