interface Contact { type: string id: number } export const deleteContactCell = (contact: Contact) => ` ` //template for contact adding dialog export const addContactTemplate = () => `
` export const displayContactType = ({type}: {type: string}) => { switch (type) { case "user": return gettext("User") case "userinvite": return gettext("Invite you sent") case "to_userinvite": return gettext("Invite you received") } return "" } export const respondInviteCell = (contact: Contact) => ``