(value: string)
| 35 | // Escape LIKE wildcards in a user-typed search term so `_` and `%` match |
| 36 | // themselves. Same treatment `org-deletion.ts` gives an org id prefix. |
| 37 | const escapeLike = (value: string): string => value.replace(/[\\%_]/g, "\\$&"); |
| 38 | |
| 39 | // The display name the seam reports: first + last, or nothing. Computed in SQL |
| 40 | // too (below) so the search term matches what the caller sees. |