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,16 @@
#import "../Fragments/MyPages/AccountPageContentDynamicContent.graphql"
#import "../Fragments/MyPages/AccountPageContentShortcuts.graphql"
query GetAccountPage($locale: String!, $url: String!) {
all_account_page(limit: 1, locale: $locale, where: { url: $url }) {
items {
url
title
content {
__typename
...AccountPageContentDynamicContent
...AccountPageContentShortcuts
}
}
}
}