Interface ConstructorOptions<ItemType>

Constructor options of all in-memory store variants.

Type Parameters

  • ItemType

Hierarchy

  • ConstructorOptions

Properties

data?: ItemType[]

The array of items, on which the store is working.

id?: string

Id of the store.

idProperty?: string

Name of the idProperty. Default is "id"

metadata?: Partial<Metadata>

The metadata of the store instance.

suggestContains?: boolean

Flag if $suggest searches are interpreted as contains inside value. Default is true.

Generated using TypeDoc