fix(SW-438): add ContentCard, ScriptedCard and Shortcuts to ContentPage sidebar
This commit is contained in:
37
lib/graphql/Fragments/Sidebar/ContentCard.graphql
Normal file
37
lib/graphql/Fragments/Sidebar/ContentCard.graphql
Normal file
@@ -0,0 +1,37 @@
|
||||
#import "../AccountPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
#import "../Blocks/TeaserCard.graphql"
|
||||
#import "../Blocks/Refs/TeaserCard.graphql"
|
||||
|
||||
fragment ContentCardSidebar_ContentPage on ContentPageSidebarContentCard {
|
||||
__typename
|
||||
content_card {
|
||||
theme
|
||||
content_cardConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...TeaserCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment ContentCardSidebar_ContentPageRefs on ContentPageSidebarContentCard {
|
||||
content_card {
|
||||
content_cardConnection {
|
||||
edges {
|
||||
node {
|
||||
...TeaserCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
22
lib/graphql/Fragments/Sidebar/QuickLinks.graphql
Normal file
22
lib/graphql/Fragments/Sidebar/QuickLinks.graphql
Normal file
@@ -0,0 +1,22 @@
|
||||
#import "../AccountPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
#import "../Blocks/Shortcuts.graphql"
|
||||
|
||||
fragment QuickLinksSidebar_ContentPage on ContentPageSidebarShortcuts {
|
||||
__typename
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
|
||||
fragment QuickLinksSidebar_ContentPageRefs on ContentPageSidebarShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
37
lib/graphql/Fragments/Sidebar/ScriptedCard.graphql
Normal file
37
lib/graphql/Fragments/Sidebar/ScriptedCard.graphql
Normal file
@@ -0,0 +1,37 @@
|
||||
#import "../AccountPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
#import "../Blocks/Card.graphql"
|
||||
#import "../Blocks/Refs/Card.graphql"
|
||||
|
||||
fragment ScriptedCardSidebar_ContentPage on ContentPageSidebarScriptedCard {
|
||||
__typename
|
||||
scripted_card {
|
||||
theme
|
||||
scripted_cardConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment ScriptedCardSidebar_ContentPageRefs on ContentPageSidebarContentCard {
|
||||
scripted_card {
|
||||
scripted_cardConnection {
|
||||
edges {
|
||||
node {
|
||||
...CardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user