Type Alias TrieSearchReducerResetData<T>

Data provided when resetting reducers.

type TrieSearchReducerResetData<T> = {
    keyFields: KeyFields;
    list: T[];
    options: TrieSearchOptions;
    phrases: string | Iterable<string>;
}

Type Parameters

  • T
Index

Properties

keyFields: KeyFields

Clone of key fields from host TrieSearch instance.

list: T[]

The output results array from TrieSearch.search.

Clone of options from host TrieSearch instance.

phrases: string | Iterable<string>

The phrases being searched; not lowercase if TrieSearchOptions.ignoreCase is true.