import type { CollectionConfig } from "payload";

export const Users: CollectionConfig = {
  slug: "users",
  admin: {
    useAsTitle: "email",
    hideAPIURL: true,
    group: "Users",
  },
  auth: true,
  fields: [
    // Email added by default
    // Add more fields as needed
    {
      name: "name",
      label: "Name",
      type: "text",
    },
  ],
};
