feat(database): add gearTxt field to parsed results and update related functions

This commit is contained in:
kever
2026-02-17 22:42:59 +08:00
parent 5dba3d9930
commit 8c4c4e77d7
13 changed files with 658 additions and 226 deletions

View File

@@ -321,6 +321,7 @@ export namespace model {
export class ParsedResult {
items: any[];
heroes: any[];
geartxt: string;
static createFrom(source: any = {}) {
return new ParsedResult(source);
@@ -330,6 +331,7 @@ export namespace model {
if ('string' === typeof source) source = JSON.parse(source);
this.items = source["items"];
this.heroes = source["heroes"];
this.geartxt = source["geartxt"];
}
}
export class ParsedSession {