Title

Global

Members

package constant DEFAULT_STORY_FIELDS

View Source constants.js, line 9

Methods

buildClient(host, temporaryClient) → {Client}

This low level function can be used to create an API Client. This should not be needed in most cases as @quintype/framework will do this for you.

Parameters:
Name Type Description
host string

The API host

temporaryClient boolean

Controls whether the config is reloaded every 120 seconds. This should be false for clients intended to be used within a single request

View Source index.js, line 1126

A client connected to the API host

Client