@coveo/headless-react
    Preparing search index...

    Type Alias SortByField

    Uses the value of a specific sortable field to sort the query results. May be in ascending or descending order.

    type SortByField = {
        by: Field;
        field: string;
        order: SortOrder;
    }
    Index

    Properties

    Properties

    by: Field
    field: string
    order: SortOrder