feat(database): add gearTxt field to parsed results and update related functions
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user