Implemented PHONES sub-field filtering (#11953)

This PR implements sub-field filtering for the PHONES field type.

What was tricky was to have filtering work correctly on the
additionalPhones sub-field, which is an array of objects and is treated
as a RawJsonFilter. Now that it works for this sub-field, we can
implement the same logic for other similar sub-field like
additionalEmails and secondaryLinks.
This commit is contained in:
Lucas Bordeau
2025-05-09 14:32:57 +02:00
committed by GitHub
parent d63e53943e
commit 8e07160c84
9 changed files with 373 additions and 65 deletions

View File

@ -104,6 +104,8 @@ export type EmailsFilter = {
export type PhonesFilter = {
primaryPhoneNumber?: StringFilter;
primaryPhoneCallingCode?: StringFilter;
additionalPhones?: RawJsonFilter;
};
export type SelectFilter = {