import AdminResourceList from "@/app/features/AdminList/AdminResourceList";

export default function GroupsPage() {
  return (
    <AdminResourceList
      title="Groups"
      endpoint="/api/dashboard/admin/groups"
      responseCollectionKeys={["groups", "data", "items"]}
      primaryLabelKeys={["name", "groupName", "title"]}
      chipKeys={["status", "role", "permissions"]}
    />
  );
}
