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 common/src/models/index.ts:253