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,6 +2,7 @@
#import "../../ContentPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
fragment AccordionBlockRefs on Accordion {
questions {
@@ -14,6 +15,26 @@ fragment AccordionBlockRefs on Accordion {
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}
}
}
}
fragment GlobalAccordionBlockRefs on GlobalAccordion {
questions {
answer {
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
...CollectionPageRef
}
}
}

View File

@@ -1,6 +1,8 @@
#import "../../AccountPage/Ref.graphql"
#import "../../ContentPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
fragment CardBlockRef on Card {
secondary_button {
@@ -11,6 +13,8 @@ fragment CardBlockRef on Card {
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}
@@ -23,6 +27,8 @@ fragment CardBlockRef on Card {
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
...CollectionPageRef
...HotelPageRef
}
}
}

View File

@@ -1,3 +1,9 @@
#import "../../AccountPage/Ref.graphql"
#import "../../ContentPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
fragment LoyaltyCardBlockRef on LoyaltyCard {
link {
linkConnection {
@@ -7,6 +13,8 @@ fragment LoyaltyCardBlockRef on LoyaltyCard {
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
...HotelPageRef
...CollectionPageRef
}
}
}

View File

@@ -2,6 +2,7 @@
#import "../../ContentPage/Ref.graphql"
#import "../../LoyaltyPage/Ref.graphql"
#import "../../HotelPage/Ref.graphql"
#import "../../CollectionPage/Ref.graphql"
fragment TeaserCardBlockRef on TeaserCard {
secondary_button {
@@ -13,6 +14,7 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -26,6 +28,7 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -40,6 +43,7 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
}
}
}
@@ -52,6 +56,8 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
...AccountPageRef
}
}
}
@@ -64,6 +70,8 @@ fragment TeaserCardBlockRef on TeaserCard {
...ContentPageRef
...LoyaltyPageRef
...HotelPageRef
...CollectionPageRef
...AccountPageRef
}
}
}