Implemented LINKS and EMAILS sub-field fitering (#11984)
This PR introduces LINKS and EMAILS sub-field filtering. It's mainly about the implementation of secondaryLinks and additionalEmails sub-fields, which are treated like additionalPhones. There's also a refactor on the computeViewRecordGqlOperationFilter, a big file that becomes very difficult to read and maintain. This PR breaks it down into multiple smaller utils. There's still work to be done to clean it as it is a central part of the record filter module, this PR lays the foundation.
This commit is contained in:
@ -91,6 +91,7 @@ export type AddressFilter = {
|
||||
export type LinksFilter = {
|
||||
primaryLinkUrl?: StringFilter;
|
||||
primaryLinkLabel?: StringFilter;
|
||||
secondaryLinks?: RawJsonFilter;
|
||||
};
|
||||
|
||||
export type ActorFilter = {
|
||||
@ -100,6 +101,7 @@ export type ActorFilter = {
|
||||
|
||||
export type EmailsFilter = {
|
||||
primaryEmail?: StringFilter;
|
||||
additionalEmails?: RawJsonFilter;
|
||||
};
|
||||
|
||||
export type PhonesFilter = {
|
||||
|
||||
Reference in New Issue
Block a user