Type alias: JsonApiDeserializerConfig<Record, Data, Deserialized, Extract>
JsonApiDeserializerConfig<
Record
,Data
,Deserialized
,Extract
>:object
&DeserializerConfig
<Record
,Data
,Deserialized
,Extract
>
Type declaration
pullAttribute()
pullAttribute: (
record
,deserializerContext
,extract
) =>Awaitable
<unknown
>
Parameters
• record: Record
• deserializerContext: DeserializerContext
<Record
, Data
, Deserialized
, ModelAttribute
>
• extract: Extract
Returns
Awaitable
<unknown
>
pullIdentifier()
pullIdentifier: (
record
,context
) =>Awaitable
<DeserializerRecordIdentifier
>
Parameters
• record: Record
• context
Returns
Awaitable
<DeserializerRecordIdentifier
>
pullRelation()
pullRelation: (
record
,deserializerContext
,extract
) =>Awaitable
<Arrayable
<Record
> |null
|undefined
>
Parameters
• record: Record
• deserializerContext: DeserializerContext
<Record
, Data
, Deserialized
, ModelRelation
>
• extract: Extract
Returns
Awaitable
<Arrayable
<Record
> | null
| undefined
>
Type parameters
• Record extends JsonApiNewResource
• Data extends JsonApiDocument
| undefined
• Deserialized extends JsonApiDeserializedData
• Extract extends JsonApiExtractedData
<Record
>