import { buildProcessorFunction } from '../build_processor_function' ; import { query , pivot , splitByTerms , applyFilters , dateHistogram , metricBuckets , siblingBuckets , filterRatios , positiveRate , normalizeQuery , } from '../request_processors/table' ; import type { TableRequestProcessorsFunction , TableRequestProcessorsParams , TableSearchRequest , } from '../request_processors/table/types' ; export function buildTableRequest ( params ) { const processor = buildProcessorFunction < TableRequestProcessorsFunction , TableRequestProcessorsParams , TableSearchRequest > ( [ query , pivot , splitByTerms , dateHistogram , metricBuckets , siblingBuckets , filterRatios , positiveRate , applyFilters , normalizeQuery , ] , params ) ; return processor ( { } ) ; }