fix(SW-438): add ContentCard, ScriptedCard and Shortcuts to ContentPage sidebar

This commit is contained in:
Matilda Landström
2024-10-14 17:11:21 +02:00
parent 66abe066ab
commit 01db5aa192
14 changed files with 290 additions and 13 deletions
@@ -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
}
}
}
}
}