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