Function: makeRefreshIncludeLoader()
makeRefreshIncludeLoader<
RawData
,Data
,Deserialized
,C
,E
>(action
,options
): <I
>(instances
, ...relations
) =>Promise
<void
>
Type parameters
• RawData
• Data
• Deserialized extends DeserializedData
<ModelInstance
>
• C extends ConsumeAdapter
<RawData
, Data
> & ConsumeDeserializer
<NonNullable
<Data
>, Deserialized
>
• E extends object
Parameters
• action: ActionFactory
<[], C
, object
>
• options: RefreshIncludeLoaderOptions
<RawData
, Data
, Deserialized
, C
, E
>= {}
Returns
Function
Type parameters
• I extends ModelInstance
Parameters
• instances: Arrayable
<I
>
• ...relations: ArrayableVariadic
<ModelRelationDotKey
<I
>>
Returns
Promise
<void
>
Source
packages/core/src/model/relations/makeRefreshIncludeLoader.ts:85