fetchModelResources
Given an item, and a list of resource name/prop pairs, fetch the resources and return as an object for the IModel
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| item Required | IItem | ||
| resourceNamePairs Required | [key: string]: string | ||
| requestOptions Required | IRequestOptions |
Available requestOptions
| Property | Type | Notes |
|---|
Returns
{Promise<Record<string, any>>}
Promise<Record<stringany>>
| Property | Type | Notes |
|---|
Function defined in packages/common/src/models/fetchModelResource.ts:23