fix: add all pages as possible references

This commit is contained in:
Christel Westerberg
2024-12-27 09:25:38 +01:00
parent 97f11a2488
commit c42a03803c
42 changed files with 319 additions and 74 deletions

View File

@@ -2,11 +2,13 @@
#import "./PageLink/ContentPageLink.graphql"
#import "./PageLink/HotelPageLink.graphql"
#import "./PageLink/LoyaltyPageLink.graphql"
#import "./PageLink/CollectionPageLink.graphql"
#import "./AccountPage/Ref.graphql"
#import "./ContentPage/Ref.graphql"
#import "./HotelPage/Ref.graphql"
#import "./LoyaltyPage/Ref.graphql"
#import "./CollectionPage/Ref.graphql"
fragment Alert on Alert {
type
@@ -28,6 +30,7 @@ fragment Alert on Alert {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
@@ -47,6 +50,7 @@ fragment Alert on Alert {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
@@ -65,6 +69,7 @@ fragment AlertRef on Alert {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}
@@ -79,6 +84,7 @@ fragment AlertRef on Alert {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}

View File

@@ -25,6 +25,29 @@ fragment AccordionBlock on Accordion {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
}
}
}
fragment GlobalAccordionBlock on GlobalAccordion {
__typename
questions {
question
answer {
json
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
@@ -72,6 +95,7 @@ fragment SpecificAccordion on ContentPageBlocksAccordionBlockAccordionsSpecificA
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
@@ -114,6 +138,7 @@ fragment SpecificAccordionRefs on ContentPageBlocksAccordionBlockAccordionsSpeci
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}

View File

@@ -3,6 +3,8 @@
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
fragment CardBlock on Card {
background_image
@@ -27,6 +29,8 @@ fragment CardBlock on Card {
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
...HotelPageLink
...CollectionPageLink
}
}
}
@@ -46,6 +50,8 @@ fragment CardBlock on Card {
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
...HotelPageLink
...CollectionPageLink
}
}
}

View File

@@ -5,11 +5,13 @@
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
fragment Content_ContentPage on ContentPageBlocksContent {
content {
@@ -20,6 +22,7 @@ fragment Content_ContentPage on ContentPageBlocksContent {
__typename
...AccountPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
...LoyaltyPageLink
...ImageContainer
@@ -40,6 +43,7 @@ fragment Content_ContentPageRefs on ContentPageBlocksContent {
__typename
...AccountPageRef
...ContentPageRef
...CollectionPageRef
...HotelPageRef
...LoyaltyPageRef
...ImageContainerRef
@@ -63,6 +67,8 @@ fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
...Image
...ImageContainer
...LoyaltyPageLink
...CollectionPageLink
...HotelPageLink
}
}
}
@@ -81,6 +87,8 @@ fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent {
...ContentPageRef
...ImageContainerRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}

View File

@@ -2,9 +2,11 @@
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
@@ -21,6 +23,9 @@ fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
__typename
...AccountPageLink
...LoyaltyPageLink
...ContentPageLink
...HotelPageLink
...CollectionPageLink
}
}
}
@@ -37,6 +42,9 @@ fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
__typename
...AccountPageRef
...LoyaltyPageRef
...ContentPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -55,7 +63,9 @@ fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
...LoyaltyPageLink
}
@@ -75,6 +85,8 @@ fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...AccountPageRef
...CollectionPageRef
}
}
}
@@ -95,6 +107,9 @@ fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
__typename
...ContentPageLink
...LoyaltyPageLink
...AccountPageLink
...HotelPageLink
...CollectionPageLink
}
}
}
@@ -109,8 +124,11 @@ fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent {
edges {
node {
__typename
...ContentPageLink
...LoyaltyPageLink
...ContentPageRef
...LoyaltyPageRef
...AccountPageRef
...HotelPageRef
...CollectionPageRef
}
}
}

View File

@@ -1,5 +1,11 @@
#import "../System.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
fragment LoyaltyCardBlock on LoyaltyCard {
body_text
heading
@@ -19,6 +25,8 @@ fragment LoyaltyCardBlock on LoyaltyCard {
...LoyaltyPageLink
...ContentPageLink
...AccountPageLink
...HotelPageLink
...CollectionPageLink
}
}
}

