start on matches

This commit is contained in:
2025-02-10 09:51:43 +01:00
parent 6cfea2e8dc
commit 8b5bb78764
10 changed files with 159 additions and 62 deletions

View File

@ -4,10 +4,14 @@ import {model} from '../models';
export function DeleteParticipat(arg1:model.Participant):Promise<void>;
export function ExportTournament(arg1:model.Tournament):Promise<void>;
export function FillRandom(arg1:model.Tournament):Promise<void>;
export function GetGames():Promise<Array<model.Game>>;
export function GetMatches(arg1:number):Promise<Array<any>>;
export function GetParticipants():Promise<Array<model.Participant>>;
export function GetTournament(arg1:number):Promise<model.Tournament>;
@ -19,3 +23,5 @@ export function RemoveParticipantFromTournament(arg1:model.Participant,arg2:mode
export function SaveParticipant(arg1:model.Participant):Promise<void>;
export function SaveTournament(arg1:model.Tournament):Promise<void>;
export function StartTournament(arg1:model.Tournament):Promise<void>;

View File

@ -6,6 +6,10 @@ export function DeleteParticipat(arg1) {
return window['go']['main']['App']['DeleteParticipat'](arg1);
}
export function ExportTournament(arg1) {
return window['go']['main']['App']['ExportTournament'](arg1);
}
export function FillRandom(arg1) {
return window['go']['main']['App']['FillRandom'](arg1);
}
@ -14,6 +18,10 @@ export function GetGames() {
return window['go']['main']['App']['GetGames']();
}
export function GetMatches(arg1) {
return window['go']['main']['App']['GetMatches'](arg1);
}
export function GetParticipants() {
return window['go']['main']['App']['GetParticipants']();
}
@ -37,3 +45,7 @@ export function SaveParticipant(arg1) {
export function SaveTournament(arg1) {
return window['go']['main']['App']['SaveTournament'](arg1);
}
export function StartTournament(arg1) {
return window['go']['main']['App']['StartTournament'](arg1);
}