Fully implement settings

This commit is contained in:
2024-08-09 22:19:50 +02:00
parent 7b6108d0dd
commit 8119775084
16 changed files with 235 additions and 22 deletions

View File

@@ -92,6 +92,20 @@ export namespace main {
return a;
}
}
export class WailsGenericAck {
success: boolean;
error?: string;
static createFrom(source: any = {}) {
return new WailsGenericAck(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.success = source["success"];
this.error = source["error"];
}
}
export class WailsPer100 {
data: number;
success: boolean;