next-drupal / getSearchIndexFromContext

Function: getSearchIndexFromContext()

getSearchIndexFromContext\<T>(name, context, options?): Promise\<T>

Defined in: packages/next-drupal/src/deprecated/get-search-index.ts:38

Type Parameters

T = JsonApiResource[]

Parameters

name

string

context

GetStaticPropsContext

options?

object & JsonApiWithLocaleOptions

Returns

Promise\<T>