import { Filter , isMissingFilter , FILTERS } from '../../../../../common' ; export const mapMissing = ( filter ) => { if ( isMissingFilter ( filter ) ) { return { type : FILTERS . MISSING , value : FILTERS . MISSING , key : filter . missing . field , } ; } throw filter ; } ;