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:
174
packages/trpc/lib/graphql/Fragments/Alert.graphql.ts
Normal file
174
packages/trpc/lib/graphql/Fragments/Alert.graphql.ts
Normal file
@@ -0,0 +1,174 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "./AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "./CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "./CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "./CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "./ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "./DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "./DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "./DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "./HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "./LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "./PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "./PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "./PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "./PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "./PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "./PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "./PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "./StartPage/Ref.graphql"
|
||||
|
||||
export const Alert = gql`
|
||||
fragment Alert on Alert {
|
||||
type
|
||||
heading
|
||||
text
|
||||
phone_contact {
|
||||
display_text
|
||||
phone_number
|
||||
footnote
|
||||
}
|
||||
has_link
|
||||
link {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_sidepeek_button
|
||||
sidepeek_button {
|
||||
cta_text
|
||||
}
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
visible_on
|
||||
}
|
||||
|
||||
fragment System on SystemMetadata {
|
||||
id
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const AlertRef = gql`
|
||||
fragment AlertRef on Alert {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
visible_on
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
Reference in New Issue
Block a user