(organizationId: string)
| 150 | }); |
| 151 | |
| 152 | const orgWhere = (organizationId: string): AdapterWhere => [ |
| 153 | { field: "organizationId", value: organizationId }, |
| 154 | ]; |
| 155 | |
| 156 | const matches = (member: DirectoryMember, term: string): boolean => |
| 157 | (member.email !== null && member.email.toLowerCase().includes(term)) || |