View File

@@ -2,6 +2,7 @@
#import "../../ContentPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
fragment AccordionBlockRefs on Accordion {
questions {
@@ -14,6 +15,26 @@ fragment AccordionBlockRefs on Accordion {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}
}
}
}
fragment GlobalAccordionBlockRefs on GlobalAccordion {
questions {
answer {
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}

View File

@@ -1,6 +1,8 @@
#import "../../AccountPage/Ref.graphql"
#import "../../ContentPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
fragment CardBlockRef on Card {
secondary_button {
@@ -11,6 +13,8 @@ fragment CardBlockRef on Card {
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}
@@ -23,6 +27,8 @@ fragment CardBlockRef on Card {
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}

View File

@@ -1,3 +1,9 @@
#import "../../AccountPage/Ref.graphql"
#import "../../ContentPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
fragment LoyaltyCardBlockRef on LoyaltyCard {
link {
linkConnection {
@@ -7,6 +13,8 @@ fragment LoyaltyCardBlockRef on LoyaltyCard {
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
...HotelPageRef
...CollectionPageRef
}
}
}

View File

@@ -2,6 +2,7 @@
#import "../../ContentPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
fragment TeaserCardBlockRef on TeaserCard {
secondary_button {
@@ -13,6 +14,7 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -26,6 +28,7 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -40,6 +43,7 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -52,6 +56,8 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
...AccountPageRef
}
}
}
@@ -64,6 +70,8 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
...AccountPageRef
}
}
}

View File

@@ -2,11 +2,13 @@
#import "../CollectionPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
fragment Shortcuts on Shortcuts {
subtitle: preamble
@@ -22,6 +24,8 @@ fragment Shortcuts on Shortcuts {
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
...CollectionPageLink
...HotelPageLink
}
}
}
@@ -61,6 +65,8 @@ fragment ShortcutsRefs on Shortcuts {
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}

View File

@@ -2,6 +2,7 @@
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
@@ -28,6 +29,7 @@ fragment TeaserCardBlock on TeaserCard {
...LoyaltyPageLink
...ContentPageLink
...AccountPageLink
...CollectionPageLink
...HotelPageLink
}
}
@@ -47,6 +49,7 @@ fragment TeaserCardBlock on TeaserCard {
__typename
...LoyaltyPageLink
...ContentPageLink
...CollectionPageLink
...AccountPageLink
...HotelPageLink
}
@@ -65,6 +68,7 @@ fragment TeaserCardBlock on TeaserCard {
__typename
...AccountPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
...LoyaltyPageLink
}
@@ -85,8 +89,10 @@ fragment TeaserCardBlock on TeaserCard {
edges {
node {
__typename
...AccountPageLink
...LoyaltyPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
}
}
@@ -105,8 +111,10 @@ fragment TeaserCardBlock on TeaserCard {
edges {
node {
__typename
...AccountPageLink
...LoyaltyPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
}
}

View File

@@ -1,10 +1,14 @@
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../AccountPage/Ref.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/AccountPageLink.graphql"
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
text_cols {
@@ -19,6 +23,8 @@ fragment TextCols_ContentPage on ContentPageBlocksTextCols {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
...AccountPageLink
}
}
}
@@ -40,10 +46,12 @@ fragment TextCols_ContentPageRef on ContentPageBlocksTextCols {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}
}
}
}
}
}

View File

@@ -2,11 +2,13 @@
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../AccountPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
__typename
@@ -28,6 +30,7 @@ fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
@@ -57,6 +60,7 @@ fragment UspGrid_ContentPageRefs on ContentPageBlocksUspGrid {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}
@@ -89,6 +93,7 @@ fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
}
}
}
@@ -118,6 +123,7 @@ fragment UspGrid_CollectionPageRefs on CollectionPageBlocksUspGrid {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}

View File

