Feat/SW-1584 destination content blocks * feat(SW-1584): Added accordion and content blocks to destination city pages * feat(SW-1584): Added accordion and content blocks to destination country pages Approved-by: Matilda Landström
375 lines
8.8 KiB
GraphQL
375 lines
8.8 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_ContentPage
|
|
...SpecificAccordion_ContentPage
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
__typename
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion_ContentPage 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
|
|
...GlobalAccordion_ContentPageRefs
|
|
...SpecificAccordion_ContentPageRefs
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlockRefs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
specific_accordion {
|
|
questions {
|
|
answer {
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment Accordion_DestinationCityPage on DestinationCityPageBlocksAccordion {
|
|
__typename
|
|
accordion {
|
|
title
|
|
accordions {
|
|
__typename
|
|
...GlobalAccordion_DestinationCityPage
|
|
...SpecificAccordion_DestinationCityPage
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
__typename
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
__typename
|
|
specific_accordion {
|
|
questions {
|
|
question
|
|
answer {
|
|
json
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment Accordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordion {
|
|
accordion {
|
|
accordions {
|
|
__typename
|
|
...GlobalAccordion_DestinationCityPageRefs
|
|
...SpecificAccordion_DestinationCityPageRefs
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlockRefs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
specific_accordion {
|
|
questions {
|
|
answer {
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment Accordion_DestinationCountryPage on DestinationCountryPageBlocksAccordion {
|
|
__typename
|
|
accordion {
|
|
title
|
|
accordions {
|
|
__typename
|
|
...GlobalAccordion_DestinationCountryPage
|
|
...SpecificAccordion_DestinationCountryPage
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
__typename
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
__typename
|
|
specific_accordion {
|
|
questions {
|
|
question
|
|
answer {
|
|
json
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...CollectionPageLink
|
|
...ContentPageLink
|
|
...DestinationCityPageLink
|
|
...DestinationCountryPageLink
|
|
...DestinationOverviewPageLink
|
|
...HotelPageLink
|
|
...LoyaltyPageLink
|
|
...StartPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment Accordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordion {
|
|
accordion {
|
|
accordions {
|
|
__typename
|
|
...GlobalAccordion_DestinationCountryPageRefs
|
|
...SpecificAccordion_DestinationCountryPageRefs
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment GlobalAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
global_accordion {
|
|
global_accordionConnection {
|
|
edges {
|
|
node {
|
|
...AccordionBlockRefs
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment SpecificAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
|
specific_accordion {
|
|
questions {
|
|
answer {
|
|
embedded_itemsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|