Skip to main content
Version: 0.17

Interface: RecordCacheSettings<QueryOptions, TransformOptions, QueryBuilder, TransformBuilder>

Type parameters​

NameType
QueryOptionsextends RequestOptions = RecordCacheQueryOptions
TransformOptionsextends RequestOptions = RecordCacheTransformOptions
QueryBuilderRecordQueryBuilder
TransformBuilderRecordTransformBuilder

Hierarchy​

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

Defined in​

record-cache/src/record-cache.ts:56


defaultQueryOptions​

• Optional defaultQueryOptions: DefaultRequestOptions<QueryOptions>

Defined in​

record-cache/src/record-cache.ts:60


defaultTransformOptions​

• Optional defaultTransformOptions: DefaultRequestOptions<TransformOptions>

Defined in​

record-cache/src/record-cache.ts:61


keyMap​

• Optional keyMap: RecordKeyMap

Defined in​

record-cache/src/record-cache.ts:42


name​

• Optional name: string

Defined in​

record-cache/src/record-cache.ts:40


normalizer​

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

Defined in​

record-cache/src/record-cache.ts:43


queryBuilder​

• Optional queryBuilder: QueryBuilder

Defined in​

record-cache/src/record-cache.ts:58


schema​

• schema: RecordSchema

Defined in​

record-cache/src/record-cache.ts:41


transformBuilder​

• Optional transformBuilder: TransformBuilder

Defined in​

record-cache/src/record-cache.ts:59


validatorFor​

• Optional validatorFor: ValidatorForFn<StandardValidator | StandardRecordValidator>

Defined in​

record-cache/src/record-cache.ts:44


validators​

• Optional validators: Dict<StandardValidator | StandardRecordValidator>

Defined in​

record-cache/src/record-cache.ts:45