import { BoxrecCommonTablesColumnsClass } from "../boxrec-common-tables/boxrec-common-tables-columns.class" ; import { WeightDivision } from "../boxrec-pages/champions/boxrec.champions.constants" ; import { BoxrecCommonTableHeader , getColumnDataByColumnHeader } from "../helpers" ; constructor export function DivisionGetter ( ) { return target => { Object . defineProperty ( target . prototype , "division" , { get ( ) { return BoxrecCommonTablesColumnsClass . parseDivision ( getColumnDataByColumnHeader ( this . $ , this . headerColumns , BoxrecCommonTableHeader . division , false ) ) ; } , } ) ; } ; } export interface DivisionInterface { readonly division : WeightDivision | null ; }