import { NextResponse } from "next/server"; import { getUnreadBookingCounts } from "@/lib/db"; export async function GET() { return NextResponse.json(getUnreadBookingCounts(), { headers: { "Cache-Control": "private, max-age=15" }, }); }