Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d6938 commit 7eba915Copy full SHA for 7eba915
typings/tutorial.d.ts
@@ -11,6 +11,7 @@ export type TutorialConfig = {
11
dependencies?: TutorialDependency[]
12
reset?: ConfigReset
13
setup?: StepActions
14
+ webhook?: WebhookConfig
15
}
16
17
/** Logical groupings of tasks */
@@ -91,3 +92,15 @@ export interface TutorialSkeleton {
91
92
config: TutorialConfig
93
levels: Level[]
94
95
+
96
+export interface WebhookConfigEvents {
97
+ init?: boolean
98
+ reset?: boolean
99
+ step_complete?: boolean
100
+ level_complete?: boolean
101
+ tutorial_complete?: boolean
102
+}
103
+export interface WebhookConfig {
104
+ url: string
105
+ events?: WebhookConfigEvents
106
0 commit comments