import { BoxrecCommonTablesColumnsClass } from "../boxrec-common-tables/boxrec-common-tables-columns.class" ; import { BoxrecCommonTableHeader , getColumnDataByColumnHeader } from "../helpers" ; constructor export function RatingGetter ( ) { return target => { Object . defineProperty ( target . prototype , "rating" , { get ( ) { return BoxrecCommonTablesColumnsClass . parseRating ( getColumnDataByColumnHeader ( this . $ , this . headerColumns , BoxrecCommonTableHeader . rating , true ) ) ; } , } ) ; } ; } export interface RatingInterface { readonly rating : number | null ; }