Type alias AggregationFields<T>
AggregationFields<T>: {
[key: string]: {
field: keyof T["pureSort"];
operation: "sum" | "avg" | "min" | "max";
} | {
field?: keyof T["pureSort"];
operation: "count";
};
}
Type declaration
-
[key: string]: {
field: keyof T["pureSort"];
operation: "sum" | "avg" | "min" | "max";
} | {
field?: keyof T["pureSort"];
operation: "count";
}