chore: move fragments

This commit is contained in:
Arvid Norlin
2024-04-19 15:40:40 +02:00
parent ea6890c9c6
commit 0dd8998ff8
6 changed files with 10 additions and 18 deletions

View File

@@ -0,0 +1,21 @@
#import "../../PageLink/AccountPageLink.graphql"
#import "../../PageLink/LoyaltyPageLink.graphql"
fragment AccountPageContentDynamicContent on AccountPageContentDynamicContent {
dynamic_content {
component
title
preamble
link {
link_text
linkConnection {
edges {
node {
...LoyaltyPageLink
...AccountPageLink
}
}
}
}
}
}

View File

@@ -0,0 +1,22 @@
#import "../../PageLink/AccountPageLink.graphql"
#import "../../PageLink/ContentPageLink.graphql"
#import "../../PageLink/LoyaltyPageLink.graphql"
fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
shortcuts {
title
preamble
shortcuts {
linkConnection {
edges {
node {
__typename
...AccountPageLink
...LoyaltyPageLink
...ContentPageLink
}
}
}
}
}
}