fix: add all pages as possible references
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user