Merged in feat/rework-contentstack (pull request #3493)

Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation

* Remove all REFS

* Revalidate correct language

* PR fixes

* PR fixes

* Throw when errors from contentstack api


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2026-01-27 12:38:36 +00:00
parent a5e214f783
commit 5fc93472f4
193 changed files with 489 additions and 9018 deletions

View File

@@ -1,15 +1,5 @@
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"
@@ -22,10 +12,7 @@ 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"
import { SysAsset } from "../SysAsset.graphql"
import { AccordionBlockRefs } from "./Refs/Accordion.graphql"
export const AccordionBlock = gql`
fragment AccordionBlock on Accordion {
@@ -196,76 +183,6 @@ export const Accordion_AccountPage = gql`
${SpecificAccordion_AccountPage}
`
const GlobalAccordion_AccountPageRefs = gql`
fragment GlobalAccordion_AccountPageRefs on AccountPageContentAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
const SpecificAccordion_AccountPageRefs = gql`
fragment SpecificAccordion_AccountPageRefs on AccountPageContentAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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 Accordion_AccountPageRefs = gql`
fragment Accordion_AccountPageRefs on AccountPageContentAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_AccountPageRefs
...SpecificAccordion_AccountPageRefs
}
}
}
${GlobalAccordion_AccountPageRefs}
${SpecificAccordion_AccountPageRefs}
`
const GlobalAccordion_ContentPage = gql`
fragment GlobalAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
__typename
@@ -345,65 +262,6 @@ export const Accordion_ContentPage = gql`
${SpecificAccordion_ContentPage}
`
const GlobalAccordion_ContentPageRefs = gql`
fragment GlobalAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
const SpecificAccordion_ContentPageRefs = gql`
fragment SpecificAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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}
`
const GlobalAccordion_DestinationCityPage = gql`
fragment GlobalAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
__typename
@@ -467,90 +325,6 @@ const SpecificAccordion_DestinationCityPage = gql`
${PromoCampaignPageLink}
`
const GlobalAccordion_DestinationCityPageRefs = gql`
fragment GlobalAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
export const Accordion_ContentPageRefs = gql`
fragment Accordion_ContentPageRefs on ContentPageBlocksAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_ContentPageRefs
...SpecificAccordion_ContentPageRefs
}
}
}
${GlobalAccordion_ContentPageRefs}
${SpecificAccordion_ContentPageRefs}
`
const SpecificAccordion_DestinationCityPageRefs = gql`
fragment SpecificAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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 Accordion_DestinationCityPageRefs = gql`
fragment Accordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_DestinationCityPageRefs
...SpecificAccordion_DestinationCityPageRefs
}
}
}
${GlobalAccordion_DestinationCityPageRefs}
${SpecificAccordion_DestinationCityPageRefs}
`
const GlobalAccordion_DestinationCountryPage = gql`
fragment GlobalAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
__typename
@@ -630,77 +404,6 @@ export const Accordion_DestinationCountryPage = gql`
${SpecificAccordion_DestinationCountryPage}
`
const GlobalAccordion_DestinationCountryPageRefs = gql`
fragment GlobalAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
const SpecificAccordion_DestinationCountryPageRefs = gql`
fragment SpecificAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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 Accordion_DestinationCountryPageRefs = gql`
fragment Accordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_DestinationCountryPageRefs
...SpecificAccordion_DestinationCountryPageRefs
}
}
}
${GlobalAccordion_DestinationCountryPageRefs}
${SpecificAccordion_DestinationCountryPageRefs}
`
const GlobalAccordion_CampaignPage = gql`
fragment GlobalAccordion_CampaignPage on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
__typename
@@ -779,76 +482,6 @@ export const Accordion_CampaignPage = gql`
${SpecificAccordion_CampaignPage}
`
const GlobalAccordion_CampaignPageRefs = gql`
fragment GlobalAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
const SpecificAccordion_CampaignPageRefs = gql`
fragment SpecificAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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 Accordion_CampaignPageRefs = gql`
fragment Accordion_CampaignPageRefs on CampaignPageBlocksAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_CampaignPageRefs
...SpecificAccordion_CampaignPageRefs
}
}
}
${GlobalAccordion_CampaignPageRefs}
${SpecificAccordion_CampaignPageRefs}
`
const GlobalAccordion_DestinationFilterBlocks = gql`
fragment GlobalAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
__typename
@@ -927,76 +560,6 @@ export const Accordion_DestinationFilterBlocks = gql`
${SpecificAccordion_DestinationFilterBlocks}
`
const GlobalAccordion_DestinationFilterBlocksRefs = gql`
fragment GlobalAccordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
const SpecificAccordion_DestinationFilterBlocksRefs = gql`
fragment SpecificAccordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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 Accordion_DestinationFilterBlocksRefs = gql`
fragment Accordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_DestinationFilterBlocksRefs
...SpecificAccordion_DestinationFilterBlocksRefs
}
}
}
${GlobalAccordion_DestinationFilterBlocksRefs}
${SpecificAccordion_DestinationFilterBlocksRefs}
`
const GlobalAccordion_PromoCampaignPage = gql`
fragment GlobalAccordion_PromoCampaignPage on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
__typename
@@ -1074,77 +637,6 @@ export const Accordion_PromoCampaignPage = gql`
${SpecificAccordion_PromoCampaignPage}
`
const GlobalAccordion_PromoCampaignPageRefs = gql`
fragment GlobalAccordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
global_accordion {
global_accordionConnection {
edges {
node {
...AccordionBlockRefs
}
}
}
}
}
${AccordionBlockRefs}
`
const SpecificAccordion_PromoCampaignPageRefs = gql`
fragment SpecificAccordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordionBlockAccordionsSpecificAccordion {
specific_accordion {
questions {
answer {
embedded_itemsConnection {
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 Accordion_PromoCampaignPageRefs = gql`
fragment Accordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordion {
accordion {
accordions {
__typename
...GlobalAccordion_PromoCampaignPageRefs
...SpecificAccordion_PromoCampaignPageRefs
}
}
}
${GlobalAccordion_PromoCampaignPageRefs}
${SpecificAccordion_PromoCampaignPageRefs}
`
export const Accordion_DestinationCityPage = gql`
fragment Accordion_DestinationCityPage on DestinationCityPageBlocksAccordion {
__typename

View File

@@ -1,8 +1,5 @@
import { gql } from "graphql-tag"
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
export const AllCampaigns = gql`
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
all_campaigns {
@@ -39,21 +36,3 @@ export const AllCampaigns = gql`
}
}
`
export const AllCampaignsRefs = gql`
fragment AllCampaignsRefs on CampaignOverviewPageBlocksAllCampaigns {
all_campaigns {
campaignsConnection {
edges {
node {
__typename
...CampaignPageRef
...PromoCampaignPageRef
}
}
}
}
}
${CampaignPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,10 +12,8 @@ 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"
import { System } from "../System.graphql"
import { ContentCardBlock, ContentCardBlockRef } from "./ContentCard.graphql"
import { ContentCardBlock } from "./ContentCard.graphql"
export const CardGallery_DestinationOverviewPage = gql`
fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCardGallery {
@@ -87,53 +75,3 @@ export const CardGallery_DestinationOverviewPage = gql`
${StartPageLink}
${PromoCampaignPageLink}
`
export const CardGallery_DestinationOverviewPageRefs = gql`
fragment CardGallery_DestinationOverviewPageRefs on DestinationOverviewPageBlocksCardGallery {
card_gallery {
card_groups {
cardsConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${ContentCardBlockRef}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,11 +12,6 @@ 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 { CardBlockRef } from "./Refs/Card.graphql"
import { InfoCardBlockRef } from "./Refs/InfoCard.graphql"
import { LoyaltyCardBlockRef } from "./Refs/LoyaltyCard.graphql"
import { TeaserCardBlockRef } from "./Refs/TeaserCard.graphql"
import { CardBlock } from "./Card.graphql"
import { InfoCardBlock } from "./InfoCard.graphql"
import { LoyaltyCardBlock } from "./LoyaltyCard.graphql"
@@ -56,26 +41,6 @@ export const CardsGrid_ContentPage = gql`
${TeaserCardBlock}
`
export const CardsGrid_ContentPageRefs = gql`
fragment CardsGrid_ContentPageRefs on ContentPageBlocksCardsGrid {
cards_grid {
cardConnection(limit: 10) {
edges {
node {
__typename
...CardBlockRef
...LoyaltyCardBlockRef
...TeaserCardBlockRef
}
}
}
}
}
${CardBlockRef}
${LoyaltyCardBlockRef}
${TeaserCardBlockRef}
`
export const CardsGrid_CollectionPage = gql`
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
cards_grid {
@@ -98,24 +63,6 @@ export const CardsGrid_CollectionPage = gql`
${TeaserCardBlock}
`
export const CardsGrid_CollectionPageRefs = gql`
fragment CardsGrid_CollectionPageRefs on CollectionPageBlocksCardsGrid {
cards_grid {
cardConnection(limit: 10) {
edges {
node {
__typename
...CardBlockRef
...TeaserCardBlockRef
}
}
}
}
}
${CardBlockRef}
${TeaserCardBlockRef}
`
export const CardsGrid_LoyaltyPage = gql`
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
cards_grid {
@@ -138,24 +85,6 @@ export const CardsGrid_LoyaltyPage = gql`
${LoyaltyCardBlock}
`
export const CardsGrid_LoyaltyPageRefs = gql`
fragment CardsGrid_LoyaltyPageRefs on LoyaltyPageBlocksCardsGrid {
cards_grid {
cardConnection(limit: 10) {
edges {
node {
__typename
...CardBlockRef
...LoyaltyCardBlockRef
}
}
}
}
}
${CardBlockRef}
${LoyaltyCardBlockRef}
`
export const CardsGrid_StartPage = gql`
fragment CardsGrid_StartPage on StartPageBlocksCardsGrid {
cards_grid {
@@ -219,55 +148,3 @@ export const CardsGrid_StartPage = gql`
${StartPageLink}
${PromoCampaignPageLink}
`
export const CardsGrid_StartPageRefs = gql`
fragment CardsGrid_StartPageRefs on StartPageBlocksCardsGrid {
cards_grid {
cardConnection(limit: 10) {
edges {
node {
__typename
...CardBlockRef
...TeaserCardBlockRef
...InfoCardBlockRef
}
}
}
link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${CardBlockRef}
${InfoCardBlockRef}
${TeaserCardBlockRef}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${ContentPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${CollectionPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -21,8 +11,7 @@ import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPage
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
import { ContentCardBlock, ContentCardBlockRef } from "./ContentCard.graphql"
import { ContentCardBlock } from "./ContentCard.graphql"
export const CarouselCards_StartPage = gql`
fragment CarouselCards_StartPage on StartPageBlocksCarouselCards {
@@ -83,54 +72,6 @@ export const CarouselCards_StartPage = gql`
${PromoCampaignPageLink}
`
export const CarouselCards_StartPageRefs = gql`
fragment CarouselCards_StartPageRefs on StartPageBlocksCarouselCards {
carousel_cards {
card_groups {
cardConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${ContentCardBlockRef}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${ContentPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${CollectionPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${PromoCampaignPageRef}
`
export const CarouselCards_CampaignPage = gql`
fragment CarouselCards_CampaignPage on CampaignPageBlocksCarouselCards {
carousel_cards {
@@ -153,23 +94,6 @@ export const CarouselCards_CampaignPage = gql`
${ContentCardBlock}
`
export const CarouselCards_CampaignPageRefs = gql`
fragment CarouselCards_CampaignPageRefs on CampaignPageBlocksCarouselCards {
carousel_cards {
card_groups {
cardConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
}
}
${ContentCardBlockRef}
`
export const CarouselCards_CampaignOverviewPage = gql`
fragment CarouselCards_CampaignOverviewPage on CampaignOverviewPageBlocksCarouselCards {
carousel_cards {
@@ -190,20 +114,3 @@ export const CarouselCards_CampaignOverviewPage = gql`
}
${ContentCardBlock}
`
export const CarouselCards_CampaignOverviewPageRefs = gql`
fragment CarouselCards_CampaignOverviewPageRefs on CampaignOverviewPageBlocksCarouselCards {
carousel_cards {
card_groups {
cardConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
}
}
${ContentCardBlockRef}
`

View File

@@ -1,16 +1,6 @@
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 { ImageContainer, ImageContainerRef } from "../ImageContainer.graphql"
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
import { ImageContainer } from "../ImageContainer.graphql"
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
@@ -23,9 +13,7 @@ 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"
import { SysAsset, SysAssetRef } from "../SysAsset.graphql"
import { SysAsset } from "../SysAsset.graphql"
export const Content_ContentPage = gql`
fragment Content_ContentPage on ContentPageBlocksContent {
@@ -72,50 +60,6 @@ export const Content_ContentPage = gql`
${PromoCampaignPageLink}
`
export const Content_ContentPageRefs = gql`
fragment Content_ContentPageRefs on ContentPageBlocksContent {
content {
content {
embedded_itemsConnection {
edges {
node {
__typename
...SysAssetRef
...ImageContainerRef
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${SysAssetRef}
${ImageContainerRef}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`
export const Content_LoyaltyPage = gql`
fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
content {
@@ -161,48 +105,6 @@ export const Content_LoyaltyPage = gql`
${PromoCampaignPageLink}
`
export const Content_LoyaltyPageRefs = gql`
fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent {
content {
content {
embedded_itemsConnection {
edges {
node {
__typename
...SysAssetRef
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${SysAssetRef}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`
export const Content_DestinationCityPage = gql`
fragment Content_DestinationCityPage on DestinationCityPageBlocksContent {
content {
@@ -244,46 +146,6 @@ export const Content_DestinationCityPage = gql`
${PromoCampaignPageLink}
`
export const Content_DestinationCityPageRefs = gql`
fragment Content_DestinationCityPageRefs on DestinationCityPageBlocksContent {
content {
content {
embedded_itemsConnection {
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 Content_DestinationCountryPage = gql`
fragment Content_DestinationCountryPage on DestinationCountryPageBlocksContent {
content {
@@ -325,46 +187,6 @@ export const Content_DestinationCountryPage = gql`
${PromoCampaignPageLink}
`
export const Content_DestinationCountryPageRefs = gql`
fragment Content_DestinationCountryPageRefs on DestinationCountryPageBlocksContent {
content {
content {
embedded_itemsConnection {
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 Content_DestinationFilterBlocks = gql`
fragment Content_DestinationFilterBlocks on DestinationFilterBlocksContent {
content {
@@ -406,46 +228,6 @@ export const Content_DestinationFilterBlocks = gql`
${PromoCampaignPageLink}
`
export const Content_DestinationFilterBlocksRefs = gql`
fragment Content_DestinationFilterBlocksRefs on DestinationFilterBlocksContent {
content {
content {
embedded_itemsConnection {
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 Content_PromoCampaignPage = gql`
fragment Content_PromoCampaignPage on PromoCampaignPageBlocksContent {
content {
@@ -488,45 +270,3 @@ export const Content_PromoCampaignPage = gql`
${StartPageLink}
${PromoCampaignPageLink}
`
export const Content_PromoCampaignPageRefs = gql`
fragment Content_PromoCampaignPageRefs on PromoCampaignPageBlocksContent {
content {
content {
embedded_itemsConnection {
edges {
node {
__typename
...SysAssetRef
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${SysAssetRef}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,8 +12,6 @@ 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"
import { System } from "../System.graphql"
export const ContentCardBlock = gql`
@@ -80,46 +68,3 @@ export const ContentCardBlock = gql`
${StartPageLink}
${PromoCampaignPageLink}
`
export const ContentCardBlockRef = gql`
fragment ContentCardBlockRef on ContentCard {
__typename
card_link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
system {
...System
}
}
${System}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${ContentPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${CollectionPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,8 +12,6 @@ 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 {
@@ -69,46 +57,6 @@ export const DynamicContent_AccountPage = gql`
${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 {
@@ -153,46 +101,6 @@ export const DynamicContent_CollectionPage = gql`
${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 {
@@ -237,46 +145,6 @@ export const DynamicContent_ContentPage = gql`
${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 {
@@ -320,43 +188,3 @@ export const DynamicContent_LoyaltyPage = gql`
${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}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -21,7 +11,6 @@ import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPage
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 {
@@ -101,62 +90,3 @@ export const FullWidthCampaign = gql`
${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}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -21,7 +11,6 @@ import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPage
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 JoinScandicFriends_StartPage = gql`
fragment JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends {
@@ -76,41 +65,3 @@ export const JoinScandicFriends_StartPage = gql`
${LoyaltyPageLink}
${PromoCampaignPageLink}
`
export const JoinScandicFriends_StartPageRefs = gql`
fragment JoinScandicFriends_StartPageRefs on StartPageBlocksJoinScandicFriends {
join_scandic_friends {
primary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,6 +1,6 @@
import { gql } from "graphql-tag"
import { Jotform, JotformRef } from "../Jotform.graphql"
import { Jotform } from "../Jotform.graphql"
export const Jotform_ContentPage = gql`
fragment Jotform_ContentPage on ContentPageBlocksJotform {
__typename
@@ -16,19 +16,3 @@ export const Jotform_ContentPage = gql`
}
${Jotform}
`
export const Jotform_ContentPageRefs = gql`
fragment Jotform_ContentPageRefs on ContentPageBlocksJotform {
__typename
jotform {
formConnection {
edges {
node {
...JotformRef
}
}
}
}
}
${JotformRef}
`

View File

@@ -1,94 +0,0 @@
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 { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
import { StartPageRef } from "../../StartPage/Ref.graphql"
export const AccordionBlockRefs = gql`
fragment AccordionBlockRefs on Accordion {
questions {
answer {
embedded_itemsConnection {
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 GlobalAccordionBlockRefs = gql`
fragment GlobalAccordionBlockRefs on GlobalAccordion {
questions {
answer {
embedded_itemsConnection {
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}
`

View File

@@ -1,78 +0,0 @@
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 { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
import { StartPageRef } from "../../StartPage/Ref.graphql"
import { System } from "../../System.graphql"
export const CardBlockRef = gql`
fragment CardBlockRef on Card {
secondary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
primary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
system {
...System
}
}
${System}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,76 +0,0 @@
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 { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
import { StartPageRef } from "../../StartPage/Ref.graphql"
export const InfoCardBlockRef = gql`
fragment InfoCardBlockRef on InfoCard {
secondary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
primary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
system {
...System
}
}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,57 +0,0 @@
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 { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
import { StartPageRef } from "../../StartPage/Ref.graphql"
import { System } from "../../System.graphql"
export const LoyaltyCardBlockRef = gql`
fragment LoyaltyCardBlockRef on LoyaltyCard {
link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
system {
...System
}
}
${System}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,141 +0,0 @@
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 { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
import { StartPageRef } from "../../StartPage/Ref.graphql"
export const TeaserCardBlockRef = gql`
fragment TeaserCardBlockRef on TeaserCard {
secondary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
primary_button {
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
}
}
}
}
primary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
secondary_button {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
system {
...System
}
}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,8 +12,6 @@ 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 Shortcuts = gql`
fragment Shortcuts on Shortcuts {
@@ -108,77 +96,3 @@ export const Shortcuts_LoyaltyPage = gql`
}
${Shortcuts}
`
export const ShortcutsRefs = gql`
fragment ShortcutsRefs on Shortcuts {
shortcuts {
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 Shortcuts_AccountPageRefs = gql`
fragment Shortcuts_AccountPageRefs on AccountPageContentShortcuts {
shortcuts {
...ShortcutsRefs
}
}
${ShortcutsRefs}
`
export const Shortcuts_CollectionPageRefs = gql`
fragment Shortcuts_CollectionPageRefs on CollectionPageBlocksShortcuts {
shortcuts {
...ShortcutsRefs
}
}
${ShortcutsRefs}
`
export const Shortcuts_ContentPageRefs = gql`
fragment Shortcuts_ContentPageRefs on ContentPageBlocksShortcuts {
shortcuts {
...ShortcutsRefs
}
}
${ShortcutsRefs}
`
export const Shortcuts_LoyaltyPageRefs = gql`
fragment Shortcuts_LoyaltyPageRefs on LoyaltyPageBlocksShortcuts {
shortcuts {
...ShortcutsRefs
}
}
${ShortcutsRefs}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,8 +12,6 @@ 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 TextCols_ContentPage = gql`
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
@@ -68,47 +56,3 @@ export const TextCols_ContentPage = gql`
${StartPageLink}
${PromoCampaignPageLink}
`
export const TextCols_ContentPageRef = gql`
fragment TextCols_ContentPageRef on ContentPageBlocksTextCols {
text_cols {
columns {
title
text {
json
embedded_itemsConnection {
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}
`

View File

@@ -1,15 +1,5 @@
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"
@@ -22,8 +12,6 @@ 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 UspGrid_ContentPage = gql`
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
@@ -80,56 +68,6 @@ export const UspGrid_ContentPage = gql`
${PromoCampaignPageLink}
`
export const UspGrid_ContentPageRefs = gql`
fragment UspGrid_ContentPageRefs on ContentPageBlocksUspGrid {
usp_grid {
cardsConnection {
edges {
node {
... on UspGrid {
usp_card {
text {
embedded_itemsConnection {
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 UspGrid_CollectionPage = gql`
fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
__typename
@@ -183,52 +121,3 @@ export const UspGrid_CollectionPage = gql`
${StartPageLink}
${PromoCampaignPageLink}
`
export const UspGrid_CollectionPageRefs = gql`
fragment UspGrid_CollectionPageRefs on CollectionPageBlocksUspGrid {
usp_grid {
cardsConnection {
edges {
node {
... on UspGrid {
usp_card {
text {
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
}
}
}
}
}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`

View File

@@ -1,6 +1,6 @@
import { gql } from "graphql-tag"
import { Video, VideoRef } from "../Video.graphql"
import { Video } from "../Video.graphql"
export const Video_ContentPage = gql`
fragment Video_ContentPage on ContentPageBlocksVideo {
@@ -11,13 +11,3 @@ export const Video_ContentPage = gql`
}
${Video}
`
export const Video_ContentPageRefs = gql`
fragment Video_ContentPageRefs on ContentPageBlocksVideo {
__typename
video {
...VideoRef
}
}
${VideoRef}
`

View File

@@ -1,7 +1,6 @@
import { gql } from "graphql-tag"
import { System } from "../System.graphql"
import { Video, VideoRef } from "../Video.graphql"
import { Video } from "../Video.graphql"
const VideoQuoteCard = gql`
fragment VideoQuoteCard on VideoQuoteCard {
@@ -84,83 +83,3 @@ export const VideoCard_StartPage = gql`
${VideoQuoteCard}
${VideoTextCard}
`
const VideoQuoteCardRef = gql`
fragment VideoQuoteCardRef on VideoQuoteCard {
video {
...VideoRef
}
system {
...System
}
}
${VideoRef}
${System}
`
const VideoTextCardRef = gql`
fragment VideoTextCardRef on VideoTextCard {
video {
...VideoRef
}
system {
...System
}
}
${VideoRef}
${System}
`
export const VideoCard_ContentPageRefs = gql`
fragment VideoCard_ContentPageRefs on ContentPageBlocksVideoCard {
video_card {
video_cardConnection {
edges {
node {
__typename
...VideoQuoteCardRef
...VideoTextCardRef
}
}
}
}
}
${VideoQuoteCardRef}
${VideoTextCardRef}
`
export const VideoCard_CollectionPageRefs = gql`
fragment VideoCard_CollectionPageRefs on CollectionPageBlocksVideoCard {
video_card {
video_cardConnection {
edges {
node {
__typename
...VideoQuoteCardRef
...VideoTextCardRef
}
}
}
}
}
${VideoQuoteCardRef}
${VideoTextCardRef}
`
export const VideoCard_StartPageRefs = gql`
fragment VideoCard_StartPageRefs on StartPageBlocksVideoCard {
video_card {
video_cardConnection {
edges {
node {
__typename
...VideoQuoteCardRef
...VideoTextCardRef
}
}
}
}
}
${VideoQuoteCardRef}
${VideoTextCardRef}
`