IndexField
deprecatedA single field element in an index configuration.
@deprecated
Instead of creating cache indexes manually, consider using
enablePersistentCacheIndexAutoCreation()
to let the SDK decide whether to
create cache indexes for queries running locally.
interface IndexField {
[key: string]: unknown;
readonly arrayConfig?: "CONTAINS";
readonly fieldPath: string;
readonly order?: "ASCENDING" | "DESCENDING";
}