-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #546 from selfcontained/bradh-workflow-extension-s…
…upport Bradh workflow extension support
- Loading branch information
Showing
4 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/** | ||
* A Slack workflow step action wrapped in the standard metadata. | ||
* | ||
* This describes the entire JSON-encoded body of a request from Slack workflow step actions. | ||
*/ | ||
export interface WorkflowStepEdit { | ||
type: 'workflow_step_edit'; | ||
callback_id: string; | ||
trigger_id: string; | ||
user: { | ||
id: string; | ||
username: string; | ||
team_id?: string; // undocumented | ||
}; | ||
team: { | ||
id: string; | ||
domain: string; | ||
enterprise_id?: string; // undocumented | ||
enterprise_name?: string; // undocumented | ||
}; | ||
channel?: { | ||
id?: string; | ||
name?: string; | ||
}; | ||
token: string; | ||
action_ts: string; // undocumented | ||
workflow_step: { | ||
workflow_id: string; | ||
step_id: string; | ||
inputs: object; | ||
outputs: []; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters