This object allows specifying available aggregation functions for all fields of a certain type.
aggregations: { date: string[], number: string[], string: string[], time: string[] }
Here is an example of defining available aggregations for fields of a certain type:
dataSource: { filename: "data.json", mapping: { aggregations: { number: [ "sum", "average" ], date: [ "max", "min" ], string: [ "count", "distinctcount" ] }, // Other mapping configs } }Live example