95 lines
2.1 KiB
GraphQL
95 lines
2.1 KiB
GraphQL
#import "../Fragments/MyPages/AccountPage/AccountPageContentDynamicContent.graphql"
|
|
#import "../Fragments/MyPages/AccountPage/AccountPageContentShortcuts.graphql"
|
|
#import "../Fragments/MyPages/AccountPage/AccountPageContentTextContent.graphql"
|
|
|
|
#import "../Fragments/Refs/MyPages/AccountPage.graphql"
|
|
#import "../Fragments/Refs/ContentPage.graphql"
|
|
#import "../Fragments/Refs/LoyaltyPage/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
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetDaDeEnUrlsAccountPage($uid: String!) {
|
|
de: account_page(uid: $uid, locale: "de") {
|
|
url
|
|
}
|
|
en: account_page(uid: $uid, locale: "en") {
|
|
url
|
|
}
|
|
da: account_page(uid: $uid, locale: "da") {
|
|
url
|
|
}
|
|
}
|
|
|
|
query GetFiNoSvUrlsAccountPage($uid: String!) {
|
|
fi: account_page(uid: $uid, locale: "fi") {
|
|
items {
|
|
url
|
|
}
|
|
}
|
|
no: account_page(uid: $uid, locale: "no") {
|
|
items {
|
|
url
|
|
}
|
|
}
|
|
sv: account_page(uid: $uid, locale: "sv") {
|
|
items {
|
|
url
|
|
}
|
|
}
|
|
}
|