feat(SW-1269): added dynamic content to collection page
This commit is contained in:
@@ -52,6 +52,48 @@ fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...ContentPageLink
|
||||
...CollectionPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_CollectionPageRefs on CollectionPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ContentPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...AccountPageRef
|
||||
...CollectionPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
#import "../../Fragments/Blocks/DynamicContent.graphql"
|
||||
#import "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
#import "../../Fragments/Blocks/UspGrid.graphql"
|
||||
|
||||
@@ -20,6 +21,7 @@ query GetCollectionPage($locale: String!, $uid: String!) {
|
||||
...CardsGrid_CollectionPage
|
||||
...Shortcuts_CollectionPage
|
||||
...UspGrid_CollectionPage
|
||||
...DynamicContent_CollectionPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
@@ -42,6 +44,7 @@ query GetCollectionPageRefs($locale: String!, $uid: String!) {
|
||||
...CardsGrid_CollectionPageRefs
|
||||
...Shortcuts_CollectionPageRefs
|
||||
...UspGrid_CollectionPageRefs
|
||||
...DynamicContent_CollectionPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
|
||||
Reference in New Issue
Block a user