chore: move fragments
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
fragment AccountPage on AccountPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
#import "./AccountPage.graphql"
|
||||
#import "./LoyaltyPage.graphql"
|
||||
#import "../../PageLink/AccountPageLink.graphql"
|
||||
#import "../../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
fragment AccountPageContentDynamicContent on AccountPageContentDynamicContent {
|
||||
dynamic_content {
|
||||
@@ -11,8 +11,8 @@ fragment AccountPageContentDynamicContent on AccountPageContentDynamicContent {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
...LoyaltyPage
|
||||
...AccountPage
|
||||
...LoyaltyPageLink
|
||||
...AccountPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../../PageLink/AccountPageLink.graphql"
|
||||
#import "../../PageLink/ContentPageLink.graphql"
|
||||
#import "../../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
|
||||
shortcuts {
|
||||
@@ -1,4 +0,0 @@
|
||||
fragment LoyaltyPage on LoyaltyPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
#import "../Fragments/MyPages/AccountPageContentDynamicContent.graphql"
|
||||
#import "../Fragments/MyPages/AccountPageContentShortcuts.graphql"
|
||||
#import "../Fragments/MyPages/AccountPage/AccountPageContentDynamicContent.graphql"
|
||||
#import "../Fragments/MyPages/AccountPage/AccountPageContentShortcuts.graphql"
|
||||
|
||||
query GetAccountPage($locale: String!, $url: String!) {
|
||||
all_account_page(limit: 1, locale: $locale, where: { url: $url }) {
|
||||
|
||||
Reference in New Issue
Block a user