Skip to content

FlagsElysiaPlugin

type FlagsElysiaPlugin = ReturnType<typeof flagsElysiaRoutes>;

Defined in: adapters/elysia.ts:64

What flagsElysia returns: an Elysia 1.x plugin (new Elysia({ prefix, name: "xtandard-flags" })) that declares every admin route — method, path, params and body schemas — under prefix, plus a catch-all for the bundled UI. .use() it on your app and treaty<typeof app>() sees the routes. Named so the reference doesn’t spell out the inferred Elysia generics; it is exactly the inferred plugin type, so Eden typing is unchanged.