IndexDefinition
API reference for IndexDefinition
Interface: IndexDefinition
Section titled “Interface: IndexDefinition”Index definition for store configuration
Indexable
Section titled “Indexable”[key
: string
]: unknown
Properties
Section titled “Properties”fields
Section titled “fields”fields:
string
[]
name:
string
sparse?
Section titled “sparse?”
optional
sparse:boolean
optional
type:string
unique?
Section titled “unique?”
optional
unique:boolean