UNPKG

dbmaster-cli

Version:

Tool for converting tables between Fifa Soccer Games

20 lines (19 loc) 659 B
import { AttributeByGender, Fifa, PersonAttribute } from '../interfaces'; declare type PersonAttributesByGender = { [key: string]: AttributeByGender; }; export declare class PersonExtractor { private config; constructor(targetFifa: Fifa); getAttributes(inputFolder: string): Promise<PersonAttributesByGender>; getAttribute(inputFolder: string, attribute: PersonAttribute): Promise<AttributeByGender>; private getGroupedAttribute; private groupedAttribute; private filterAttribute; private readTable; private filterByHeadClassFn; private filterByGenderFn; private reduceFn; private mergeTables; } export {};