fix(WEB-115): alter contact block to allow any version of multiple numbers and addresses

This commit is contained in:
Simon Emanuelsson
2024-03-15 07:56:25 +01:00
parent 70f9c22410
commit fd6c49ac7c
5 changed files with 164 additions and 80 deletions

View File

@@ -1,4 +1,10 @@
fragment Contact on ContactBlock {
fragment ContactExtraInfo on ContactBlockSectionsExtraInfo {
extra_info {
text
}
}
fragment ContactMailingAddress on ContactBlockSectionsMailingAddress {
mailing_address {
city
country
@@ -6,15 +12,22 @@ fragment Contact on ContactBlock {
street
zip
}
system {
uid
locale
}
}
fragment ContactPhone on ContactBlockSectionsPhone {
phone {
number
title
}
title
}
fragment ContactTitle on ContactBlockSectionsTitle {
title {
text
}
}
fragment ContactVisitingAddress on ContactBlockSectionsVisitingAddress {
visiting_address {
city
country
@@ -22,3 +35,18 @@ fragment Contact on ContactBlock {
zip
}
}
fragment Contact on ContactBlock {
sections {
__typename
...ContactExtraInfo
...ContactMailingAddress
...ContactPhone
...ContactTitle
...ContactVisitingAddress
}
system {
locale
uid
}
}