96 lines
2.4 KiB
GraphQL
96 lines
2.4 KiB
GraphQL
#import "../Fragments/PageLink/AccountPageLink.graphql"
|
|
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
|
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
|
#import "../Fragments/Refs/AccountPage.graphql"
|
|
#import "../Fragments/Refs/ContentPage.graphql"
|
|
#import "../Fragments/Refs/LoyaltyPage.graphql"
|
|
#import "../Fragments/Refs/System.graphql"
|
|
|
|
query GetNavigationMyPages($locale: String!) {
|
|
all_navigation_my_pages(locale: $locale, limit: 1) {
|
|
items {
|
|
items {
|
|
... on NavigationMyPagesItemsItem {
|
|
__typename
|
|
item {
|
|
link_text
|
|
sub_items {
|
|
... on NavigationMyPagesItemsItemBlockSubItemsItem {
|
|
__typename
|
|
item {
|
|
link_text
|
|
pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...ContentPageLink
|
|
...LoyaltyPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageLink
|
|
...ContentPageLink
|
|
...LoyaltyPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
title
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetNavigationMyPagesRefs($locale: String!) {
|
|
all_navigation_my_pages(locale: $locale, limit: 1) {
|
|
items {
|
|
items {
|
|
... on NavigationMyPagesItemsItem {
|
|
__typename
|
|
item {
|
|
sub_items {
|
|
... on NavigationMyPagesItemsItemBlockSubItemsItem {
|
|
__typename
|
|
item {
|
|
pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...ContentPageRef
|
|
...LoyaltyPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
pageConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...ContentPageRef
|
|
...LoyaltyPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
system {
|
|
...System
|
|
}
|
|
}
|
|
}
|
|
}
|