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:
@@ -0,0 +1,162 @@
|
||||
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 { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
export const FullWidthCampaign = gql`
|
||||
fragment FullWidthCampaign on FullWidthCampaign {
|
||||
background_image
|
||||
scripted_top_title
|
||||
heading
|
||||
body_text
|
||||
has_primary_button
|
||||
primary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_secondary_button
|
||||
secondary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${ContentPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${HotelPageLink}
|
||||
${CollectionPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const FullWidthCampaignRefs = gql`
|
||||
fragment FullWidthCampaignRefs on FullWidthCampaign {
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${ContentPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${CollectionPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
Reference in New Issue
Block a user