undo & delete games
All checks were successful
build / windows (push) Successful in 2m33s
build / linux (push) Successful in 2m3s

This commit is contained in:
2025-03-10 11:54:15 +01:00
parent b107b926a2
commit 56016d75ab
5 changed files with 56 additions and 7 deletions

View File

@ -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>;

View File

@ -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);
}