Skip to main content

serverTypes/index

@prismatic-io/spectral"serverTypes/index"

Index#

Enumerations#

Interfaces#

Type aliases#

Type aliases#

ActionLoggerFunction#

Ƭ ActionLoggerFunction: function

Defined in packages/spectral/src/serverTypes/index.ts:29

Type declaration:#

▸ (...args: unknown[]): void

Parameters:

NameType
...argsunknown[]

ActionPerformFunction#

Ƭ ActionPerformFunction: function

Defined in packages/spectral/src/serverTypes/index.ts:205

Type declaration:#

▸ (context: ActionContext, params: Record‹string, unknown›): Promise‹ActionPerformReturn

Parameters:

NameType
contextActionContext
paramsRecord‹string, unknown›

ActionPerformReturn#

Ƭ ActionPerformReturn: ServerPerformDataStructureReturn | ServerPerformBranchingDataStructureReturn | ServerPerformDataReturn | ServerPerformBranchingDataReturn | undefined

Defined in packages/spectral/src/serverTypes/index.ts:198


TriggerOptionChoice#

Ƭ TriggerOptionChoice: "invalid" | "valid" | "required"

Defined in packages/spectral/src/serverTypes/index.ts:62


TriggerPerformFunction#

Ƭ TriggerPerformFunction: function

Defined in packages/spectral/src/serverTypes/index.ts:117

Type declaration:#

▸ (context: ActionContext, payload: TriggerPayload, params: Record‹string, unknown›): Promise‹TriggerResult

Parameters:

NameType
contextActionContext
payloadTriggerPayload
paramsRecord‹string, unknown›

TriggerResult#

Ƭ TriggerResult: TriggerBranchingResult | TriggerBaseResult | undefined

Defined in packages/spectral/src/serverTypes/index.ts:112