Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
This commit is contained in:
71
packages/trpc/lib/graphql/Fragments/Contact.graphql.ts
Normal file
71
packages/trpc/lib/graphql/Fragments/Contact.graphql.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
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}
|
||||
`
|
||||
Reference in New Issue
Block a user