Skip to content

flagsElysia

function flagsElysia(options): FlagsElysiaPlugin;

Defined in: adapters/elysia.ts:53

Typed Elysia plugin exposing the admin API so the Eden client can call it with full path/method/param typing (edenClient.flags.api.projects.get()). Routes are declared for the typed surface; every handler delegates to the shared fetch pipeline (auth, authorization, validation, error mapping reused). A catch-all also serves the bundled UI.

Elysia 1.x only — for Elysia 2 import from @xtandard/flags/elysia2.

Parameter Type
options FlagsElysiaOptions

FlagsElysiaPlugin