let nextID = 101;

// Gets the next profile ID available (its just a counter)
export function getNextID() {
  return nextID++;
}

// These are sample people for the purposes of demonstration
export let people = [
  { name: "Homer", id: getNextID(), age: 26, photo: "/images/homer.jpg", messages: [] },
  { name: "Marge", id: getNextID(), age: 25, photo: "/images/marge.jpg", messages: [] },
  { name: "Ling",  id: getNextID(), age: 27, photo: "/images/ling.jpg",  messages: [] },
  { name: "Ahmed", id: getNextID(), age: 24, photo: "/images/ahmed.jpg", messages: [] }
];

// This is the image to show for new profiles that have no uploaded picture
export const anonImg = "/images/unknown_person.jpg";
