WebhooksElysiaOptions
Defined in: src/adapters/elysia-shared.ts:40
Options for webhooksElysia.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
auth? |
AuthProvider |
Authentication provider. Default: anonymous (no auth). | WebhooksPanelOptions.auth |
src/server/create-fetch-handler.ts:48 |
authorization? |
AuthorizationProvider |
Authorization provider. Default: allow all. | WebhooksPanelOptions.authorization |
src/server/create-fetch-handler.ts:50 |
basePath? |
string |
Mount prefix, e.g. "/webhooks". Default "" (root). |
WebhooksPanelOptions.basePath |
src/server/create-fetch-handler.ts:46 |
core? |
WebhooksCore |
Reuse an existing core instead of constructing one. | WebhooksPanelOptions.core |
src/server/create-fetch-handler.ts:67 |
cors? |
CorsOptions |
Enable CORS on the handler itself — answers OPTIONS preflights and attaches Access-Control-* headers to every response, so a cross-origin embed works regardless of the host framework. See WebhooksCorsOptions. |
WebhooksPanelOptions.cors |
src/server/create-fetch-handler.ts:93 |
dispatcher? |
| false | DispatcherOptions |
Delivery-engine configuration. By default the panel creates and starts a dispatcher so deliveries flow the moment the panel is mounted. Pass false to skip it entirely (split-worker deployments where a separate process runs xtandard-webhooks dispatch against the same storage). |
WebhooksPanelOptions.dispatcher |
src/server/create-fetch-handler.ts:100 |
hooks? |
WebhooksHooksInput |
Control-plane hooks fired around admin mutations (see ../hooks/contract.WebhooksHooks). Ignored when core is supplied — configure hooks on that core instead. |
WebhooksPanelOptions.hooks |
src/server/create-fetch-handler.ts:73 |
logoUrl? |
string |
Logo image URL shown in the navbar in place of the title wordmark. | WebhooksPanelOptions.logoUrl |
src/server/create-fetch-handler.ts:63 |
onDelivery? |
DeliveryListener |
Fire-and-forget sink invoked for every delivery attempt (metrics tap). Ignored when core is supplied. See ../delivery-sink.DeliveryListener. |
WebhooksPanelOptions.onDelivery |
src/server/create-fetch-handler.ts:85 |
onDeliveryError? |
DeliveryErrorReporter |
Reporter for errors thrown by onDelivery. Default: console.warn. |
WebhooksPanelOptions.onDeliveryError |
src/server/create-fetch-handler.ts:87 |
onHookError? |
HookErrorReporter |
Reporter for errors thrown by after hooks. Default: console.warn. |
WebhooksPanelOptions.onHookError |
src/server/create-fetch-handler.ts:75 |
portal? |
WebhooksPortalOptions |
Portal-token composition: requests bearing a valid whpt_… token act as a portal principal scoped to the token’s application. Mint tokens server-side with createPortalToken. See ./routes.WebhooksPortalOptions. |
WebhooksPanelOptions.portal |
src/server/create-fetch-handler.ts:57 |
prefix? |
string |
Mount prefix; also used as the panel basePath. Default "/webhooks". |
- | src/adapters/elysia-shared.ts:42 |
queueStorage? |
KvStorage |
Store for deliveries, attempts, and the due index. Defaults to storage. |
WebhooksPanelOptions.queueStorage |
src/server/create-fetch-handler.ts:44 |
readonly? |
boolean |
Block all mutating operations when true. | WebhooksPanelOptions.readonly |
src/server/create-fetch-handler.ts:59 |
retention? |
RetentionOptions |
Message/audit retention policy. Ignored when a prebuilt core is supplied — configure it on that core instead. See ../core.RetentionOptions. |
WebhooksPanelOptions.retention |
src/server/create-fetch-handler.ts:80 |
storage? |
KvStorage |
Control-plane store: applications, event types, endpoints, messages, audit. Required unless a prebuilt core is supplied (which carries its own storage, and its queueStorage, as the source of truth). |
WebhooksPanelOptions.storage |
src/server/create-fetch-handler.ts:42 |
title? |
string |
UI title shown in the page and bootstrap config. | WebhooksPanelOptions.title |
src/server/create-fetch-handler.ts:61 |
uiDir? |
string |
Override the directory the bundled UI is served from (defaults to ./ui beside this module). |
WebhooksPanelOptions.uiDir |
src/server/create-fetch-handler.ts:65 |