export interface ITeamMember { userid: string; email: string; permission: string; /** * Is this the user that was "owner" when the Share Modal just opened up? */ isCurrentOwner?: boolean; /** * is this user pending deletion? */ isDelete?: boolean; /** * Is this user pending a change in permissions? */ isPendingPermissionChange?: boolean; /** * Is this a newly added member that's not yet in the original list? */ isPendingAdd?: boolean; /** * Does this pending email have problems with it preventing it from being submitted? * is format invalid? (e.g. 123@.com) * is duplicate? (email already exists in the list of original or pending emails) * is same as owner email? */ isInvalidEmail?: boolean; /** * If the email is invalid, then this string should be used * to let the user know why it's invalid */ invalidEmailMessage?: string; }