Skip to content

WIP: webhook demo #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add webhook typings
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
ShMcK committed Aug 29, 2021
commit 124a0923e26e752bf2a3500997d04b8457b013e0
15 changes: 15 additions & 0 deletions typings/tutorial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type TutorialConfig = {
dependencies?: TutorialDependency[]
setup?: StepActions
reset?: ConfigReset
webhook?: WebhookConfig
}

/** Logical groupings of tasks */
Expand Down Expand Up @@ -92,3 +93,17 @@ export interface TutorialAppVersions {
}

export type VSCodeCommand = string | [string, any]

export interface WebhookConfig {
url: string
config: {
token: boolean
}
events: {
init?: boolean
reset?: boolean
step_complete?: boolean
level_complete?: boolean
tutorial_complete?: boolean
}
}