feat(BOOK-56): Added content related to destination filters
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -609,3 +609,108 @@ fragment SpecificAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockA
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationFilterBlocks on DestinationFilterBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationFilterBlocks
|
||||
...SpecificAccordion_DestinationFilterBlocks
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationFilterBlocksRefs
|
||||
...SpecificAccordion_DestinationFilterBlocksRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -233,3 +233,54 @@ fragment Content_DestinationCountryPageRefs on DestinationCountryPageBlocksConte
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationFilterBlocks on DestinationFilterBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationFilterBlocksRefs on DestinationFilterBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
#import "./System.graphql"
|
||||
|
||||
#import "./HotelFilter.graphql"
|
||||
|
||||
#import "./Blocks/Accordion.graphql"
|
||||
#import "./Blocks/Content.graphql"
|
||||
|
||||
fragment DestinationFilter on DestinationFilter {
|
||||
heading
|
||||
preamble
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_DestinationFilterBlocks
|
||||
...Content_DestinationFilterBlocks
|
||||
}
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DestinationFilterRef on DestinationFilter {
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_DestinationFilterBlocksRefs
|
||||
...Content_DestinationFilterBlocksRefs
|
||||
}
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilterRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/HotelFilter.graphql"
|
||||
#import "../../Fragments/DestinationFilter.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
@@ -85,13 +85,7 @@ query GetDestinationCityPage($locale: String!, $uid: String!) {
|
||||
...Content_DestinationCityPage
|
||||
}
|
||||
seo_filters {
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
...DestinationFilter
|
||||
}
|
||||
system {
|
||||
...System
|
||||
@@ -147,13 +141,7 @@ query GetDestinationCityPageRefs($locale: String!, $uid: String!) {
|
||||
...Content_DestinationCityPageRefs
|
||||
}
|
||||
seo_filters {
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilterRef
|
||||
}
|
||||
}
|
||||
}
|
||||
...DestinationFilterRef
|
||||
}
|
||||
system {
|
||||
...System
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/HotelFilter.graphql"
|
||||
#import "../../Fragments/DestinationFilter.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
@@ -80,13 +80,7 @@ query GetDestinationCountryPage($locale: String!, $uid: String!) {
|
||||
...Content_DestinationCountryPage
|
||||
}
|
||||
seo_filters {
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
...DestinationFilter
|
||||
}
|
||||
system {
|
||||
...System
|
||||
@@ -129,13 +123,7 @@ query GetDestinationCountryPageRefs($locale: String!, $uid: String!) {
|
||||
...Content_DestinationCountryPageRefs
|
||||
}
|
||||
seo_filters {
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilterRef
|
||||
}
|
||||
}
|
||||
}
|
||||
...DestinationFilterRef
|
||||
}
|
||||
system {
|
||||
...System
|
||||
|
||||
Reference in New Issue
Block a user