@xtandard/webhooks/elysia
Elysia 1.x adapter: webhooksPanel() to mount the panel as a plain handler,
or webhooksElysia(), a typed plugin whose admin routes Eden treaty can see.
import { … } from "@xtandard/webhooks/elysia";Functions
Section titled “Functions”| Name | Summary |
|---|---|
webhooksElysia |
Typed Elysia plugin exposing the admin API so the Eden client can call it with full path/method/param typing (edenClient.webhooks.api.applications.get()). Routes are declared for the typed surface; every handler delegates to the shared fetch pipeline (auth, authorization, portal scoping, error mapping reused). A catch-all also serves the bundled UI. |
webhooksPanel |
Create a panel handler suitable for Elysia.mount(path, handler). |
Interfaces
Section titled “Interfaces”| Name | Summary |
|---|---|
ElysiaWebhooksHandler |
A web-standard fetch handler with core + dispatcher + openapi() attached. |
WebhooksElysiaOptions |
Options for webhooksElysia. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
WebhooksElysiaPlugin |
The typed plugin webhooksElysia returns: an Elysia instance whose route table (every admin route with its params and body schema) is what Eden treaty infers from typeof app. Name it to type a variable or a factory that returns the plugin. |
Re-exports
Section titled “Re-exports”| Name | Documented on |
|---|---|
WebhooksPanelOptions |
@xtandard/webhooks |