import { Filter , FilterMeta } from './meta_filter' ; export type MissingFilterMeta = FilterMeta ; export type MissingFilter = Filter & { meta : MissingFilterMeta ; missing : any ; } ; export const isMissingFilter = ( filter ) : filter is MissingFilter => filter && filter . missing ; export const getMissingFilterField = ( filter ) => { return filter . missing && filter . missing . field ; } ;