chore: move fragments

This commit is contained in:
Arvid Norlin
2024-04-19 15:40:40 +02:00
parent ea6890c9c6
commit 0dd8998ff8
6 changed files with 10 additions and 18 deletions
@@ -1,4 +0,0 @@
fragment AccountPage on AccountPage {
title
url
}
@@ -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
}
}
}
@@ -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
}
+2 -2
View File
@@ -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 }) {