Files
web/packages/trpc/lib/graphql/Fragments/Blocks/CarouselCards.graphql
Matilda Landström 2176a7dd6f Merged in feat/LOY-394-promos-linkable (pull request #2918)
feat(LOY-394): add promo campaign page link

* feat(LOY-394): make promo campaigns linkable from everewhere


Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-07 13:30:34 +00:00

172 lines
3.9 KiB
GraphQL

#import "../System.graphql"
#import "./ContentCard.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/CampaignOverviewPageLink.graphql"
#import "../PageLink/CampaignPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/DestinationCityPageLink.graphql"
#import "../PageLink/DestinationCountryPageLink.graphql"
#import "../PageLink/DestinationOverviewPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/StartPageLink.graphql"
#import "../PageLink/PromoCampaignPageLink.graphql"
#import "../AccountPage/Ref.graphql"
#import "../CampaignOverviewPage/Ref.graphql"
#import "../CampaignPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../DestinationCityPage/Ref.graphql"
#import "../DestinationCountryPage/Ref.graphql"
#import "../DestinationOverviewPage/Ref.graphql"
#import "../PromoCampaignPage/Ref.graphql"
fragment CarouselCards_StartPage on StartPageBlocksCarouselCards {
carousel_cards {
heading
enable_filters
card_groups {
filter_label
filter_identifier
cardConnection {
edges {
node {
...ContentCardBlock
}
}
}
}
link {
cta_text
is_contentstack_link
open_in_new_tab
external_link {
href
title
}
linkConnection {
edges {
node {
__typename
...AccountPageLink
...CampaignOverviewPageLink
...CampaignPageLink
...CollectionPageLink
...ContentPageLink
...DestinationCityPageLink
...DestinationCountryPageLink
...DestinationOverviewPageLink
...HotelPageLink
...LoyaltyPageLink
...PromoCampaignPageLink
}
}
}
}
}
}
fragment CarouselCards_StartPageRefs on StartPageBlocksCarouselCards {
carousel_cards {
card_groups {
cardConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...PromoCampaignPageRef
}
}
}
}
}
}
fragment CarouselCards_CampaignPage on CampaignPageBlocksCarouselCards {
carousel_cards {
heading
preamble
enable_filters
card_groups {
filter_label
filter_identifier
cardConnection {
edges {
node {
...ContentCardBlock
}
}
}
}
}
}
fragment CarouselCards_CampaignPageRefs on CampaignPageBlocksCarouselCards {
carousel_cards {
card_groups {
cardConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
}
}
fragment CarouselCards_CampaignOverviewPage on CampaignOverviewPageBlocksCarouselCards {
carousel_cards {
heading
enable_filters
card_groups {
filter_label
filter_identifier
cardConnection {
edges {
node {
...ContentCardBlock
}
}
}
}
}
}
fragment CarouselCards_CampaignOverviewPageRefs on CampaignOverviewPageBlocksCarouselCards {
carousel_cards {
card_groups {
cardConnection {
edges {
node {
...ContentCardBlockRef
}
}
}
}
}
}