Triangle.js Docs
    Preparing search index...

    Type Alias QueryParams

    QueryParams: ({ after?: string } | { before?: string }) & {
        country?: string;
        limit?: number;
    }

    Type Declaration

    • { after?: string }
      • Optionalafter?: string

        The upper bound. Use this to paginate downwards: take the lowest seen prisecter and pass that back through this field to continue scrolling.

    • { before?: string }
      • Optionalbefore?: string

        The lower bound. Use this to paginate upwards: take the highest seen prisecter and pass that back through this field to continue scrolling. If set, the search order is reversed (returning the lowest items that match the query)

    • Optionalcountry?: string

      The ISO 3166-1 country code to filter to. Leave unset to not filter by country.

    • Optionallimit?: number

      The amount of entries to return, between 1 and 100. 50 by default.