simple POC
All checks were successful
build / windows (push) Successful in 5m37s
build / linux (push) Successful in 4m20s

This commit is contained in:
2025-03-10 11:25:38 +01:00
parent 037b593c6b
commit b107b926a2
17 changed files with 364 additions and 210 deletions

View File

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

View File

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