Feat/support for all page links * feat: added all page link connections to queries * feat: updated output files Approved-by: Fredrik Thorsson Approved-by: Matilda Landström
175 lines
4.0 KiB
GraphQL
175 lines
4.0 KiB
GraphQL
#import "../PageLink/AccountPageLink.graphql"
|
|
#import "../PageLink/CollectionPageLink.graphql"
|
|
#import "../PageLink/ContentPageLink.graphql"
|
|
#import "../PageLink/DestinationCityPageLink.graphql"
|
|
#import "../PageLink/DestinationCountryPageLink.graphql"
|
|
#import "../PageLink/DestinationOverviewPageLink.graphql"
|
|
#import "../PageLink/HotelPageLink.graphql"
|
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
|
#import "../PageLink/StartPageLink.graphql"
|
|
|
|
#import "../AccountPage/Ref.graphql"
|
|
#import "../CollectionPage/Ref.graphql"
|
|
#import "../ContentPage/Ref.graphql"
|
|
#import "../DestinationCityPage/Ref.graphql"
|
|
#import "../DestinationCountryPage/Ref.graphql"
|
|
#import "../DestinationOverviewPage/Ref.graphql"
|
|
#import "../HotelPage/Ref.graphql"
|
|
#import "../LoyaltyPage/Ref.graphql"
|
|
#import "../StartPage/Ref.graphql"
|
|
|
|
#import "./Refs/Accordion.graphql"
|
|
|
|
fragment AccordionBlock on Accordion {
|
|
__typename
|
|
title
|
|
questions {
|
|
question
|
|
answer {
|
|
json
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordionBlock on GlobalAccordion {
|
|
__typename
|
|
questions {
|
|
question
|
|
answer {
|
|
json
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment Accordion_ContentPage on ContentPageBlocksAccordion {
|
|
__typename
|
|
accordion {
|
|
title
|
|
accordions {
|
|
__typename
|
|
...GlobalAccordion
|
|
...SpecificAccordion
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
__typename
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion on ContentPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
__typename
|
|
specific_accordion {
|
|
questions {
|
|
question
|
|
answer {
|
|
json
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment Accordion_ContentPageRefs on ContentPageBlocksAccordion {
|
|
accordion {
|
|
accordions {
|
|
__typename
|
|
...GlobalAccordionRefs
|
|
...SpecificAccordionRefs
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordionRefs on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlockRefs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordionRefs on ContentPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
specific_accordion {
|
|
questions {
|
|
answer {
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|