Appearance
Type Alias: WebhookHandler<M>
ts
type WebhookHandler<M> = (request, ctx) =>
| WebhookEvent
| typeof ignored
| WebhookRejected
| Promise<
| WebhookEvent
| typeof ignored
| WebhookRejected>;Type Parameters
M
M extends AppManifestSpec
Parameters
request
ctx
AppContext<z.output<M["configSchema"]>>
Returns
| WebhookEvent | typeof ignored | WebhookRejected | Promise< | WebhookEvent | typeof ignored | WebhookRejected>