@xtandard/webhooks/elysia2
Elysia 2 adapter: the same surface as @xtandard/webhooks/elysia
(webhooksPanel() and the typed webhooksElysia() plugin), built against
Elysia 2 and @elysia/eden.
import { … } from "@xtandard/webhooks/elysia2";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. |
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 |
|---|---|
ElysiaWebhooksHandler |
@xtandard/webhooks/elysia |
WebhooksElysiaOptions |
@xtandard/webhooks/elysia |
webhooksPanel |
@xtandard/webhooks/elysia |
WebhooksPanelOptions |
@xtandard/webhooks |