fix(SW-1386): add destination page links to graphql schema
This commit is contained in:
@@ -3,12 +3,18 @@
|
|||||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||||
#import "../PageLink/HotelPageLink.graphql"
|
#import "../PageLink/HotelPageLink.graphql"
|
||||||
#import "../PageLink/CollectionPageLink.graphql"
|
#import "../PageLink/CollectionPageLink.graphql"
|
||||||
|
#import "../PageLink/DestinationCityPageLink.graphql"
|
||||||
|
#import "../PageLink/DestinationCountryPageLink.graphql"
|
||||||
|
#import "../PageLink/DestinationOverviewPageLink.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"
|
#import "../CollectionPage/Ref.graphql"
|
||||||
|
#import "../DestinationCityPage/Ref.graphql"
|
||||||
|
#import "../DestinationCountryPage/Ref.graphql"
|
||||||
|
#import "../DestinationOverviewPage/Ref.graphql"
|
||||||
|
|
||||||
fragment FullWidthCampaign on FullWidthCampaign {
|
fragment FullWidthCampaign on FullWidthCampaign {
|
||||||
background_image
|
background_image
|
||||||
@@ -33,6 +39,9 @@ fragment FullWidthCampaign on FullWidthCampaign {
|
|||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...CollectionPageLink
|
...CollectionPageLink
|
||||||
|
...DestinationCityPageLink
|
||||||
|
...DestinationCountryPageLink
|
||||||
|
...DestinationOverviewPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -55,6 +64,9 @@ fragment FullWidthCampaign on FullWidthCampaign {
|
|||||||
...LoyaltyPageLink
|
...LoyaltyPageLink
|
||||||
...HotelPageLink
|
...HotelPageLink
|
||||||
...CollectionPageLink
|
...CollectionPageLink
|
||||||
|
...DestinationCityPageLink
|
||||||
|
...DestinationCountryPageLink
|
||||||
|
...DestinationOverviewPageLink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -75,6 +87,9 @@ fragment FullWidthCampaignRefs on FullWidthCampaign {
|
|||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...CollectionPageRef
|
...CollectionPageRef
|
||||||
|
...DestinationCityPageRef
|
||||||
|
...DestinationCountryPageRef
|
||||||
|
...DestinationOverviewPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -89,6 +104,9 @@ fragment FullWidthCampaignRefs on FullWidthCampaign {
|
|||||||
...HotelPageRef
|
...HotelPageRef
|
||||||
...LoyaltyPageRef
|
...LoyaltyPageRef
|
||||||
...CollectionPageRef
|
...CollectionPageRef
|
||||||
|
...DestinationCityPageRef
|
||||||
|
...DestinationCountryPageRef
|
||||||
|
...DestinationOverviewPageRef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,9 @@ export const fullWidthCampaignBlockRefsSchema = z.object({
|
|||||||
pageLinks.loyaltyPageRefSchema,
|
pageLinks.loyaltyPageRefSchema,
|
||||||
pageLinks.collectionPageRefSchema,
|
pageLinks.collectionPageRefSchema,
|
||||||
pageLinks.hotelPageRefSchema,
|
pageLinks.hotelPageRefSchema,
|
||||||
|
pageLinks.destinationCityPageRefSchema,
|
||||||
|
pageLinks.destinationCountryPageRefSchema,
|
||||||
|
pageLinks.destinationOverviewPageRefSchema,
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user