@@ -2,8 +2,9 @@
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/AccountPageLink.graphql"
fragment NavigationLinks on CollectionPageHeader {
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
navigation_links {
title
linkConnection {
@@ -14,6 +15,24 @@ fragment NavigationLinks on CollectionPageHeader {
...CollectionPageLink
...ContentPageLink
...LoyaltyPageLink
...AccountPageLink
}
}
}
}
}
fragment NavigationLinksRef_CollectionPage on CollectionPageHeader {
navigation_links {
linkConnection {
edges {
node {
__typename
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}

View File

@@ -1,8 +1,16 @@
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/AccountPageLink.graphql"
fragment NavigationLinks on ContentPageHeader {
#import "../ContentPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../AccountPage/Ref.graphql"
fragment NavigationLinks_ContentPage on ContentPageHeader {
navigation_links {
title
linkConnection {
@@ -12,6 +20,25 @@ fragment NavigationLinks on ContentPageHeader {
...HotelPageLink
...ContentPageLink
...LoyaltyPageLink
...CollectionPageLink
...AccountPageLink
}
}
}
}
}
fragment NavigationLinksRef_ContentPage on ContentPageHeader {
navigation_links {
linkConnection {
edges {
node {
__typename
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}

View File

@@ -3,9 +3,15 @@
#import "../ContentPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../AccountPage/Ref.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
content {
@@ -15,9 +21,12 @@ fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
edges {
node {
__typename
...ContentPageLink
...Image
...ImageContainer
...AccountPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
@@ -33,8 +42,11 @@ fragment ContentSidebar_ContentPageRefs on ContentPageSidebarContent {
edges {
node {
__typename
...ContentPageRef
...ImageContainerRef
...AccountPageRef
...ContentPageRef
...CollectionPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
@@ -51,9 +63,12 @@ fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent {
edges {
node {
__typename
...ContentPageLink
...Image
...ImageContainer
...AccountPageLink
...ContentPageLink
...CollectionPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
@@ -72,6 +87,9 @@ fragment ContentSidebar_LoyaltyPageRefs on LoyaltyPageSidebarContent {
...ContentPageRef
...ImageContainerRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
...AccountPageRef
}
}
}

View File

@@ -1,10 +1,14 @@
#import "../AccountPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
fragment ContactFields on ContactFields {
display_text
@@ -30,6 +34,8 @@ fragment JoinLoyaltyContactSidebar_ContentPage on ContentPageSidebarJoinLoyaltyC
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
...HotelPageLink
...CollectionPageLink
}
}
}
@@ -55,6 +61,8 @@ fragment JoinLoyaltyContactSidebar_ContentPageRefs on ContentPageSidebarJoinLoya
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -80,6 +88,8 @@ fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyC
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
...HotelPageLink
...CollectionPageLink
}
}
}
@@ -105,6 +115,8 @@ fragment JoinLoyaltyContactSidebar_LoyaltyPageRefs on LoyaltyPageSidebarJoinLoya
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}

View File

@@ -1,9 +1,13 @@
#import "../../Fragments/PageLink/AccountPageLink.graphql"
#import "../../Fragments/PageLink/ContentPageLink.graphql"
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
#import "../../Fragments/PageLink/HotelPageLink.graphql"
#import "../../Fragments/AccountPage/Ref.graphql"
#import "../../Fragments/ContentPage/Ref.graphql"
#import "../../Fragments/LoyaltyPage/Ref.graphql"
#import "../../Fragments/HotelPage/Ref.graphql"
#import "../../Fragments/CollectionPage/Ref.graphql"
#import "../../Fragments/System.graphql"
query GetNavigationMyPages($locale: String!) {
@@ -20,6 +24,8 @@ query GetNavigationMyPages($locale: String!) {
...AccountPageLink
...ContentPageLink
...LoyaltyPageLink
...CollectionPageLink
...HotelPageLink
}
}
}
@@ -42,6 +48,8 @@ query GetNavigationMyPagesRefs($locale: String!) {
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}

View File

@@ -13,7 +13,7 @@ query GetCollectionPage($locale: String!, $uid: String!) {
header {
heading
preamble
...NavigationLinks
...NavigationLinks_CollectionPage
}
blocks {
__typename
@@ -35,19 +35,7 @@ query GetCollectionPage($locale: String!, $uid: String!) {
query GetCollectionPageRefs($locale: String!, $uid: String!) {
collection_page(locale: $locale, uid: $uid) {
header {
navigation_links {
linkConnection {
edges {
node {
__typename
...CollectionPageRef
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
...NavigationLinksRef_CollectionPage
}
blocks {
__typename

View File

@@ -25,7 +25,7 @@ query GetContentPage($locale: String!, $uid: String!) {
header {
heading
preamble
...NavigationLinks
...NavigationLinks_ContentPage
}
blocks {
__typename
@@ -78,18 +78,7 @@ query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
query GetContentPageRefs($locale: String!, $uid: String!) {
content_page(locale: $locale, uid: $uid) {
header {
navigation_links {
linkConnection {
edges {
node {
__typename
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
...NavigationLinksRef_ContentPage
}
sidebar {
__typename

View File

@@ -4,11 +4,13 @@
#import "../Fragments/PageLink/ContentPageLink.graphql"
#import "../Fragments/PageLink/HotelPageLink.graphql"
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
#import "../Fragments/PageLink/CollectionPageLink.graphql"
#import "../Fragments/AccountPage/Ref.graphql"
#import "../Fragments/ContentPage/Ref.graphql"
#import "../Fragments/HotelPage/Ref.graphql"
#import "../Fragments/LoyaltyPage/Ref.graphql"
#import "../Fragments/CollectionPage/Ref.graphql"
#import "../Fragments/Footer/AppDownloads.graphql"
#import "../Fragments/Footer/SocialMedia.graphql"
@@ -29,6 +31,8 @@ query GetFooter($locale: String!) {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...AccountPageLink
...CollectionPageLink
}
}
}
@@ -44,6 +48,8 @@ query GetFooter($locale: String!) {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...AccountPageLink
...CollectionPageLink
}
}
}
@@ -66,6 +72,8 @@ query GetFooter($locale: String!) {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...AccountPageLink
...CollectionPageLink
}
}
}
@@ -86,6 +94,8 @@ query GetFooterRef($locale: String!) {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...AccountPageRef
...CollectionPageRef
}
}
}
@@ -98,6 +108,8 @@ query GetFooterRef($locale: String!) {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...AccountPageRef
...CollectionPageRef
}
}
}
@@ -110,6 +122,8 @@ query GetFooterRef($locale: String!) {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...AccountPageRef
...CollectionPageRef
}
}
}

View File

@@ -60,6 +60,8 @@ query GetHeader($locale: String!) {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
...AccountPageLink
}
}
}
@@ -72,6 +74,8 @@ query GetHeader($locale: String!) {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
...AccountPageLink
}
}
}
@@ -87,6 +91,8 @@ query GetHeader($locale: String!) {
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
...CollectionPageLink
...AccountPageLink
}
}
}
@@ -146,6 +152,8 @@ query GetHeaderRef($locale: String!) {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}
@@ -157,6 +165,8 @@ query GetHeaderRef($locale: String!) {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}
@@ -170,6 +180,8 @@ query GetHeaderRef($locale: String!) {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}

View File

@@ -2,8 +2,16 @@
#import "../../Fragments/PageLink/ContentPageLink.graphql"
#import "../../Fragments/PageLink/HotelPageLink.graphql"
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
#import "../../Fragments/AccountPage/Ref.graphql"
#import "../../Fragments/ContentPage/Ref.graphql"
#import "../../Fragments/HotelPage/Ref.graphql"
#import "../../Fragments/LoyaltyPage/Ref.graphql"
#import "../../Fragments/CollectionPage/Ref.graphql"
#import "../../Fragments/Blocks/Accordion.graphql"
#import "../../Fragments/Blocks/Refs/Accordion.graphql"
query GetHotelPage($locale: String!, $uid: String!) {
hotel_page(locale: $locale, uid: $uid) {
@@ -23,23 +31,7 @@ query GetHotelPage($locale: String!, $uid: String!) {
}
specific_faq {
__typename
questions {
question
answer {
json
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageLink
...ContentPageLink
...HotelPageLink
...LoyaltyPageLink
}
}
}
}
}
...GlobalAccordionBlock
}
}
content {
@@ -86,21 +78,7 @@ query GetHotelPageRefs($locale: String!, $uid: String!) {
}
}
specific_faq {
questions {
answer {
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
}
...GlobalAccordionBlockRefs
}
}
content {