initial commit with first running version
This commit is contained in:
commit
326895fb51
25 changed files with 2349 additions and 0 deletions
19
frontend/wailsjs/go/main/App.d.ts
vendored
Executable file
19
frontend/wailsjs/go/main/App.d.ts
vendored
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {main} from '../models';
|
||||
|
||||
export function AddBewertung(arg1:string,arg2:string,arg3:number,arg4:number):Promise<boolean>;
|
||||
|
||||
export function ExportBewertungen(arg1:string):Promise<void>;
|
||||
|
||||
export function GetBewertungen():Promise<Array<main.Bewertung>>;
|
||||
|
||||
export function GetMaxPunkte():Promise<main.MaxPunkte>;
|
||||
|
||||
export function GetNotenspiegel():Promise<{[key: number]: number}>;
|
||||
|
||||
export function OpenSaveDialog():Promise<string>;
|
||||
|
||||
export function SetMaxPunkte(arg1:number,arg2:number,arg3:number,arg4:number):Promise<boolean>;
|
||||
|
||||
export function ToggleWertung(arg1:number):Promise<main.Bewertung>;
|
||||
35
frontend/wailsjs/go/main/App.js
Executable file
35
frontend/wailsjs/go/main/App.js
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function AddBewertung(arg1, arg2, arg3, arg4) {
|
||||
return window['go']['main']['App']['AddBewertung'](arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
export function ExportBewertungen(arg1) {
|
||||
return window['go']['main']['App']['ExportBewertungen'](arg1);
|
||||
}
|
||||
|
||||
export function GetBewertungen() {
|
||||
return window['go']['main']['App']['GetBewertungen']();
|
||||
}
|
||||
|
||||
export function GetMaxPunkte() {
|
||||
return window['go']['main']['App']['GetMaxPunkte']();
|
||||
}
|
||||
|
||||
export function GetNotenspiegel() {
|
||||
return window['go']['main']['App']['GetNotenspiegel']();
|
||||
}
|
||||
|
||||
export function OpenSaveDialog() {
|
||||
return window['go']['main']['App']['OpenSaveDialog']();
|
||||
}
|
||||
|
||||
export function SetMaxPunkte(arg1, arg2, arg3, arg4) {
|
||||
return window['go']['main']['App']['SetMaxPunkte'](arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
export function ToggleWertung(arg1) {
|
||||
return window['go']['main']['App']['ToggleWertung'](arg1);
|
||||
}
|
||||
57
frontend/wailsjs/go/models.ts
Executable file
57
frontend/wailsjs/go/models.ts
Executable file
|
|
@ -0,0 +1,57 @@
|
|||
export namespace main {
|
||||
|
||||
export class Bewertung {
|
||||
vorname: string;
|
||||
nachname: string;
|
||||
id: number;
|
||||
hvPunkte: number;
|
||||
hvProzent: number;
|
||||
hvNote: number;
|
||||
lvPunkte: number;
|
||||
lvProzent: number;
|
||||
lvNote: number;
|
||||
gesamtProzent: number;
|
||||
gesamtNote: number;
|
||||
gewertet: boolean;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Bewertung(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.vorname = source["vorname"];
|
||||
this.nachname = source["nachname"];
|
||||
this.id = source["id"];
|
||||
this.hvPunkte = source["hvPunkte"];
|
||||
this.hvProzent = source["hvProzent"];
|
||||
this.hvNote = source["hvNote"];
|
||||
this.lvPunkte = source["lvPunkte"];
|
||||
this.lvProzent = source["lvProzent"];
|
||||
this.lvNote = source["lvNote"];
|
||||
this.gesamtProzent = source["gesamtProzent"];
|
||||
this.gesamtNote = source["gesamtNote"];
|
||||
this.gewertet = source["gewertet"];
|
||||
}
|
||||
}
|
||||
export class MaxPunkte {
|
||||
hvMax: number;
|
||||
lvMax: number;
|
||||
hvGewichtung: number;
|
||||
lvGewichtung: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new MaxPunkte(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.hvMax = source["hvMax"];
|
||||
this.lvMax = source["lvMax"];
|
||||
this.hvGewichtung = source["hvGewichtung"];
|
||||
this.lvGewichtung = source["lvGewichtung"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue