import { flow } from 'lodash' ; import { filterAnnotations } from './filter' ; import { getAnnotationBuckets } from './buckets' ; export const handleAnnotationResponse = ( timestamp ? ) => flow ( getAnnotationBuckets , filterAnnotations ( timestamp ) ) ;