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

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

export const runtime = "nodejs";
