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)
216 lines
4.7 KiB
GraphQL
216 lines
4.7 KiB
GraphQL
#import "./Card.graphql"
|
|
#import "./InfoCard.graphql"
|
|
#import "./LoyaltyCard.graphql"
|
|
#import "./TeaserCard.graphql"
|
|
|
|
#import "./Refs/Card.graphql"
|
|
#import "./Refs/InfoCard.graphql"
|
|
#import "./Refs/LoyaltyCard.graphql"
|
|
#import "./Refs/TeaserCard.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 CardsGrid_ContentPage on ContentPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...LoyaltyCardBlock
|
|
...TeaserCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_ContentPageRefs on ContentPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...LoyaltyCardBlockRef
|
|
...TeaserCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...TeaserCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_CollectionPageRefs on CollectionPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...TeaserCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...LoyaltyCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_LoyaltyPageRefs on LoyaltyPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...LoyaltyCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_StartPage on StartPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...TeaserCardBlock
|
|
...InfoCardBlock
|
|
}
|
|
}
|
|
}
|
|
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
|
|
...StartPageLink
|
|
...PromoCampaignPageLink
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_StartPageRefs on StartPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...TeaserCardBlockRef
|
|
...InfoCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
link {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|