feat(SW-186): implemented queries and typings for menu inside header query
This commit is contained in:
22
lib/graphql/Fragments/Header/InternalOrExternalLink.graphql
Normal file
22
lib/graphql/Fragments/Header/InternalOrExternalLink.graphql
Normal file
@@ -0,0 +1,22 @@
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
|
||||
fragment InternalOrExternalLink on InternalOrExternalLink {
|
||||
is_external_link
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
page_link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentPageLink
|
||||
...LoyaltyPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
link_title
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user