A result of a query. Queries can have many results. Each result is created by a provider.

interface Result {
    payload: object;
    source: SourceType;
    suggestedIndex?: number;
    type: ResultType;
}
Index
payload: object

An object with arbitrary properties depending on the result's type.

source: SourceType

The result's source.

suggestedIndex?: number

Suggest a preferred position for this result within the result set.

The result's type.