MCPcopy Index your code
hub / github.com/coderoad/coderoad-vscode / onStepComplete

Function onStepComplete

src/services/hooks/webhooks.ts:93–97  ·  view source on GitHub ↗
(event: WebhookEventStepComplete)

Source from the content-addressed store, hash-verified

91type WebhookEventStepComplete = { tutorialId: string; version?: string; levelId: string; stepId: string }
92
93export const onStepComplete = (event: WebhookEventStepComplete): void => {
94 if (WEBHOOK_EVENTS.step_complete) {
95 callWebhookEndpoint<WebhookEventStepComplete>(event)
96 }
97}
98
99type WebhookEventLevelComplete = { tutorialId: string; version?: string; levelId: string }
100

Callers

nothing calls this directly

Calls 1

callWebhookEndpointFunction · 0.85

Tested by

no test coverage detected