feat: add Account Page query

This commit is contained in:
Arvid Norlin
2024-04-18 09:31:05 +02:00
parent cb1ab4415a
commit 1543065d27
7 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
fragment AccountPage on AccountPage {
title
url
}

View File

@@ -0,0 +1,20 @@
#import "./AccountPage.graphql"
#import "./LoyaltyPage.graphql"
fragment AccountPageContentDynamicContent on AccountPageContentDynamicContent {
dynamic_content {
component
title
link {
link_text
linkConnection {
edges {
node {
...LoyaltyPage
...AccountPage
}
}
}
}
}
}

View File

@@ -0,0 +1,5 @@
fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
shortcuts {
title
}
}

View File

@@ -0,0 +1,4 @@
fragment LoyaltyPage on LoyaltyPage {
title
url
}