import { listFiletypes } from "@/server/repo/zxdb";

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

export const runtime = "nodejs";
