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

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

export const runtime = "nodejs";
