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