@@ -7,6 +7,17 @@ import { getAggBlockITC } from './AggBlock';
77import { getAvgITC } from './Metrics/Avg' ;
88import { getCardinalityITC } from './Metrics/Cardinality' ;
99import { getExtendedStatsITC } from './Metrics/ExtendedStats' ;
10+ import { getGeoBoundsITC } from './Metrics/GeoBounds' ;
11+ import { getGeoCentroidITC } from './Metrics/GeoCentroid' ;
12+ import { getMaxITC } from './Metrics/Max' ;
13+ import { getMinITC } from './Metrics/Min' ;
14+ import { getPercentileRanksITC } from './Metrics/PercentileRanks' ;
15+ import { getPercentilesITC } from './Metrics/Percentiles' ;
16+ import { getScriptedMetricITC } from './Metrics/ScriptedMetric' ;
17+ import { getStatsITC } from './Metrics/Stats' ;
18+ import { getSumITC } from './Metrics/Sum' ;
19+ import { getTopHitsITC } from './Metrics/TopHits' ;
20+ import { getValueCountITC } from './Metrics/ValueCount' ;
1021
1122export function getAggRulesITC ( opts : mixed = { } ) : InputTypeComposer {
1223 const name = getTypeName ( 'AggRules' , opts ) ;
@@ -28,6 +39,17 @@ export function getAggRulesITC(opts: mixed = {}): InputTypeComposer {
2839 avg : ( ) => getAvgITC ( opts ) ,
2940 cardinality : ( ) => getCardinalityITC ( opts ) ,
3041 extended_stats : ( ) => getExtendedStatsITC ( opts ) ,
42+ geo_bounds : ( ) => getGeoBoundsITC ( opts ) ,
43+ geo_centroid : ( ) => getGeoCentroidITC ( opts ) ,
44+ max : ( ) => getMaxITC ( opts ) ,
45+ min : ( ) => getMinITC ( opts ) ,
46+ percentile_ranks : ( ) => getPercentileRanksITC ( opts ) ,
47+ percentiles : ( ) => getPercentilesITC ( opts ) ,
48+ scripted_metric : ( ) => getScriptedMetricITC ( opts ) ,
49+ stats : ( ) => getStatsITC ( opts ) ,
50+ sum : ( ) => getSumITC ( opts ) ,
51+ top_hits : ( ) => getTopHitsITC ( opts ) ,
52+ value_count : ( ) => getValueCountITC ( opts ) ,
3153
3254 aggs : {
3355 type : ( ) => [ getAggBlockITC ( opts ) ] ,
0 commit comments