Type alias AggregationFields<T>

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

Type Parameters

Type declaration

  • [key: string]: {
        field: keyof T["pureSort"];
        operation: "sum" | "avg" | "min" | "max";
    } | {
        field?: keyof T["pureSort"];
        operation: "count";
    }

Generated using TypeDoc