next-drupal / getResourceCollectionFromContext

Function: getResourceCollectionFromContext()

getResourceCollectionFromContext\<T>(type, context, options?): Promise\<T>

Defined in: packages/next-drupal/src/deprecated/get-resource-collection.ts:49

Type Parameters

T = JsonApiResource[]

Parameters

type

string

context

GetStaticPropsContext

options?

deserialize

boolean

params

JsonApiParams

Returns

Promise\<T>