Properties
Readonly
contacts$
contacts$: Observable<readonly Contact[]> Methods
createContact
- createContact(contact): Promise<void>
Parameters
- contact: Pick<Contact, "name" | "favorite" | "phones" | "emails">
Returns Promise<void>
deleteContact
- deleteContact(contact): Promise<void>
Returns Promise<void>
saveContact
- saveContact(contact): Promise<void>
Parameters
- contact: Pick<Contact, "id" | "name" | "favorite" | "phones" | "emails">
Returns Promise<void>
Allows retrieving, updating and creating contacts. An instance of this class must be obtained using Session.getContactRepository