Interface

FlowResponse

FlowResponse

The raw response returned by the flow API backend for a given state, before it is wrapped in a State instance.
Properties:
Name Type Attributes Description
name TState The name of the state.
status number The HTTP status code of the response.
payload * <optional>
The state's payload data, if any (see Payloads).
actions * <optional>
The actions available from this state (see Actions).
csrf_token string The CSRF token to include when running an action from this state.
error FlowError <optional>
A general error for this state, if the previous action failed.

View Source lib/flow-api/types/flow.ts, line 36