Beignet API reference
Preparing search index...
@beignet/next
WebhookRouteHandlerArgs
Type Alias WebhookRouteHandlerArgs<Ctx, Webhook, AllowUnknownEvents>
type
WebhookRouteHandlerArgs
<
Ctx
extends
WebhookRouteContext
,
Webhook
extends
WebhookDef
<
string
,
WebhookEventSchemas
>
,
AllowUnknownEvents
extends
boolean
,
>
=
{
ctx
:
Ctx
;
event
:
AllowUnknownEvents
extends
false
?
InferWebhookEvent
<
Webhook
>
:
InferWebhookEvent
<
Webhook
>
|
WebhookEvent
;
rawBody
:
string
;
req
:
Request
;
}
Type Parameters
Ctx
extends
WebhookRouteContext
Webhook
extends
WebhookDef
<
string
,
WebhookEventSchemas
>
AllowUnknownEvents
extends
boolean
Index
Properties
ctx
event
raw
Body
req
Properties
ctx
ctx
:
Ctx
event
event
:
AllowUnknownEvents
extends
false
?
InferWebhookEvent
<
Webhook
>
:
InferWebhookEvent
<
Webhook
>
|
WebhookEvent
raw
Body
rawBody
:
string
req
req
:
Request
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ctx
event
raw
Body
req
Beignet API reference
Loading...