Skip to main content

Interface: FetchResponse<T>

@headstartwp/core.FetchResponse

The type of the fetch response

Type parameters

Name
T

Properties

isCached

Optional isCached: boolean

Defined in

packages/core/src/data/strategies/AbstractFetchStrategy.ts:38


pageInfo

pageInfo: PageInfo

Contains pagination information

Defined in

packages/core/src/data/strategies/AbstractFetchStrategy.ts:48


queriedObject

queriedObject: QueriedObject

Queried Object information

Defined in

packages/core/src/data/strategies/AbstractFetchStrategy.ts:53


result

result: T

Contains the actual data returned from the API

Defined in

packages/core/src/data/strategies/AbstractFetchStrategy.ts:43