feat(SW-66, SW-348): search functionality and ui
This commit is contained in:
61
lib/graphql/Query/AccountPage/AccountPage.graphql
Normal file
61
lib/graphql/Query/AccountPage/AccountPage.graphql
Normal file
@@ -0,0 +1,61 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/DynamicContent.graphql"
|
||||
#import "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
#import "../../Fragments/Blocks/TextContent.graphql"
|
||||
|
||||
query GetAccountPage($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
heading
|
||||
title
|
||||
url
|
||||
content {
|
||||
__typename
|
||||
...DynamicContent_AccountPage
|
||||
...Shortcuts_AccountPage
|
||||
...TextContent_AccountPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetAccountPageRefs($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
content {
|
||||
__typename
|
||||
...DynamicContent_AccountPageRefs
|
||||
...Shortcuts_AccountPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsAccountPage($uid: String!) {
|
||||
de: account_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: account_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: account_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsAccountPage($uid: String!) {
|
||||
fi: account_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: account_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: account_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user