feat: add Account Page query
This commit is contained in:
4
lib/graphql/Fragments/MyPages/AccountPage.graphql
Normal file
4
lib/graphql/Fragments/MyPages/AccountPage.graphql
Normal file
@@ -0,0 +1,4 @@
|
||||
fragment AccountPage on AccountPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
#import "./AccountPage.graphql"
|
||||
#import "./LoyaltyPage.graphql"
|
||||
|
||||
fragment AccountPageContentDynamicContent on AccountPageContentDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
title
|
||||
link {
|
||||
link_text
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
...LoyaltyPage
|
||||
...AccountPage
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
|
||||
shortcuts {
|
||||
title
|
||||
}
|
||||
}
|
||||
4
lib/graphql/Fragments/MyPages/LoyaltyPage.graphql
Normal file
4
lib/graphql/Fragments/MyPages/LoyaltyPage.graphql
Normal file
@@ -0,0 +1,4 @@
|
||||
fragment LoyaltyPage on LoyaltyPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
Reference in New Issue
Block a user