fix(SW-194): add accordion graphql request
This commit is contained in:
122
lib/graphql/Fragments/Blocks/Accordion.graphql
Normal file
122
lib/graphql/Fragments/Blocks/Accordion.graphql
Normal file
@@ -0,0 +1,122 @@
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/HotelPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
#import "../AccountPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
|
||||
fragment Accordion_ContentPage on ContentPageBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
faq {
|
||||
__typename
|
||||
...GlobalFaq
|
||||
...SpecificFaq
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalFaq on ContentPageBlocksAccordionBlockFaqGlobalFaq {
|
||||
__typename
|
||||
global_faq {
|
||||
global_faqConnection {
|
||||
edges {
|
||||
node {
|
||||
... on Accordion {
|
||||
__typename
|
||||
title
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ContentPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificFaq on ContentPageBlocksAccordionBlockFaqSpecificFaq {
|
||||
__typename
|
||||
specific_faq {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ContentPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_ContentPageRefs on ContentPageBlocksAccordion {
|
||||
accordion {
|
||||
faq {
|
||||
...GlobalFaqRefs
|
||||
...SpecificFaqRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalFaqRefs on ContentPageBlocksAccordionBlockFaqGlobalFaq {
|
||||
global_faq {
|
||||
global_faqConnection {
|
||||
edges {
|
||||
node {
|
||||
... on Accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ContentPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificFaqRefs on ContentPageBlocksAccordionBlockFaqSpecificFaq {
|
||||
specific_faq {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ContentPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user