65 lines
1.6 KiB
GraphQL
65 lines
1.6 KiB
GraphQL
#import "../Fragments/MyPages/AccountPage/AccountPageContentDynamicContent.graphql"
|
|
#import "../Fragments/MyPages/AccountPage/AccountPageContentShortcuts.graphql"
|
|
#import "../Fragments/MyPages/AccountPage/AccountPageContentTextContent.graphql"
|
|
|
|
#import "../Fragments/Refs/AccountPage.graphql"
|
|
#import "../Fragments/Refs/ContentPage.graphql"
|
|
#import "../Fragments/Refs/LoyaltyPage.graphql"
|
|
#import "../Fragments/Refs/System.graphql"
|
|
|
|
query GetAccountPage($locale: String!, $uid: String!) {
|
|
account_page(locale: $locale, uid: $uid) {
|
|
url
|
|
title
|
|
content {
|
|
__typename
|
|
...AccountPageContentDynamicContent
|
|
...AccountPageContentShortcuts
|
|
...AccountPageContentTextContent
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetAccountPageRefs($locale: String!, $uid: String!) {
|
|
account_page(locale: $locale, uid: $uid) {
|
|
content {
|
|
... on AccountPageContentDynamicContent {
|
|
__typename
|
|
dynamic_content {
|
|
link {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...LoyaltyPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
... on AccountPageContentShortcuts {
|
|
__typename
|
|
shortcuts {
|
|
shortcuts {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...ContentPageRef
|
|
...LoyaltyPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
system {
|
|
...System
|
|
}
|
|
}
|
|
}
|