refactor: extract PageLinks fragments to separate files
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
#import "../PageLinks/AccountPageLink.graphql"
|
||||||
|
#import "../PageLinks/ContentPageLink.graphql"
|
||||||
|
#import "../PageLinks/LoyaltyPageLink.graphql"
|
||||||
|
|
||||||
fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
|
fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
|
||||||
shortcuts {
|
shortcuts {
|
||||||
title
|
title
|
||||||
@@ -16,30 +20,3 @@ fragment AccountPageContentShortcuts on AccountPageContentShortcuts {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment AccountPageLink on AccountPage {
|
|
||||||
system {
|
|
||||||
locale
|
|
||||||
uid
|
|
||||||
}
|
|
||||||
title
|
|
||||||
url
|
|
||||||
}
|
|
||||||
|
|
||||||
fragment LoyaltyPageLink on LoyaltyPage {
|
|
||||||
system {
|
|
||||||
locale
|
|
||||||
uid
|
|
||||||
}
|
|
||||||
title
|
|
||||||
url
|
|
||||||
}
|
|
||||||
|
|
||||||
fragment ContentPageLink on ContentPage {
|
|
||||||
system {
|
|
||||||
locale
|
|
||||||
uid
|
|
||||||
}
|
|
||||||
title
|
|
||||||
url
|
|
||||||
}
|
|
||||||
|
|||||||
8
lib/graphql/Fragments/PageLinks/AccountPageLink.graphql
Normal file
8
lib/graphql/Fragments/PageLinks/AccountPageLink.graphql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fragment AccountPageLink on AccountPage {
|
||||||
|
system {
|
||||||
|
locale
|
||||||
|
uid
|
||||||
|
}
|
||||||
|
title
|
||||||
|
url
|
||||||
|
}
|
||||||
8
lib/graphql/Fragments/PageLinks/ContentPageLink.graphql
Normal file
8
lib/graphql/Fragments/PageLinks/ContentPageLink.graphql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fragment ContentPageLink on ContentPage {
|
||||||
|
system {
|
||||||
|
locale
|
||||||
|
uid
|
||||||
|
}
|
||||||
|
title
|
||||||
|
url
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fragment CurrentBlocksPageLink on CurrentBlocksPage {
|
||||||
|
system {
|
||||||
|
locale
|
||||||
|
uid
|
||||||
|
}
|
||||||
|
title
|
||||||
|
url
|
||||||
|
}
|
||||||
8
lib/graphql/Fragments/PageLinks/LoyaltyPageLink.graphql
Normal file
8
lib/graphql/Fragments/PageLinks/LoyaltyPageLink.graphql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fragment LoyaltyPageLink on LoyaltyPage {
|
||||||
|
system {
|
||||||
|
locale
|
||||||
|
uid
|
||||||
|
}
|
||||||
|
title
|
||||||
|
url
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user