@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Type Alias ExplicitAggregationField

    ExplicitAggregationField:
        | { verb: "count" }
        | { field: string; verb: "sum" }
        | { field: string; verb: "average" }

    Definition for an aggregation query field

    Type Declaration

    • { verb: "count" }
      • verb: "count"

        The action to perform on the field

    • { field: string; verb: "sum" }
      • field: string

        Field to compute the verb across the queried documents

      • verb: "sum"

        The action to perform on the field

    • { field: string; verb: "average" }
      • field: string

        Field to compute the verb across the queried documents

      • verb: "average"

        The action to perform on the field