Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
72 lines
1.2 KiB
TypeScript
72 lines
1.2 KiB
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
export const ContactExtraInfo = gql`
|
|
fragment ContactExtraInfo on ContactBlockSectionsExtraInfo {
|
|
extra_info {
|
|
text
|
|
}
|
|
}
|
|
`
|
|
|
|
export const ContactMailingAddress = gql`
|
|
fragment ContactMailingAddress on ContactBlockSectionsMailingAddress {
|
|
mailing_address {
|
|
city
|
|
country
|
|
name
|
|
street
|
|
zip
|
|
}
|
|
}
|
|
`
|
|
|
|
export const ContactPhone = gql`
|
|
fragment ContactPhone on ContactBlockSectionsPhone {
|
|
phone {
|
|
number
|
|
title
|
|
}
|
|
}
|
|
`
|
|
|
|
export const ContactTitle = gql`
|
|
fragment ContactTitle on ContactBlockSectionsTitle {
|
|
title {
|
|
text
|
|
}
|
|
}
|
|
`
|
|
|
|
export const ContactVisitingAddress = gql`
|
|
fragment ContactVisitingAddress on ContactBlockSectionsVisitingAddress {
|
|
visiting_address {
|
|
city
|
|
country
|
|
street
|
|
zip
|
|
}
|
|
}
|
|
`
|
|
|
|
export const Contact = gql`
|
|
fragment Contact on ContactBlock {
|
|
sections {
|
|
__typename
|
|
...ContactExtraInfo
|
|
...ContactMailingAddress
|
|
...ContactPhone
|
|
...ContactTitle
|
|
...ContactVisitingAddress
|
|
}
|
|
system {
|
|
locale
|
|
uid
|
|
}
|
|
}
|
|
${ContactExtraInfo}
|
|
${ContactMailingAddress}
|
|
${ContactPhone}
|
|
${ContactTitle}
|
|
${ContactVisitingAddress}
|
|
`
|