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:40

Type declaration:#

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

Parameters:

NameType
...argsunknown[]

ActionPerformFunction#

Ƭ ActionPerformFunction: function

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

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:224


DataSourcePerformFunction#

Ƭ DataSourcePerformFunction: function

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

Type declaration:#

▸ (context: DataSourceContext, params: Record‹string, unknown›): Promise‹DataSourceResult

Parameters:

NameType
contextDataSourceContext
paramsRecord‹string, unknown›

DataSourceResult#

Ƭ DataSourceResult: object

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

Type declaration:#


TriggerOptionChoice#

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

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


TriggerPerformFunction#

Ƭ TriggerPerformFunction: function

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

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:111