Interface: RecordCacheSettings<QueryOptions, TransformOptions, QueryBuilder, TransformBuilder>
Type parameters​
Name | Type |
---|---|
QueryOptions | extends RequestOptions = RecordCacheQueryOptions |
TransformOptions | extends RequestOptions = RecordCacheTransformOptions |
QueryBuilder | RecordQueryBuilder |
TransformBuilder | RecordTransformBuilder |
Hierarchy​
RecordCacheSettings
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
>