import { listSchemetypes } from "@/server/repo";

export async function GET() {
  const items = await listSchemetypes();
  return new Response(JSON.stringify({ items }), {
    headers: { "content-type": "application/json" },
  });
}

export const runtime = "nodejs";
