fix: add all pages as possible references

This commit is contained in:
Christel Westerberg
2024-12-27 09:25:38 +01:00
parent 97f11a2488
commit c42a03803c
42 changed files with 319 additions and 74 deletions

View File

@@ -2,8 +2,9 @@
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/AccountPageLink.graphql"
fragment NavigationLinks on CollectionPageHeader {
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
navigation_links {
title
linkConnection {
@@ -14,6 +15,24 @@ fragment NavigationLinks on CollectionPageHeader {
...CollectionPageLink
...ContentPageLink
...LoyaltyPageLink
...AccountPageLink
}
}
}
}
}
fragment NavigationLinksRef_CollectionPage on CollectionPageHeader {
navigation_links {
linkConnection {
edges {
node {
__typename
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
...AccountPageRef
}
}
}