minimal ui

This commit is contained in:
2025-02-03 19:07:21 +01:00
parent 87b3d32901
commit 7dfe0b06aa
6 changed files with 149 additions and 14 deletions

19
frontend/wailsjs/go/models.ts Executable file
View File

@ -0,0 +1,19 @@
export namespace things {
export class Thing {
ID: number;
Name: string;
static createFrom(source: any = {}) {
return new Thing(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.ID = source["ID"];
this.Name = source["Name"];
}
}
}