fix: add all pages as possible references
This commit is contained in:
@@ -377,7 +377,9 @@ export const renderOptions: RenderOptions = {
|
|||||||
} else if (
|
} else if (
|
||||||
entry?.node.__typename === ContentEnum.blocks.LoyaltyPage ||
|
entry?.node.__typename === ContentEnum.blocks.LoyaltyPage ||
|
||||||
entry?.node.__typename === ContentEnum.blocks.ContentPage ||
|
entry?.node.__typename === ContentEnum.blocks.ContentPage ||
|
||||||
entry?.node.__typename === ContentEnum.blocks.AccountPage
|
entry?.node.__typename === ContentEnum.blocks.AccountPage ||
|
||||||
|
entry?.node.__typename === ContentEnum.blocks.CollectionPage ||
|
||||||
|
entry?.node.__typename === ContentEnum.blocks.HotelPage
|
||||||
) {
|
) {
|
||||||
// If entry is not an ImageContainer, it is a page and we return it as a link
|
// If entry is not an ImageContainer, it is a page and we return it as a link
|
||||||
const props = extractPossibleAttributes(node.attrs)
|
const props = extractPossibleAttributes(node.attrs)
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
#import "./PageLink/ContentPageLink.graphql"
|
#import "./PageLink/ContentPageLink.graphql"
|
||||||
#import "./PageLink/HotelPageLink.graphql"
|
#import "./PageLink/HotelPageLink.graphql"
|
||||||
#import "./PageLink/LoyaltyPageLink.graphql"
|
#import "./PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "./PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
#import "./AccountPage/Ref.graphql"
|
#import "./AccountPage/Ref.graphql"
|
||||||
#import "./ContentPage/Ref.graphql"
|
#import "./ContentPage/Ref.graphql"
|
||||||
#import "./HotelPage/Ref.graphql"
|
#import "./HotelPage/Ref.graphql"
|
||||||
#import "./LoyaltyPage/Ref.graphql"
|
#import "./LoyaltyPage/Ref.graphql"
|
||||||
|
#import "./CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
fragment Alert on Alert {
|
fragment Alert on Alert {
|
||||||
type
|
type
|
||||||
@@ -28,6 +30,7 @@ fragment Alert on Alert {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -47,6 +50,7 @@ fragment Alert on Alert {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -65,6 +69,7 @@ fragment AlertRef on Alert {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -79,6 +84,7 @@ fragment AlertRef on Alert {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,29 @@ fragment AccordionBlock on Accordion {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fragment GlobalAccordionBlock on GlobalAccordion {
|
||||||
|
__typename
|
||||||
|
questions {
|
||||||
|
question
|
||||||
|
answer {
|
||||||
|
json
|
||||||
|
embedded_itemsConnection {
|
||||||
|
edges {
|
||||||
|
node {
|
||||||
|
__typename
|
||||||
|
...AccountPageLink
|
||||||
|
...ContentPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,6 +95,7 @@ fragment SpecificAccordion on ContentPageBlocksAccordionBlockAccordionsSpecificA
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,6 +138,7 @@ fragment SpecificAccordionRefs on ContentPageBlocksAccordionBlockAccordionsSpeci
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
#import "../PageLink/AccountPageLink.graphql"
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
fragment CardBlock on Card {
|
fragment CardBlock on Card {
|
||||||
background_image
|
background_image
|
||||||
@@ -27,6 +29,8 @@ fragment CardBlock on Card {
|
|||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -46,6 +50,8 @@ fragment CardBlock on Card {
|
|||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,13 @@
|
|||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../HotelPage/Ref.graphql"
|
#import "../HotelPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../PageLink/AccountPageLink.graphql"
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
fragment Content_ContentPage on ContentPageBlocksContent {
|
fragment Content_ContentPage on ContentPageBlocksContent {
|
||||||
content {
|
content {
|
||||||
@@ -20,6 +22,7 @@ fragment Content_ContentPage on ContentPageBlocksContent {
|
|||||||
__typename
|
__typename
|
||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...ImageContainer
|
...ImageContainer
|
||||||
@@ -40,6 +43,7 @@ fragment Content_ContentPageRefs on ContentPageBlocksContent {
|
|||||||
__typename
|
__typename
|
||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
|
...CollectionPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...ImageContainerRef
|
...ImageContainerRef
|
||||||
@@ -63,6 +67,8 @@ fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
|
|||||||
...Image
|
...Image
|
||||||
...ImageContainer
|
...ImageContainer
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -81,6 +87,8 @@ fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...ImageContainerRef
|
...ImageContainerRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../HotelPage/Ref.graphql"
|
#import "../HotelPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../PageLink/AccountPageLink.graphql"
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
|
||||||
@@ -21,6 +23,9 @@ fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
|
|||||||
__typename
|
__typename
|
||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...ContentPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -37,6 +42,9 @@ fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
|
|||||||
__typename
|
__typename
|
||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...ContentPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -55,7 +63,9 @@ fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
}
|
}
|
||||||
@@ -75,6 +85,8 @@ fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...AccountPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -95,6 +107,9 @@ fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
|
|||||||
__typename
|
__typename
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...AccountPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -109,8 +124,11 @@ fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
...ContentPageLink
|
...ContentPageRef
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageRef
|
||||||
|
...AccountPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
#import "../System.graphql"
|
#import "../System.graphql"
|
||||||
|
|
||||||
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
fragment LoyaltyCardBlock on LoyaltyCard {
|
fragment LoyaltyCardBlock on LoyaltyCard {
|
||||||
body_text
|
body_text
|
||||||
heading
|
heading
|
||||||
@@ -19,6 +25,8 @@ fragment LoyaltyCardBlock on LoyaltyCard {
|
|||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#import "../../ContentPage/Ref.graphql"
|
#import "../../ContentPage/Ref.graphql"
|
||||||
#import "../../HotelPage/Ref.graphql"
|
#import "../../HotelPage/Ref.graphql"
|
||||||
#import "../../LoyaltyPage/Ref.graphql"
|
#import "../../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../../CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
fragment AccordionBlockRefs on Accordion {
|
fragment AccordionBlockRefs on Accordion {
|
||||||
questions {
|
questions {
|
||||||
@@ -14,6 +15,26 @@ fragment AccordionBlockRefs on Accordion {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fragment GlobalAccordionBlockRefs on GlobalAccordion {
|
||||||
|
questions {
|
||||||
|
answer {
|
||||||
|
embedded_itemsConnection {
|
||||||
|
edges {
|
||||||
|
node {
|
||||||
|
__typename
|
||||||
|
...AccountPageRef
|
||||||
|
...ContentPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#import "../../AccountPage/Ref.graphql"
|
#import "../../AccountPage/Ref.graphql"
|
||||||
#import "../../ContentPage/Ref.graphql"
|
#import "../../ContentPage/Ref.graphql"
|
||||||
#import "../../LoyaltyPage/Ref.graphql"
|
#import "../../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../../CollectionPage/Ref.graphql"
|
||||||
|
#import "../../HotelPage/Ref.graphql"
|
||||||
|
|
||||||
fragment CardBlockRef on Card {
|
fragment CardBlockRef on Card {
|
||||||
secondary_button {
|
secondary_button {
|
||||||
@@ -11,6 +13,8 @@ fragment CardBlockRef on Card {
|
|||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -23,6 +27,8 @@ fragment CardBlockRef on Card {
|
|||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 {
|
fragment LoyaltyCardBlockRef on LoyaltyCard {
|
||||||
link {
|
link {
|
||||||
linkConnection {
|
linkConnection {
|
||||||
@@ -7,6 +13,8 @@ fragment LoyaltyCardBlockRef on LoyaltyCard {
|
|||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#import "../../ContentPage/Ref.graphql"
|
#import "../../ContentPage/Ref.graphql"
|
||||||
#import "../../LoyaltyPage/Ref.graphql"
|
#import "../../LoyaltyPage/Ref.graphql"
|
||||||
#import "../../HotelPage/Ref.graphql"
|
#import "../../HotelPage/Ref.graphql"
|
||||||
|
#import "../../CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
fragment TeaserCardBlockRef on TeaserCard {
|
fragment TeaserCardBlockRef on TeaserCard {
|
||||||
secondary_button {
|
secondary_button {
|
||||||
@@ -13,6 +14,7 @@ fragment TeaserCardBlockRef on TeaserCard {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,6 +28,7 @@ fragment TeaserCardBlockRef on TeaserCard {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,6 +43,7 @@ fragment TeaserCardBlockRef on TeaserCard {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -52,6 +56,8 @@ fragment TeaserCardBlockRef on TeaserCard {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -64,6 +70,8 @@ fragment TeaserCardBlockRef on TeaserCard {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
#import "../CollectionPage/Ref.graphql"
|
#import "../CollectionPage/Ref.graphql"
|
||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../HotelPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../PageLink/AccountPageLink.graphql"
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
#import "../PageLink/CollectionPageLink.graphql"
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
|
|
||||||
fragment Shortcuts on Shortcuts {
|
fragment Shortcuts on Shortcuts {
|
||||||
subtitle: preamble
|
subtitle: preamble
|
||||||
@@ -22,6 +24,8 @@ fragment Shortcuts on Shortcuts {
|
|||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -61,6 +65,8 @@ fragment ShortcutsRefs on Shortcuts {
|
|||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#import "../PageLink/AccountPageLink.graphql"
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
|
|
||||||
@@ -28,6 +29,7 @@ fragment TeaserCardBlock on TeaserCard {
|
|||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -47,6 +49,7 @@ fragment TeaserCardBlock on TeaserCard {
|
|||||||
__typename
|
__typename
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
@@ -65,6 +68,7 @@ fragment TeaserCardBlock on TeaserCard {
|
|||||||
__typename
|
__typename
|
||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
}
|
}
|
||||||
@@ -85,8 +89,10 @@ fragment TeaserCardBlock on TeaserCard {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
|
...AccountPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -105,8 +111,10 @@ fragment TeaserCardBlock on TeaserCard {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
|
...AccountPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../HotelPage/Ref.graphql"
|
#import "../HotelPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
#import "../AccountPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
|
|
||||||
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
||||||
text_cols {
|
text_cols {
|
||||||
@@ -19,6 +23,8 @@ fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...AccountPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,10 +46,12 @@ fragment TextCols_ContentPageRef on ContentPageBlocksTextCols {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
#import "../AccountPage/Ref.graphql"
|
#import "../AccountPage/Ref.graphql"
|
||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../HotelPage/Ref.graphql"
|
#import "../HotelPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
||||||
__typename
|
__typename
|
||||||
@@ -28,6 +30,7 @@ fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -57,6 +60,7 @@ fragment UspGrid_ContentPageRefs on ContentPageBlocksUspGrid {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -89,6 +93,7 @@ fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -118,6 +123,7 @@ fragment UspGrid_CollectionPageRefs on CollectionPageBlocksUspGrid {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
|
|
||||||
fragment NavigationLinks on CollectionPageHeader {
|
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
|
||||||
navigation_links {
|
navigation_links {
|
||||||
title
|
title
|
||||||
linkConnection {
|
linkConnection {
|
||||||
@@ -14,6 +15,24 @@ fragment NavigationLinks on CollectionPageHeader {
|
|||||||
...CollectionPageLink
|
...CollectionPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...AccountPageLink
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fragment NavigationLinksRef_CollectionPage on CollectionPageHeader {
|
||||||
|
navigation_links {
|
||||||
|
linkConnection {
|
||||||
|
edges {
|
||||||
|
node {
|
||||||
|
__typename
|
||||||
|
...ContentPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,16 @@
|
|||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
|
|
||||||
fragment NavigationLinks on ContentPageHeader {
|
#import "../ContentPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
#import "../HotelPage/Ref.graphql"
|
||||||
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../AccountPage/Ref.graphql"
|
||||||
|
|
||||||
|
fragment NavigationLinks_ContentPage on ContentPageHeader {
|
||||||
navigation_links {
|
navigation_links {
|
||||||
title
|
title
|
||||||
linkConnection {
|
linkConnection {
|
||||||
@@ -12,6 +20,25 @@ fragment NavigationLinks on ContentPageHeader {
|
|||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...AccountPageLink
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fragment NavigationLinksRef_ContentPage on ContentPageHeader {
|
||||||
|
navigation_links {
|
||||||
|
linkConnection {
|
||||||
|
edges {
|
||||||
|
node {
|
||||||
|
__typename
|
||||||
|
...ContentPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,9 +3,15 @@
|
|||||||
|
|
||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
#import "../HotelPage/Ref.graphql"
|
||||||
|
#import "../AccountPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
|
|
||||||
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
|
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
|
||||||
content {
|
content {
|
||||||
@@ -15,9 +21,12 @@ fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
...ContentPageLink
|
|
||||||
...Image
|
...Image
|
||||||
...ImageContainer
|
...ImageContainer
|
||||||
|
...AccountPageLink
|
||||||
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33,8 +42,11 @@ fragment ContentSidebar_ContentPageRefs on ContentPageSidebarContent {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
...ContentPageRef
|
|
||||||
...ImageContainerRef
|
...ImageContainerRef
|
||||||
|
...AccountPageRef
|
||||||
|
...ContentPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -51,9 +63,12 @@ fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent {
|
|||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
__typename
|
__typename
|
||||||
...ContentPageLink
|
|
||||||
...Image
|
...Image
|
||||||
...ImageContainer
|
...ImageContainer
|
||||||
|
...AccountPageLink
|
||||||
|
...ContentPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,6 +87,9 @@ fragment ContentSidebar_LoyaltyPageRefs on LoyaltyPageSidebarContent {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...ImageContainerRef
|
...ImageContainerRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
#import "../AccountPage/Ref.graphql"
|
#import "../AccountPage/Ref.graphql"
|
||||||
#import "../ContentPage/Ref.graphql"
|
#import "../ContentPage/Ref.graphql"
|
||||||
#import "../LoyaltyPage/Ref.graphql"
|
#import "../LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../HotelPage/Ref.graphql"
|
||||||
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../PageLink/AccountPageLink.graphql"
|
#import "../PageLink/AccountPageLink.graphql"
|
||||||
#import "../PageLink/ContentPageLink.graphql"
|
#import "../PageLink/ContentPageLink.graphql"
|
||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
fragment ContactFields on ContactFields {
|
fragment ContactFields on ContactFields {
|
||||||
display_text
|
display_text
|
||||||
@@ -30,6 +34,8 @@ fragment JoinLoyaltyContactSidebar_ContentPage on ContentPageSidebarJoinLoyaltyC
|
|||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -55,6 +61,8 @@ fragment JoinLoyaltyContactSidebar_ContentPageRefs on ContentPageSidebarJoinLoya
|
|||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -80,6 +88,8 @@ fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyC
|
|||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...HotelPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -105,6 +115,8 @@ fragment JoinLoyaltyContactSidebar_LoyaltyPageRefs on LoyaltyPageSidebarJoinLoya
|
|||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...HotelPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
#import "../../Fragments/PageLink/AccountPageLink.graphql"
|
#import "../../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||||
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||||
|
#import "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||||
#import "../../Fragments/AccountPage/Ref.graphql"
|
#import "../../Fragments/AccountPage/Ref.graphql"
|
||||||
#import "../../Fragments/ContentPage/Ref.graphql"
|
#import "../../Fragments/ContentPage/Ref.graphql"
|
||||||
#import "../../Fragments/LoyaltyPage/Ref.graphql"
|
#import "../../Fragments/LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../../Fragments/HotelPage/Ref.graphql"
|
||||||
|
#import "../../Fragments/CollectionPage/Ref.graphql"
|
||||||
#import "../../Fragments/System.graphql"
|
#import "../../Fragments/System.graphql"
|
||||||
|
|
||||||
query GetNavigationMyPages($locale: String!) {
|
query GetNavigationMyPages($locale: String!) {
|
||||||
@@ -20,6 +24,8 @@ query GetNavigationMyPages($locale: String!) {
|
|||||||
...AccountPageLink
|
...AccountPageLink
|
||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...HotelPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -42,6 +48,8 @@ query GetNavigationMyPagesRefs($locale: String!) {
|
|||||||
...AccountPageRef
|
...AccountPageRef
|
||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...HotelPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ query GetCollectionPage($locale: String!, $uid: String!) {
|
|||||||
header {
|
header {
|
||||||
heading
|
heading
|
||||||
preamble
|
preamble
|
||||||
...NavigationLinks
|
...NavigationLinks_CollectionPage
|
||||||
}
|
}
|
||||||
blocks {
|
blocks {
|
||||||
__typename
|
__typename
|
||||||
@@ -35,19 +35,7 @@ query GetCollectionPage($locale: String!, $uid: String!) {
|
|||||||
query GetCollectionPageRefs($locale: String!, $uid: String!) {
|
query GetCollectionPageRefs($locale: String!, $uid: String!) {
|
||||||
collection_page(locale: $locale, uid: $uid) {
|
collection_page(locale: $locale, uid: $uid) {
|
||||||
header {
|
header {
|
||||||
navigation_links {
|
...NavigationLinksRef_CollectionPage
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
blocks {
|
blocks {
|
||||||
__typename
|
__typename
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ query GetContentPage($locale: String!, $uid: String!) {
|
|||||||
header {
|
header {
|
||||||
heading
|
heading
|
||||||
preamble
|
preamble
|
||||||
...NavigationLinks
|
...NavigationLinks_ContentPage
|
||||||
}
|
}
|
||||||
blocks {
|
blocks {
|
||||||
__typename
|
__typename
|
||||||
@@ -78,18 +78,7 @@ query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
|
|||||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
query GetContentPageRefs($locale: String!, $uid: String!) {
|
||||||
content_page(locale: $locale, uid: $uid) {
|
content_page(locale: $locale, uid: $uid) {
|
||||||
header {
|
header {
|
||||||
navigation_links {
|
...NavigationLinksRef_ContentPage
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...ContentPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
sidebar {
|
sidebar {
|
||||||
__typename
|
__typename
|
||||||
|
|||||||
@@ -4,11 +4,13 @@
|
|||||||
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
||||||
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
||||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
#import "../Fragments/AccountPage/Ref.graphql"
|
#import "../Fragments/AccountPage/Ref.graphql"
|
||||||
#import "../Fragments/ContentPage/Ref.graphql"
|
#import "../Fragments/ContentPage/Ref.graphql"
|
||||||
#import "../Fragments/HotelPage/Ref.graphql"
|
#import "../Fragments/HotelPage/Ref.graphql"
|
||||||
#import "../Fragments/LoyaltyPage/Ref.graphql"
|
#import "../Fragments/LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../Fragments/CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../Fragments/Footer/AppDownloads.graphql"
|
#import "../Fragments/Footer/AppDownloads.graphql"
|
||||||
#import "../Fragments/Footer/SocialMedia.graphql"
|
#import "../Fragments/Footer/SocialMedia.graphql"
|
||||||
@@ -29,6 +31,8 @@ query GetFooter($locale: String!) {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...AccountPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -44,6 +48,8 @@ query GetFooter($locale: String!) {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...AccountPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -66,6 +72,8 @@ query GetFooter($locale: String!) {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...AccountPageLink
|
||||||
|
...CollectionPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -86,6 +94,8 @@ query GetFooterRef($locale: String!) {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...AccountPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -98,6 +108,8 @@ query GetFooterRef($locale: String!) {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...AccountPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -110,6 +122,8 @@ query GetFooterRef($locale: String!) {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...AccountPageRef
|
||||||
|
...CollectionPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,8 @@ query GetHeader($locale: String!) {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...AccountPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,6 +74,8 @@ query GetHeader($locale: String!) {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...AccountPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -87,6 +91,8 @@ query GetHeader($locale: String!) {
|
|||||||
...ContentPageLink
|
...ContentPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
|
...CollectionPageLink
|
||||||
|
...AccountPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -146,6 +152,8 @@ query GetHeaderRef($locale: String!) {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -157,6 +165,8 @@ query GetHeaderRef($locale: String!) {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -170,6 +180,8 @@ query GetHeaderRef($locale: String!) {
|
|||||||
...ContentPageRef
|
...ContentPageRef
|
||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
|
...CollectionPageRef
|
||||||
|
...AccountPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,16 @@
|
|||||||
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||||
#import "../../Fragments/PageLink/HotelPageLink.graphql"
|
#import "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||||
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
|
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||||
|
|
||||||
|
#import "../../Fragments/AccountPage/Ref.graphql"
|
||||||
|
#import "../../Fragments/ContentPage/Ref.graphql"
|
||||||
|
#import "../../Fragments/HotelPage/Ref.graphql"
|
||||||
|
#import "../../Fragments/LoyaltyPage/Ref.graphql"
|
||||||
|
#import "../../Fragments/CollectionPage/Ref.graphql"
|
||||||
|
|
||||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||||
|
#import "../../Fragments/Blocks/Refs/Accordion.graphql"
|
||||||
|
|
||||||
query GetHotelPage($locale: String!, $uid: String!) {
|
query GetHotelPage($locale: String!, $uid: String!) {
|
||||||
hotel_page(locale: $locale, uid: $uid) {
|
hotel_page(locale: $locale, uid: $uid) {
|
||||||
@@ -23,23 +31,7 @@ query GetHotelPage($locale: String!, $uid: String!) {
|
|||||||
}
|
}
|
||||||
specific_faq {
|
specific_faq {
|
||||||
__typename
|
__typename
|
||||||
questions {
|
...GlobalAccordionBlock
|
||||||
question
|
|
||||||
answer {
|
|
||||||
json
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageLink
|
|
||||||
...ContentPageLink
|
|
||||||
...HotelPageLink
|
|
||||||
...LoyaltyPageLink
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
content {
|
content {
|
||||||
@@ -86,21 +78,7 @@ query GetHotelPageRefs($locale: String!, $uid: String!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
specific_faq {
|
specific_faq {
|
||||||
questions {
|
...GlobalAccordionBlockRefs
|
||||||
answer {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
content {
|
content {
|
||||||
|
|||||||
@@ -459,6 +459,8 @@ const linkRefsUnionSchema = z.discriminatedUnion("__typename", [
|
|||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.accountPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
])
|
])
|
||||||
|
|
||||||
const linkRefsSchema = z
|
const linkRefsSchema = z
|
||||||
@@ -557,6 +559,7 @@ const linkUnionSchema = z.discriminatedUnion("__typename", [
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
|
|
||||||
const linkSchema = z
|
const linkSchema = z
|
||||||
@@ -732,6 +735,7 @@ export const alertSchema = z
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
@@ -835,6 +839,7 @@ const sidepeekContentRefSchema = z.object({
|
|||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ const pageConnection = z.object({
|
|||||||
pageLinks.accountPageSchema,
|
pageLinks.accountPageSchema,
|
||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
|
pageLinks.hotelPageSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
@@ -24,6 +26,8 @@ const pageConnectionRefs = z.object({
|
|||||||
pageLinks.accountPageRefSchema,
|
pageLinks.accountPageRefSchema,
|
||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
|
pageLinks.hotelPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ export const accordionItemsSchema = z.array(
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
@@ -101,6 +102,7 @@ const actualRefs = z.discriminatedUnion("__typename", [
|
|||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
])
|
])
|
||||||
|
|
||||||
export const globalAccordionConnectionRefs = z.object({
|
export const globalAccordionConnectionRefs = z.object({
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ export const teaserCardBlockSchema = z.object({
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ export const contentSchema = z.object({
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
@@ -63,6 +64,7 @@ export const contentRefsSchema = z.object({
|
|||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ export const contentEmbedsSchema = z
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export const dynamicContentSchema = z.object({
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
@@ -64,6 +65,7 @@ export const dynamicContentRefsSchema = z.object({
|
|||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ export const shortcutsBlockSchema = z.object({
|
|||||||
pageLinks.accountPageSchema,
|
pageLinks.accountPageSchema,
|
||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
|
pageLinks.hotelPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
@@ -79,6 +81,8 @@ export const shortcutsRefsSchema = z.object({
|
|||||||
pageLinks.accountPageRefSchema,
|
pageLinks.accountPageRefSchema,
|
||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
|
pageLinks.hotelPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ export const textColsSchema = z.object({
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
|
pageLinks.accountPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ const uspCardSchema = z.object({
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ export const buttonSchema = z
|
|||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ export const linkConnectionRefsSchema = z
|
|||||||
pageLinks.accountPageRefSchema,
|
pageLinks.accountPageRefSchema,
|
||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
|
pageLinks.hotelPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ const linkUnionSchema = z.discriminatedUnion("__typename", [
|
|||||||
pageLinks.collectionPageSchema,
|
pageLinks.collectionPageSchema,
|
||||||
pageLinks.hotelPageSchema,
|
pageLinks.hotelPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.accountPageSchema,
|
||||||
])
|
])
|
||||||
|
|
||||||
const titleSchema = z.object({
|
const titleSchema = z.object({
|
||||||
@@ -51,6 +52,8 @@ const linkRefsUnionSchema = z.discriminatedUnion("__typename", [
|
|||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.accountPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
])
|
])
|
||||||
|
|
||||||
export const linkConnectionRefs = z
|
export const linkConnectionRefs = z
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ export const contentSchema = z.object({
|
|||||||
imageSchema,
|
imageSchema,
|
||||||
pageLinks.contentPageSchema,
|
pageLinks.contentPageSchema,
|
||||||
pageLinks.loyaltyPageSchema,
|
pageLinks.loyaltyPageSchema,
|
||||||
|
pageLinks.collectionPageSchema,
|
||||||
|
pageLinks.hotelPageSchema,
|
||||||
|
pageLinks.accountPageSchema,
|
||||||
])
|
])
|
||||||
.transform((data) => {
|
.transform((data) => {
|
||||||
const link = pageLinks.transform(data)
|
const link = pageLinks.transform(data)
|
||||||
@@ -54,6 +57,9 @@ const actualRefs = z.discriminatedUnion("__typename", [
|
|||||||
imageContainerRefsSchema,
|
imageContainerRefsSchema,
|
||||||
pageLinks.contentPageRefSchema,
|
pageLinks.contentPageRefSchema,
|
||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
|
pageLinks.collectionPageRefSchema,
|
||||||
|
pageLinks.hotelPageRefSchema,
|
||||||
|
pageLinks.accountPageRefSchema,
|
||||||
])
|
])
|
||||||
|
|
||||||
type Ref = typeof actualRefs._type
|
type Ref = typeof actualRefs._type
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { z } from "zod"
|
import type { z } from "zod"
|
||||||
|
|
||||||
import {
|
import type {
|
||||||
blocksSchema,
|
blocksSchema,
|
||||||
contentPageRefsSchema,
|
contentPageRefsSchema,
|
||||||
contentPageSchema,
|
contentPageSchema,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { z } from "zod"
|
import type { z } from "zod"
|
||||||
|
|
||||||
import {
|
import type {
|
||||||
blocksSchema,
|
blocksSchema,
|
||||||
loyaltyPageRefsSchema,
|
loyaltyPageRefsSchema,
|
||||||
loyaltyPageSchema,
|
loyaltyPageSchema,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { z } from "zod"
|
import type { z } from "zod"
|
||||||
|
|
||||||
import { contentEmbedsSchema } from "@/server/routers/contentstack/schemas/blocks/contentEmbeds"
|
import type { contentEmbedsSchema } from "@/server/routers/contentstack/schemas/blocks/contentEmbeds"
|
||||||
|
|
||||||
export type Embeds = z.output<typeof contentEmbedsSchema>
|
export type Embeds = z.output<typeof contentEmbedsSchema>
|
||||||
|
|||||||
Reference in New Issue
Block a user