Variable: aggregateFnSchema
const aggregateFnSchema: ZodEnum<{
avg: "avg";
count: "count";
max: "max";
min: "min";
sum: "sum";
}>;Defined in: shared/insights/types/definition.ts:35
Aggregate functions supported by the governed query engine. count
needs no field (it counts rows); the rest require a numeric-compatible
field (number/money), enforced semantically in validateDefinition.