merge records composite type (#14005)

/closes #13989

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
neo773
2025-09-08 21:20:26 +05:30
committed by GitHub
parent 9e81618773
commit ad944e1d2c
19 changed files with 1277 additions and 16 deletions
@@ -0,0 +1,16 @@
export const COMPANY_GQL_FIELDS = `
id
name
domainName {
primaryLinkLabel
primaryLinkUrl
secondaryLinks
}
linkedinLink {
primaryLinkLabel
primaryLinkUrl
secondaryLinks
}
createdAt
deletedAt
`;
@@ -11,6 +11,19 @@ export const PERSON_GQL_FIELDS = `
}
emails {
primaryEmail
additionalEmails
}
phones {
primaryPhoneNumber
primaryPhoneCountryCode
primaryPhoneCallingCode
additionalPhones
}
whatsapp {
primaryPhoneNumber
primaryPhoneCountryCode
primaryPhoneCallingCode
additionalPhones
}
createdAt
deletedAt