next-drupal / getResourceCollection
Function: getResourceCollection()
getResourceCollection\<
T
>(type
,options
?):Promise
\<T
>
Defined in: packages/next-drupal/src/deprecated/get-resource-collection.ts:11
Type Parameters
• T = JsonApiResource
[]
Parameters
type
string
options?
object
& JsonApiWithLocaleOptions
Returns
Promise
\<T
>