PerformDataStructureReturn

@prismatic-io/spectral"types"PerformDataStructureReturn

Used to represent returning conventional data and does not require content type to be specified

Hierarchy#

Index#

Properties#

Properties#

Optional contentType#

contentType? : undefined | string

The Content Type of the payload data that can be optionally specified


data#

data: boolean | number | string | Record‹string, unknown› | unknown[] | unknown

Data structure to return from the action


Optional state#

state? : Record‹string, unknown›

An optional object, the keys and values of which will be persisted in the instanceState and available for subsequent actions and executions


Optional statusCode#

statusCode? : undefined | number

The HTTP Status code that will be used if this terminates a synchronous invocation