Skip to main content
Version: 0.17

Interface: MemoryCacheSettings<QO, TO, QB, TB, QRD, TRD>

Type parameters​

NameType
QOextends RequestOptions = RecordCacheQueryOptions
TOextends RequestOptions = RecordCacheTransformOptions
QBRecordQueryBuilder
TBRecordTransformBuilder
QRDunknown
TRDextends RecordCacheUpdateDetails = RecordCacheUpdateDetails

Hierarchy​

  • SyncRecordCacheSettings<QO, TO, QB, TB>

    ↳ MemoryCacheSettings

Properties​

autoValidate​

• Optional autoValidate: boolean

Automatically validate the contents of all requests.

If true, builds a validatorFor function if one has not been provided. This will include standard validators as well as any custom validators that may be provided.

default true

Inherited from​

SyncRecordCacheSettings.autoValidate

Defined in​

record-cache/dist/modules/record-cache.d.ts:29


base​

• Optional base: MemoryCache<QO, TO, QB, TB, QRD, TRD>

Defined in​

memory/src/memory-cache.ts:46


debounceLiveQueries​

• Optional debounceLiveQueries: boolean

Inherited from​

SyncRecordCacheSettings.debounceLiveQueries

Defined in​

record-cache/dist/modules/sync-record-cache.d.ts:18


defaultQueryOptions​

• Optional defaultQueryOptions: DefaultRequestOptions<QO>

Inherited from​

SyncRecordCacheSettings.defaultQueryOptions

Defined in​

record-cache/dist/modules/record-cache.d.ts:32


defaultTransformOptions​

• Optional defaultTransformOptions: DefaultRequestOptions<TO>

Inherited from​

SyncRecordCacheSettings.defaultTransformOptions

Defined in​

record-cache/dist/modules/record-cache.d.ts:33


inverseTransformOperators​

• Optional inverseTransformOperators: Dict<SyncInverseTransformOperator>

Inherited from​

SyncRecordCacheSettings.inverseTransformOperators

Defined in​

record-cache/dist/modules/sync-record-cache.d.ts:17


keyMap​

• Optional keyMap: RecordKeyMap

Inherited from​

SyncRecordCacheSettings.keyMap

Defined in​

record-cache/dist/modules/record-cache.d.ts:16


name​

• Optional name: string

Inherited from​

SyncRecordCacheSettings.name

Defined in​

record-cache/dist/modules/record-cache.d.ts:14


normalizer​

• Optional normalizer: RecordNormalizer<string, RecordIdentity, UninitializedRecord>

Inherited from​

SyncRecordCacheSettings.normalizer

Defined in​

record-cache/dist/modules/record-cache.d.ts:17


processors​

• Optional processors: SyncOperationProcessorClass[]

Inherited from​

SyncRecordCacheSettings.processors

Defined in​

record-cache/dist/modules/sync-record-cache.d.ts:14


queryBuilder​

• Optional queryBuilder: QB

Inherited from​

SyncRecordCacheSettings.queryBuilder

Defined in​

record-cache/dist/modules/record-cache.d.ts:30


queryOperators​

• Optional queryOperators: Dict<SyncQueryOperator>

Inherited from​

SyncRecordCacheSettings.queryOperators

Defined in​

record-cache/dist/modules/sync-record-cache.d.ts:15


schema​

• schema: RecordSchema

Inherited from​

SyncRecordCacheSettings.schema

Defined in​

record-cache/dist/modules/record-cache.d.ts:15


trackUpdateOperations​

• Optional trackUpdateOperations: boolean

Defined in​

memory/src/memory-cache.ts:47


transformBuffer​

• Optional transformBuffer: RecordTransformBuffer

Inherited from​

SyncRecordCacheSettings.transformBuffer

Defined in​

record-cache/dist/modules/sync-record-cache.d.ts:19


transformBuilder​

• Optional transformBuilder: TB

Inherited from​

SyncRecordCacheSettings.transformBuilder

Defined in​

record-cache/dist/modules/record-cache.d.ts:31


transformOperators​

• Optional transformOperators: Dict<SyncTransformOperator>

Inherited from​

SyncRecordCacheSettings.transformOperators

Defined in​

record-cache/dist/modules/sync-record-cache.d.ts:16


validatorFor​

• Optional validatorFor: ValidatorForFn<StandardValidator | StandardRecordValidator>

Inherited from​

SyncRecordCacheSettings.validatorFor

Defined in​

record-cache/dist/modules/record-cache.d.ts:18


validators​

• Optional validators: Dict<StandardValidator | StandardRecordValidator>

Inherited from​

SyncRecordCacheSettings.validators

Defined in​

record-cache/dist/modules/record-cache.d.ts:19