Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_slack_sdk/workflows/mod.ts>WorkflowDefinition

SDK for building Run on Slack apps using Deno
Latest
class WorkflowDefinition
implements ISlackWorkflow
import { WorkflowDefinition } from "https://deno.land/x/deno_slack_sdk@2.14.2/workflows/mod.ts";

Type Parameters

Inputs extends ParameterSetDefinition
Outputs extends ParameterSetDefinition
RequiredInputs extends PossibleParameterKeys<Inputs>
RequiredOutputs extends PossibleParameterKeys<Outputs>
CallbackID extends string

Methods

addStep<StepInputs extends ParameterSetDefinition, StepOutputs extends ParameterSetDefinition, RequiredStepInputs extends PossibleParameterKeys<StepInputs>, RequiredStepOutputs extends PossibleParameterKeys<StepOutputs>>(slackFunction: ISlackFunctionDefinition<StepInputs, StepOutputs, RequiredStepInputs, RequiredStepOutputs>, inputs: WorkflowStepInputs<StepInputs, RequiredStepInputs>): TypedWorkflowStepDefinition<StepInputs, StepOutputs, RequiredStepInputs, RequiredStepOutputs>