import { auth } from "@/auth";
import { NotAuthorized, ShellEmpty } from "@/components/ShellEmpty";
import type { SessionWithExtras } from "@/lib/session";
import { canSee } from "@/lib/session";

export default async function Page() {
  const session = (await auth()) as SessionWithExtras | null;
  if (!canSee(session, "api-keys")) return <NotAuthorized />;
  return (
    <ShellEmpty
      title="API keys"
      description="Per-tenant API keys for headless product access."
      milestone="M15.1"
    />
  );
}
