20f62e05f5
## Summary - Add `additionalEmails` (EMAILS type) to tsvector search expression - Add `additionalPhones` (PHONES type) to tsvector search expression - Add `secondaryLinks` (LINKS type) to tsvector search expression This enables searching for people/companies by their secondary contact information, not just primary values. ## Test plan - [x] Unit tests for all three composite field types (16 tests passing) - [x] Integration tests for searching by secondary email, work email, partial domain - [x] Integration tests for searching by additional phone numbers - [x] Integration test for searching by secondary link URL - [x] Lint passes --------- Co-authored-by: Charles Bochet <charles@twenty.com>
12 lines
733 B
TypeScript
12 lines
733 B
TypeScript
export const TEST_PERSON_1_ID = '777a8457-eb2d-40ac-a707-551b615b6980';
|
|
export const TEST_PERSON_2_ID = '777a8457-eb2d-40ac-a707-551b615b6981';
|
|
export const TEST_PERSON_3_ID = '777a8457-eb2d-40ac-a707-551b615b6982';
|
|
export const TEST_PERSON_4_ID = '777a8457-eb2d-40ac-a707-551b615b6983';
|
|
export const TEST_PERSON_5_ID = '777a8457-eb2d-40ac-a707-551b615b6984';
|
|
export const TEST_PERSON_6_ID = '777a8457-eb2d-40ac-a707-551b615b6985';
|
|
export const TEST_PERSON_7_ID = '777a8457-eb2d-40ac-a707-551b615b6986';
|
|
export const TEST_PERSON_8_ID = '777a8457-eb2d-40ac-a707-551b615b6987';
|
|
export const TEST_PERSON_9_ID = '777a8457-eb2d-40ac-a707-551b615b6988';
|
|
export const NOT_EXISTING_TEST_PERSON_ID =
|
|
'777a8457-eb2d-40ac-a707-551b615b6990';
|