auth/account_route_schema.ts view source
{ method: "GET"; path: string; auth: { account: "none"; actor: "none"; }; description: string; input: ZodNull; output: ZodObject<{ account: ZodObject<{ id: $ZodBranded<ZodUUID, "Uuid", "out">; username: ZodPipe<...>; email: ZodNullable<...>; email_verified: ZodBoolean; created_at: ZodString; }, $strict>; actor: ZodN... import {account_status_route_shape} from '@fuzdev/fuz_app/auth/account_route_schema.js'; The GET /status route shape minus its handler — pure hono-free data.
create_account_status_route_spec spreads this and attaches the live handler
(which reads the account id off the request context); surface generation
spreads it with a stub handler.
The path is relative like the sibling account shapes (/login,
/verify), so it composes under prefix_route_specs('/api/account', …) into
/api/account/status. create_account_route_specs bundles it (so every
account surface serves /status, matching the Rust account_router);
mirror Rust by mounting it as part of the account family, not separately.