import { prisma } from "@/lib/prisma" import { NextResponse } from "next/server" export async function GET() { const managers = await prisma.shiftManager.findMany({ where: { status: "active" }, include: { teams: true }, orderBy: { empNo: "asc" } }) return NextResponse.json(managers) }