// GET /api/users/ssr — real users from the database (server-side data binding).
import { getDb } from "@wrnexus/db";
import { ListUsers } from "../../db/queries.gen.ts";

export const GET = async () => {
  const users = await ListUsers(getDb());
  return Response.json({ users });
};
