Skip to content

auditElysia

function auditElysia(options): AddRoute<string, "local", DefaultSingleton, {
}, DefaultMetadata, object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object, DefaultEphemeral, DefaultEphemeral, "post", "/api/streams/:name/retry", IntersectIfObjectSchema<UnwrapRoute<{
params: TObject<{
name: TString;
}>;
}, {
}, `${string}/api/streams/:name/retry`>, MergeScopedSchemas<{
}, {
}, {
}>>, {
}, (ctx) => Promise<Response>, {
params: TObject<{
name: TString;
}>;
}>;

Defined in: src/adapters/elysia2.ts:67

Typed Elysia plugin exposing the API so the Eden client can call it with full path/method/param typing (client.audit.api.tenants.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.

Elysia 2.x only — for Elysia 1.x import from @xtandard/audit/elysia.

Parameter Type
options AuditElysiaOptions

AddRoute<string, "local", DefaultSingleton, { }, DefaultMetadata, object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object & object, DefaultEphemeral, DefaultEphemeral, "post", "/api/streams/:name/retry", IntersectIfObjectSchema<UnwrapRoute<{ params: TObject<{ name: TString; }>; }, { }, `${string}/api/streams/:name/retry`>, MergeScopedSchemas<{ }, { }, { }>>, { }, (ctx) => Promise<Response>, { params: TObject<{ name: TString; }>; }>