Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
363 lines
10 KiB
TypeScript
363 lines
10 KiB
TypeScript
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 DynamicContent_AccountPage = gql`
|
|
fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
|
|
dynamic_content {
|
|
component
|
|
subtitle: preamble
|
|
title
|
|
link {
|
|
text: link_text
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CampaignOverviewPageLink
|
|
...CampaignPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
...PromoCampaignPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageLink}
|
|
${CampaignOverviewPageLink}
|
|
${CampaignPageLink}
|
|
${CollectionPageLink}
|
|
${ContentPageLink}
|
|
${DestinationCityPageLink}
|
|
${DestinationCountryPageLink}
|
|
${DestinationOverviewPageLink}
|
|
${HotelPageLink}
|
|
${LoyaltyPageLink}
|
|
${StartPageLink}
|
|
${PromoCampaignPageLink}
|
|
`
|
|
|
|
export const DynamicContent_AccountPageRefs = gql`
|
|
fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
|
|
dynamic_content {
|
|
link {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageRef}
|
|
${CampaignOverviewPageRef}
|
|
${CampaignPageRef}
|
|
${CollectionPageRef}
|
|
${ContentPageRef}
|
|
${DestinationCityPageRef}
|
|
${DestinationCountryPageRef}
|
|
${DestinationOverviewPageRef}
|
|
${HotelPageRef}
|
|
${LoyaltyPageRef}
|
|
${StartPageRef}
|
|
${PromoCampaignPageRef}
|
|
`
|
|
|
|
export const DynamicContent_CollectionPage = gql`
|
|
fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent {
|
|
dynamic_content {
|
|
component
|
|
subtitle
|
|
title
|
|
link {
|
|
text
|
|
linkConnection: pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CampaignOverviewPageLink
|
|
...CampaignPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
...PromoCampaignPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageLink}
|
|
${CampaignOverviewPageLink}
|
|
${CampaignPageLink}
|
|
${CollectionPageLink}
|
|
${ContentPageLink}
|
|
${DestinationCityPageLink}
|
|
${DestinationCountryPageLink}
|
|
${DestinationOverviewPageLink}
|
|
${HotelPageLink}
|
|
${LoyaltyPageLink}
|
|
${StartPageLink}
|
|
${PromoCampaignPageLink}
|
|
`
|
|
|
|
export const DynamicContent_CollectionPageRefs = gql`
|
|
fragment DynamicContent_CollectionPageRefs on CollectionPageBlocksDynamicContent {
|
|
dynamic_content {
|
|
link {
|
|
linkConnection: pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageRef}
|
|
${CampaignOverviewPageRef}
|
|
${CampaignPageRef}
|
|
${CollectionPageRef}
|
|
${ContentPageRef}
|
|
${DestinationCityPageRef}
|
|
${DestinationCountryPageRef}
|
|
${DestinationOverviewPageRef}
|
|
${HotelPageRef}
|
|
${LoyaltyPageRef}
|
|
${StartPageRef}
|
|
${PromoCampaignPageRef}
|
|
`
|
|
|
|
export const DynamicContent_ContentPage = gql`
|
|
fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
|
dynamic_content {
|
|
component
|
|
subtitle
|
|
title
|
|
link {
|
|
text
|
|
linkConnection: pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CampaignOverviewPageLink
|
|
...CampaignPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
...PromoCampaignPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageLink}
|
|
${CampaignOverviewPageLink}
|
|
${CampaignPageLink}
|
|
${CollectionPageLink}
|
|
${ContentPageLink}
|
|
${DestinationCityPageLink}
|
|
${DestinationCountryPageLink}
|
|
${DestinationOverviewPageLink}
|
|
${HotelPageLink}
|
|
${LoyaltyPageLink}
|
|
${StartPageLink}
|
|
${PromoCampaignPageLink}
|
|
`
|
|
|
|
export const DynamicContent_ContentPageRefs = gql`
|
|
fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent {
|
|
dynamic_content {
|
|
link {
|
|
linkConnection: pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageRef}
|
|
${CampaignOverviewPageRef}
|
|
${CampaignPageRef}
|
|
${CollectionPageRef}
|
|
${ContentPageRef}
|
|
${DestinationCityPageRef}
|
|
${DestinationCountryPageRef}
|
|
${DestinationOverviewPageRef}
|
|
${HotelPageRef}
|
|
${LoyaltyPageRef}
|
|
${StartPageRef}
|
|
${PromoCampaignPageRef}
|
|
`
|
|
|
|
export const DynamicContent_LoyaltyPage = gql`
|
|
fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
|
|
dynamic_content {
|
|
component
|
|
subtitle
|
|
title
|
|
link {
|
|
text
|
|
linkConnection: pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CampaignOverviewPageLink
|
|
...CampaignPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
...PromoCampaignPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageLink}
|
|
${CampaignOverviewPageLink}
|
|
${CampaignPageLink}
|
|
${CollectionPageLink}
|
|
${ContentPageLink}
|
|
${DestinationCityPageLink}
|
|
${DestinationCountryPageLink}
|
|
${DestinationOverviewPageLink}
|
|
${HotelPageLink}
|
|
${LoyaltyPageLink}
|
|
${StartPageLink}
|
|
${PromoCampaignPageLink}
|
|
`
|
|
|
|
export const DynamicContent_LoyaltyPageRefs = gql`
|
|
fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent {
|
|
dynamic_content {
|
|
link {
|
|
linkConnection: pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${AccountPageRef}
|
|
${CampaignOverviewPageRef}
|
|
${CampaignPageRef}
|
|
${CollectionPageRef}
|
|
${ContentPageRef}
|
|
${DestinationCityPageRef}
|
|
${DestinationCountryPageRef}
|
|
${DestinationOverviewPageRef}
|
|
${HotelPageRef}
|
|
${LoyaltyPageRef}
|
|
${StartPageRef}
|
|
${PromoCampaignPageRef}
|
|
`
|