Home Reference Source

src/contacts-new/ContactType.ts

/**
 * Enum with the different types of a contact
 */
export enum ContactType {
	/**
	 * Contacts created by user themselves. They are the only contacts that can be created,
	 * edited or deleted.
	 */
	CONTACTS,

	/**
	 * Contacts representing a user of the domain. There is one contact of this type for each user
	 * of a domain different of the current user.
	 */
	DOMAIN,

	/**
	 * Contacts statically defined by system administrators.
	 */
	STATIC,

	/**
	 * Contacts representing a group. There is one contact of this type for each group existing
	 * in the current user domain.
	 */
	GROUPS,

	/**
	 * Contacts declared inside the phonebooks associated to every group the current user is
	 * included in.
	 */
	PHONEBOOKS,
}