feat: Allow updation of award catalog

This commit is contained in:
2026-07-14 16:22:54 +02:00
parent 1f0f75baf8
commit 4fe0405432
6 changed files with 188 additions and 2 deletions
+18
View File
@@ -1412,6 +1412,24 @@ export namespace main {
return a;
}
}
export class AwardUpdate {
code: string;
name: string;
from: number;
to: number;
static createFrom(source: any = {}) {
return new AwardUpdate(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.code = source["code"];
this.name = source["name"];
this.from = source["from"];
this.to = source["to"];
}
}
export class BackupSettings {
enabled: boolean;
folder: string;