Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
This commit is contained in:
@@ -115,7 +115,6 @@ const meta: Meta<typeof InfoCard> = {
|
||||
style={{ display: 'grid', gap: '1rem' }}
|
||||
>
|
||||
{Object.keys(infoCardConfig.variants.theme).map((theme) => {
|
||||
console.log(theme)
|
||||
const args = {
|
||||
...context.args,
|
||||
backgroundImage:
|
||||
|
||||
6
packages/trpc/env/server.ts
vendored
6
packages/trpc/env/server.ts
vendored
@@ -35,11 +35,6 @@ export const env = createEnv({
|
||||
CMS_PREVIEW_TOKEN: z.string(),
|
||||
SENTRY_ENVIRONMENT: z.string().default("development"),
|
||||
PUBLIC_URL: z.string().default(""),
|
||||
PRINT_QUERY: z
|
||||
.string()
|
||||
.refine((s) => s === "true" || s === "false")
|
||||
.transform((s) => s === "true")
|
||||
.default("false"),
|
||||
SALESFORCE_PREFERENCE_BASE_URL: z.string(),
|
||||
},
|
||||
emptyStringAsUndefined: true,
|
||||
@@ -60,7 +55,6 @@ export const env = createEnv({
|
||||
CMS_PREVIEW_TOKEN: process.env.CMS_PREVIEW_TOKEN,
|
||||
SENTRY_ENVIRONMENT: process.env.SENTRY_ENVIRONMENT,
|
||||
PUBLIC_URL: process.env.NEXT_PUBLIC_PUBLIC_URL,
|
||||
PRINT_QUERY: process.env.PRINT_QUERY,
|
||||
SALESFORCE_PREFERENCE_BASE_URL: process.env.SALESFORCE_PREFERENCE_BASE_URL,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../System.graphql"
|
||||
|
||||
fragment AccountPageRef on AccountPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const AccountPageRef = gql`
|
||||
fragment AccountPageRef on AccountPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,141 +0,0 @@
|
||||
#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 "./CollectionPage/Ref.graphql"
|
||||
#import "./ContentPage/Ref.graphql"
|
||||
#import "./DestinationCityPage/Ref.graphql"
|
||||
#import "./DestinationCountryPage/Ref.graphql"
|
||||
#import "./DestinationOverviewPage/Ref.graphql"
|
||||
#import "./HotelPage/Ref.graphql"
|
||||
#import "./LoyaltyPage/Ref.graphql"
|
||||
#import "./StartPage/Ref.graphql"
|
||||
#import "./PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment Alert on Alert {
|
||||
type
|
||||
heading
|
||||
text
|
||||
phone_contact {
|
||||
display_text
|
||||
phone_number
|
||||
footnote
|
||||
}
|
||||
has_link
|
||||
link {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_sidepeek_button
|
||||
sidepeek_button {
|
||||
cta_text
|
||||
}
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
visible_on
|
||||
}
|
||||
|
||||
fragment AlertRef on Alert {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
visible_on
|
||||
}
|
||||
174
packages/trpc/lib/graphql/Fragments/Alert.graphql.ts
Normal file
174
packages/trpc/lib/graphql/Fragments/Alert.graphql.ts
Normal file
@@ -0,0 +1,174 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "./AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "./CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "./CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "./CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "./ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "./DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "./DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "./DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "./HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "./LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "./PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "./PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "./PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "./PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "./PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "./PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "./PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "./StartPage/Ref.graphql"
|
||||
|
||||
export const Alert = gql`
|
||||
fragment Alert on Alert {
|
||||
type
|
||||
heading
|
||||
text
|
||||
phone_contact {
|
||||
display_text
|
||||
phone_number
|
||||
footnote
|
||||
}
|
||||
has_link
|
||||
link {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_sidepeek_button
|
||||
sidepeek_button {
|
||||
cta_text
|
||||
}
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
visible_on
|
||||
}
|
||||
|
||||
fragment System on SystemMetadata {
|
||||
id
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const AlertRef = gql`
|
||||
fragment AlertRef on Alert {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
visible_on
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,14 +0,0 @@
|
||||
#import "../Contact.graphql"
|
||||
|
||||
fragment ContactAside on CurrentBlocksPageAsideContact {
|
||||
contact {
|
||||
contactConnection {
|
||||
edges {
|
||||
node {
|
||||
...Contact
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
19
packages/trpc/lib/graphql/Fragments/Aside/Contact.graphql.ts
Normal file
19
packages/trpc/lib/graphql/Fragments/Aside/Contact.graphql.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Contact } from "../Contact.graphql"
|
||||
|
||||
export const ContactAside = gql`
|
||||
fragment ContactAside on CurrentBlocksPageAsideContact {
|
||||
contact {
|
||||
contactConnection {
|
||||
edges {
|
||||
node {
|
||||
...Contact
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
${Contact}
|
||||
`
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../Puff.graphql"
|
||||
|
||||
fragment PuffAside on CurrentBlocksPageAsidePuff {
|
||||
puff {
|
||||
...Puff
|
||||
}
|
||||
}
|
||||
12
packages/trpc/lib/graphql/Fragments/Aside/Puff.graphql.ts
Normal file
12
packages/trpc/lib/graphql/Fragments/Aside/Puff.graphql.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Puff } from "../Puff.graphql"
|
||||
|
||||
export const PuffAside = gql`
|
||||
fragment PuffAside on CurrentBlocksPageAsidePuff {
|
||||
puff {
|
||||
...Puff
|
||||
}
|
||||
}
|
||||
${Puff}
|
||||
`
|
||||
@@ -1,82 +0,0 @@
|
||||
#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 "./CollectionPage/Ref.graphql"
|
||||
#import "./ContentPage/Ref.graphql"
|
||||
#import "./DestinationCityPage/Ref.graphql"
|
||||
#import "./DestinationCountryPage/Ref.graphql"
|
||||
#import "./DestinationOverviewPage/Ref.graphql"
|
||||
#import "./HotelPage/Ref.graphql"
|
||||
#import "./LoyaltyPage/Ref.graphql"
|
||||
#import "./StartPage/Ref.graphql"
|
||||
#import "./PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment Banner on Banner {
|
||||
tag
|
||||
text
|
||||
link {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
booking_code
|
||||
visible_on
|
||||
}
|
||||
|
||||
fragment BannerRef on Banner {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
visible_on
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
111
packages/trpc/lib/graphql/Fragments/Banner.graphql.ts
Normal file
111
packages/trpc/lib/graphql/Fragments/Banner.graphql.ts
Normal file
@@ -0,0 +1,111 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "./AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "./CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "./CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "./CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "./ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "./DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "./DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "./DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "./HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "./LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "./PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "./PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "./PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "./PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "./PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "./PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "./PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "./StartPage/Ref.graphql"
|
||||
|
||||
export const Banner = gql`
|
||||
fragment Banner on Banner {
|
||||
tag
|
||||
text
|
||||
link {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
booking_code
|
||||
visible_on
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const BannerRef = gql`
|
||||
fragment BannerRef on Banner {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
visible_on
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,838 +0,0 @@
|
||||
#import "../SysAsset.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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
#import "./Refs/Accordion.graphql"
|
||||
|
||||
fragment AccordionBlock on Accordion {
|
||||
__typename
|
||||
title
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordionBlock on GlobalAccordion {
|
||||
__typename
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_AccountPage on AccountPageContentAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_AccountPage
|
||||
...SpecificAccordion_AccountPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_AccountPage on AccountPageContentAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_AccountPage on AccountPageContentAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_AccountPageRefs on AccountPageContentAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_AccountPageRefs
|
||||
...SpecificAccordion_AccountPageRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_AccountPageRefs on AccountPageContentAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_AccountPageRefs on AccountPageContentAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_ContentPage on ContentPageBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_ContentPage
|
||||
...SpecificAccordion_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_ContentPageRefs on ContentPageBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_ContentPageRefs
|
||||
...SpecificAccordion_ContentPageRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationCityPage on DestinationCityPageBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationCityPage
|
||||
...SpecificAccordion_DestinationCityPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationCityPageRefs
|
||||
...SpecificAccordion_DestinationCityPageRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationCountryPage on DestinationCountryPageBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationCountryPage
|
||||
...SpecificAccordion_DestinationCountryPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationCountryPageRefs
|
||||
...SpecificAccordion_DestinationCountryPageRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_CampaignPage on CampaignPageBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_CampaignPage
|
||||
...SpecificAccordion_CampaignPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_CampaignPage on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_CampaignPage on CampaignPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_CampaignPageRefs on CampaignPageBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_CampaignPageRefs
|
||||
...SpecificAccordion_CampaignPageRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationFilterBlocks on DestinationFilterBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
title
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationFilterBlocks
|
||||
...SpecificAccordion_DestinationFilterBlocks
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_DestinationFilterBlocksRefs
|
||||
...SpecificAccordion_DestinationFilterBlocksRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_PromoCampaignPage on PromoCampaignPageBlocksAccordion {
|
||||
__typename
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_PromoCampaignPage
|
||||
...SpecificAccordion_PromoCampaignPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_PromoCampaignPage on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
__typename
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_PromoCampaignPage on PromoCampaignPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
__typename
|
||||
specific_accordion {
|
||||
questions {
|
||||
question
|
||||
answer {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Accordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordion {
|
||||
accordion {
|
||||
accordions {
|
||||
__typename
|
||||
...GlobalAccordion_PromoCampaignPageRefs
|
||||
...SpecificAccordion_PromoCampaignPageRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||
global_accordion {
|
||||
global_accordionConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlockRefs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment SpecificAccordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordionBlockAccordionsSpecificAccordion {
|
||||
specific_accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1162
packages/trpc/lib/graphql/Fragments/Blocks/Accordion.graphql.ts
Normal file
1162
packages/trpc/lib/graphql/Fragments/Blocks/Accordion.graphql.ts
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,38 +0,0 @@
|
||||
#import "../CampaignPage/Ref.graphql"
|
||||
|
||||
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
|
||||
all_campaigns {
|
||||
heading
|
||||
preamble
|
||||
campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on CampaignPage {
|
||||
url
|
||||
card_content {
|
||||
heading
|
||||
image
|
||||
text
|
||||
}
|
||||
system {
|
||||
locale
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment AllCampaignsRefs on CampaignOverviewPageBlocksAllCampaigns {
|
||||
all_campaigns {
|
||||
campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
|
||||
export const AllCampaigns = gql`
|
||||
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
|
||||
all_campaigns {
|
||||
heading
|
||||
preamble
|
||||
campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on CampaignPage {
|
||||
url
|
||||
card_content {
|
||||
heading
|
||||
image
|
||||
text
|
||||
}
|
||||
system {
|
||||
locale
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const AllCampaignsRefs = gql`
|
||||
fragment AllCampaignsRefs on CampaignOverviewPageBlocksAllCampaigns {
|
||||
all_campaigns {
|
||||
campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CampaignPageRef}
|
||||
`
|
||||
@@ -1,83 +0,0 @@
|
||||
#import "../System.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"
|
||||
|
||||
fragment CardBlock on Card {
|
||||
background_image
|
||||
body_text
|
||||
has_primary_button
|
||||
has_secondary_button
|
||||
heading
|
||||
scripted_top_title
|
||||
title
|
||||
primary_button {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
99
packages/trpc/lib/graphql/Fragments/Blocks/Card.graphql.ts
Normal file
99
packages/trpc/lib/graphql/Fragments/Blocks/Card.graphql.ts
Normal file
@@ -0,0 +1,99 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CardBlock = gql`
|
||||
fragment CardBlock on Card {
|
||||
background_image
|
||||
body_text
|
||||
has_primary_button
|
||||
has_secondary_button
|
||||
heading
|
||||
scripted_top_title
|
||||
title
|
||||
primary_button {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
@@ -1,108 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCardGallery {
|
||||
card_gallery {
|
||||
heading
|
||||
card_groups {
|
||||
filter_identifier
|
||||
filter_label
|
||||
cardsConnection {
|
||||
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
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment CardGallery_DestinationOverviewPageRefs on DestinationOverviewPageBlocksCardGallery {
|
||||
card_gallery {
|
||||
card_groups {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
import { ContentCardBlock, ContentCardBlockRef } from "./ContentCard.graphql"
|
||||
|
||||
export const CardGallery_DestinationOverviewPage = gql`
|
||||
fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCardGallery {
|
||||
card_gallery {
|
||||
heading
|
||||
card_groups {
|
||||
filter_identifier
|
||||
filter_label
|
||||
cardsConnection {
|
||||
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
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${ContentCardBlock}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const CardGallery_DestinationOverviewPageRefs = gql`
|
||||
fragment CardGallery_DestinationOverviewPageRefs on DestinationOverviewPageBlocksCardGallery {
|
||||
card_gallery {
|
||||
card_groups {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlockRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,215 +0,0 @@
|
||||
#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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
273
packages/trpc/lib/graphql/Fragments/Blocks/CardsGrid.graphql.ts
Normal file
273
packages/trpc/lib/graphql/Fragments/Blocks/CardsGrid.graphql.ts
Normal file
@@ -0,0 +1,273 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { CardBlockRef } from "./Refs/Card.graphql"
|
||||
import { InfoCardBlockRef } from "./Refs/InfoCard.graphql"
|
||||
import { LoyaltyCardBlockRef } from "./Refs/LoyaltyCard.graphql"
|
||||
import { TeaserCardBlockRef } from "./Refs/TeaserCard.graphql"
|
||||
import { CardBlock } from "./Card.graphql"
|
||||
import { InfoCardBlock } from "./InfoCard.graphql"
|
||||
import { LoyaltyCardBlock } from "./LoyaltyCard.graphql"
|
||||
import { TeaserCardBlock } from "./TeaserCard.graphql"
|
||||
|
||||
export const CardsGrid_ContentPage = gql`
|
||||
fragment CardsGrid_ContentPage on ContentPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...LoyaltyCardBlock
|
||||
...TeaserCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${LoyaltyCardBlock}
|
||||
${TeaserCardBlock}
|
||||
`
|
||||
|
||||
export const CardsGrid_ContentPageRefs = gql`
|
||||
fragment CardsGrid_ContentPageRefs on ContentPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...LoyaltyCardBlockRef
|
||||
...TeaserCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${LoyaltyCardBlockRef}
|
||||
${TeaserCardBlockRef}
|
||||
`
|
||||
|
||||
export const CardsGrid_CollectionPage = gql`
|
||||
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...TeaserCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${TeaserCardBlock}
|
||||
`
|
||||
|
||||
export const CardsGrid_CollectionPageRefs = gql`
|
||||
fragment CardsGrid_CollectionPageRefs on CollectionPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...TeaserCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${TeaserCardBlockRef}
|
||||
`
|
||||
|
||||
export const CardsGrid_LoyaltyPage = gql`
|
||||
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...LoyaltyCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${LoyaltyCardBlock}
|
||||
`
|
||||
|
||||
export const CardsGrid_LoyaltyPageRefs = gql`
|
||||
fragment CardsGrid_LoyaltyPageRefs on LoyaltyPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...LoyaltyCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${LoyaltyCardBlockRef}
|
||||
`
|
||||
|
||||
export const CardsGrid_StartPage = gql`
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${InfoCardBlock}
|
||||
${TeaserCardBlock}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const CardsGrid_StartPageRefs = gql`
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${InfoCardBlockRef}
|
||||
${TeaserCardBlockRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${ContentPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${CollectionPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,171 +0,0 @@
|
||||
#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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { ContentCardBlock, ContentCardBlockRef } from "./ContentCard.graphql"
|
||||
|
||||
export const CarouselCards_StartPage = gql`
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlock}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const CarouselCards_StartPageRefs = gql`
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlockRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${ContentPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${CollectionPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const CarouselCards_CampaignPage = gql`
|
||||
fragment CarouselCards_CampaignPage on CampaignPageBlocksCarouselCards {
|
||||
carousel_cards {
|
||||
heading
|
||||
preamble
|
||||
enable_filters
|
||||
card_groups {
|
||||
filter_label
|
||||
filter_identifier
|
||||
cardConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlock}
|
||||
`
|
||||
|
||||
export const CarouselCards_CampaignPageRefs = gql`
|
||||
fragment CarouselCards_CampaignPageRefs on CampaignPageBlocksCarouselCards {
|
||||
carousel_cards {
|
||||
card_groups {
|
||||
cardConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlockRef}
|
||||
`
|
||||
|
||||
export const CarouselCards_CampaignOverviewPage = gql`
|
||||
fragment CarouselCards_CampaignOverviewPage on CampaignOverviewPageBlocksCarouselCards {
|
||||
carousel_cards {
|
||||
heading
|
||||
enable_filters
|
||||
card_groups {
|
||||
filter_label
|
||||
filter_identifier
|
||||
cardConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlock}
|
||||
`
|
||||
|
||||
export const CarouselCards_CampaignOverviewPageRefs = gql`
|
||||
fragment CarouselCards_CampaignOverviewPageRefs on CampaignOverviewPageBlocksCarouselCards {
|
||||
carousel_cards {
|
||||
card_groups {
|
||||
cardConnection {
|
||||
edges {
|
||||
node {
|
||||
...ContentCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ContentCardBlockRef}
|
||||
`
|
||||
@@ -1,351 +0,0 @@
|
||||
#import "../SysAsset.graphql"
|
||||
#import "../ImageContainer.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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment Content_ContentPage on ContentPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...ImageContainer
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_ContentPageRefs on ContentPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ImageContainerRef
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...ImageContainer
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationCityPage on DestinationCityPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationCityPageRefs on DestinationCityPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationCountryPage on DestinationCountryPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationCountryPageRefs on DestinationCountryPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationFilterBlocks on DestinationFilterBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_DestinationFilterBlocksRefs on DestinationFilterBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_PromoCampaignPage on PromoCampaignPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Content_PromoCampaignPageRefs on PromoCampaignPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
524
packages/trpc/lib/graphql/Fragments/Blocks/Content.graphql.ts
Normal file
524
packages/trpc/lib/graphql/Fragments/Blocks/Content.graphql.ts
Normal file
@@ -0,0 +1,524 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { ImageContainer, ImageContainerRef } from "../ImageContainer.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
|
||||
export const Content_ContentPage = gql`
|
||||
fragment Content_ContentPage on ContentPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...ImageContainer
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
${ImageContainer}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Content_ContentPageRefs = gql`
|
||||
fragment Content_ContentPageRefs on ContentPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...ImageContainerRef
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${ImageContainerRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const Content_LoyaltyPage = gql`
|
||||
fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
...ImageContainer
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
${ImageContainer}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Content_LoyaltyPageRefs = gql`
|
||||
fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const Content_DestinationCityPage = gql`
|
||||
fragment Content_DestinationCityPage on DestinationCityPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Content_DestinationCityPageRefs = gql`
|
||||
fragment Content_DestinationCityPageRefs on DestinationCityPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const Content_DestinationCountryPage = gql`
|
||||
fragment Content_DestinationCountryPage on DestinationCountryPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Content_DestinationCountryPageRefs = gql`
|
||||
fragment Content_DestinationCountryPageRefs on DestinationCountryPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const Content_DestinationFilterBlocks = gql`
|
||||
fragment Content_DestinationFilterBlocks on DestinationFilterBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Content_DestinationFilterBlocksRefs = gql`
|
||||
fragment Content_DestinationFilterBlocksRefs on DestinationFilterBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const Content_PromoCampaignPage = gql`
|
||||
fragment Content_PromoCampaignPage on PromoCampaignPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Content_PromoCampaignPageRefs = gql`
|
||||
fragment Content_PromoCampaignPageRefs on PromoCampaignPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,95 +0,0 @@
|
||||
#import "../System.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 "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment ContentCardBlock on ContentCard {
|
||||
__typename
|
||||
title
|
||||
heading
|
||||
image
|
||||
body_text
|
||||
has_card_link
|
||||
promo_text
|
||||
card_link {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
|
||||
fragment ContentCardBlockRef on ContentCard {
|
||||
__typename
|
||||
card_link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const ContentCardBlock = gql`
|
||||
fragment ContentCardBlock on ContentCard {
|
||||
__typename
|
||||
title
|
||||
heading
|
||||
image
|
||||
body_text
|
||||
has_card_link
|
||||
promo_text
|
||||
card_link {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const ContentCardBlockRef = gql`
|
||||
fragment ContentCardBlockRef on ContentCard {
|
||||
__typename
|
||||
card_link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${ContentPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${CollectionPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,249 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle: preamble
|
||||
title
|
||||
link {
|
||||
text: link_text
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_CollectionPageRefs on CollectionPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,362 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const DynamicContent_AccountPage = gql`
|
||||
fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle: preamble
|
||||
title
|
||||
link {
|
||||
text: link_text
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const DynamicContent_AccountPageRefs = gql`
|
||||
fragment DynamicContent_AccountPageRefs on AccountPageContentDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const DynamicContent_CollectionPage = gql`
|
||||
fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const DynamicContent_CollectionPageRefs = gql`
|
||||
fragment DynamicContent_CollectionPageRefs on CollectionPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const DynamicContent_ContentPage = gql`
|
||||
fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const DynamicContent_ContentPageRefs = gql`
|
||||
fragment DynamicContent_ContentPageRefs on ContentPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const DynamicContent_LoyaltyPage = gql`
|
||||
fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
component
|
||||
subtitle
|
||||
title
|
||||
link {
|
||||
text
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const DynamicContent_LoyaltyPageRefs = gql`
|
||||
fragment DynamicContent_LoyaltyPageRefs on LoyaltyPageBlocksDynamicContent {
|
||||
dynamic_content {
|
||||
link {
|
||||
linkConnection: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,3 +1,6 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const Essentials_CampaignPage = gql`
|
||||
fragment Essentials_CampaignPage on CampaignPageBlocksEssentials {
|
||||
essentials {
|
||||
title
|
||||
@@ -9,3 +12,4 @@ fragment Essentials_CampaignPage on CampaignPageBlocksEssentials {
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,135 +0,0 @@
|
||||
#import "../PageLink/AccountPageLink.graphql"
|
||||
#import "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../PageLink/CampaignPageLink.graphql"
|
||||
#import "../PageLink/ContentPageLink.graphql"
|
||||
#import "../PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../PageLink/HotelPageLink.graphql"
|
||||
#import "../PageLink/CollectionPageLink.graphql"
|
||||
#import "../PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../PageLink/DestinationOverviewPageLink.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 FullWidthCampaign on FullWidthCampaign {
|
||||
background_image
|
||||
scripted_top_title
|
||||
heading
|
||||
body_text
|
||||
has_primary_button
|
||||
primary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_secondary_button
|
||||
secondary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
|
||||
fragment FullWidthCampaignRefs on FullWidthCampaign {
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
export const FullWidthCampaign = gql`
|
||||
fragment FullWidthCampaign on FullWidthCampaign {
|
||||
background_image
|
||||
scripted_top_title
|
||||
heading
|
||||
body_text
|
||||
has_primary_button
|
||||
primary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_secondary_button
|
||||
secondary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${ContentPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${HotelPageLink}
|
||||
${CollectionPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const FullWidthCampaignRefs = gql`
|
||||
fragment FullWidthCampaignRefs on FullWidthCampaign {
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${ContentPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${CollectionPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,46 +0,0 @@
|
||||
fragment HotelListing on HotelListing {
|
||||
heading
|
||||
location_filter {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
country
|
||||
excluded
|
||||
}
|
||||
manual_filter {
|
||||
hotels
|
||||
}
|
||||
content_type
|
||||
}
|
||||
|
||||
fragment HotelListing_ContentPage on ContentPageBlocksHotelListing {
|
||||
__typename
|
||||
hotel_listing {
|
||||
...HotelListing
|
||||
}
|
||||
}
|
||||
|
||||
fragment HotelListing_CampaignPage on CampaignPageBlocksHotelListing {
|
||||
hotel_listing {
|
||||
heading
|
||||
}
|
||||
}
|
||||
|
||||
fragment HotelListing_CampaignOverviewPage on CampaignOverviewPageBlocksHotelListing {
|
||||
hotel_listing {
|
||||
heading
|
||||
preamble
|
||||
included_hotelsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
hotel_page_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const HotelListing = gql`
|
||||
fragment HotelListing on HotelListing {
|
||||
heading
|
||||
location_filter {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
country
|
||||
excluded
|
||||
}
|
||||
manual_filter {
|
||||
hotels
|
||||
}
|
||||
content_type
|
||||
}
|
||||
`
|
||||
|
||||
export const HotelListing_ContentPage = gql`
|
||||
fragment HotelListing_ContentPage on ContentPageBlocksHotelListing {
|
||||
__typename
|
||||
hotel_listing {
|
||||
...HotelListing
|
||||
}
|
||||
}
|
||||
${HotelListing}
|
||||
`
|
||||
|
||||
export const HotelListing_CampaignPage = gql`
|
||||
fragment HotelListing_CampaignPage on CampaignPageBlocksHotelListing {
|
||||
hotel_listing {
|
||||
heading
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const HotelListing_CampaignOverviewPage = gql`
|
||||
fragment HotelListing_CampaignOverviewPage on CampaignOverviewPageBlocksHotelListing {
|
||||
hotel_listing {
|
||||
heading
|
||||
preamble
|
||||
included_hotelsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
hotel_page_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,83 +0,0 @@
|
||||
#import "../System.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"
|
||||
|
||||
fragment InfoCardBlock on InfoCard {
|
||||
scripted_top_title
|
||||
heading
|
||||
body_text
|
||||
image
|
||||
title
|
||||
theme
|
||||
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const InfoCardBlock = gql`
|
||||
fragment InfoCardBlock on InfoCard {
|
||||
scripted_top_title
|
||||
heading
|
||||
body_text
|
||||
image
|
||||
title
|
||||
theme
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
@@ -1,89 +0,0 @@
|
||||
#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/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../AccountPage/Ref.graphql"
|
||||
#import "../CampaignOverviewPage/Ref.graphql"
|
||||
#import "../CampaignPage/Ref.graphql"
|
||||
#import "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends {
|
||||
__typename
|
||||
join_scandic_friends {
|
||||
show_header
|
||||
scripted_top_title
|
||||
title
|
||||
preamble
|
||||
image
|
||||
show_usp
|
||||
usp
|
||||
has_primary_button
|
||||
primary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment JoinScandicFriends_StartPageRefs on StartPageBlocksJoinScandicFriends {
|
||||
join_scandic_friends {
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
export const JoinScandicFriends_StartPage = gql`
|
||||
fragment JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends {
|
||||
__typename
|
||||
join_scandic_friends {
|
||||
show_header
|
||||
scripted_top_title
|
||||
title
|
||||
preamble
|
||||
image
|
||||
show_usp
|
||||
usp
|
||||
has_primary_button
|
||||
primary_button {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const JoinScandicFriends_StartPageRefs = gql`
|
||||
fragment JoinScandicFriends_StartPageRefs on StartPageBlocksJoinScandicFriends {
|
||||
join_scandic_friends {
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,29 +0,0 @@
|
||||
fragment ListItem on CurrentBlocksPageBlocksListBlockListItemsListItem {
|
||||
list_item {
|
||||
list_item_style
|
||||
subtitle
|
||||
title
|
||||
}
|
||||
}
|
||||
|
||||
fragment ListItemExternalLink on CurrentBlocksPageBlocksListBlockListItemsListItemExternalLink {
|
||||
list_item_external_link {
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
list_item_style
|
||||
subtitle
|
||||
}
|
||||
}
|
||||
|
||||
fragment ListBlock on CurrentBlocksPageBlocksList {
|
||||
list {
|
||||
list_items {
|
||||
__typename
|
||||
...ListItem
|
||||
...ListItemExternalLink
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
39
packages/trpc/lib/graphql/Fragments/Blocks/List.graphql.ts
Normal file
39
packages/trpc/lib/graphql/Fragments/Blocks/List.graphql.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const ListItem = gql`
|
||||
fragment ListItem on CurrentBlocksPageBlocksListBlockListItemsListItem {
|
||||
list_item {
|
||||
list_item_style
|
||||
subtitle
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ListItemExternalLink = gql`
|
||||
fragment ListItemExternalLink on CurrentBlocksPageBlocksListBlockListItemsListItemExternalLink {
|
||||
list_item_external_link {
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
list_item_style
|
||||
subtitle
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ListBlock = gql`
|
||||
fragment ListBlock on CurrentBlocksPageBlocksList {
|
||||
list {
|
||||
list_items {
|
||||
__typename
|
||||
...ListItem
|
||||
...ListItemExternalLink
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
${ListItem}
|
||||
${ListItemExternalLink}
|
||||
`
|
||||
@@ -1,52 +0,0 @@
|
||||
#import "../System.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"
|
||||
|
||||
fragment LoyaltyCardBlock on LoyaltyCard {
|
||||
body_text
|
||||
heading
|
||||
image
|
||||
title
|
||||
link {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const LoyaltyCardBlock = gql`
|
||||
fragment LoyaltyCardBlock on LoyaltyCard {
|
||||
body_text
|
||||
heading
|
||||
image
|
||||
title
|
||||
link {
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../Puff.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Puff } from "../Puff.graphql"
|
||||
|
||||
export const PuffBlock = gql`
|
||||
fragment PuffBlock on CurrentBlocksPageBlocksPuffs {
|
||||
puffs {
|
||||
puffs {
|
||||
@@ -11,3 +14,5 @@ fragment PuffBlock on CurrentBlocksPageBlocksPuffs {
|
||||
}
|
||||
}
|
||||
}
|
||||
${Puff}
|
||||
`
|
||||
@@ -1,64 +0,0 @@
|
||||
#import "../../AccountPage/Ref.graphql"
|
||||
#import "../../CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../CampaignPage/Ref.graphql"
|
||||
#import "../../CollectionPage/Ref.graphql"
|
||||
#import "../../ContentPage/Ref.graphql"
|
||||
#import "../../DestinationCityPage/Ref.graphql"
|
||||
#import "../../DestinationCountryPage/Ref.graphql"
|
||||
#import "../../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../HotelPage/Ref.graphql"
|
||||
#import "../../LoyaltyPage/Ref.graphql"
|
||||
#import "../../StartPage/Ref.graphql"
|
||||
#import "../../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment AccordionBlockRefs on Accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment GlobalAccordionBlockRefs on GlobalAccordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
|
||||
import { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../../StartPage/Ref.graphql"
|
||||
|
||||
export const AccordionBlockRefs = gql`
|
||||
fragment AccordionBlockRefs on Accordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const GlobalAccordionBlockRefs = gql`
|
||||
fragment GlobalAccordionBlockRefs on GlobalAccordion {
|
||||
questions {
|
||||
answer {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,60 +0,0 @@
|
||||
#import "../../AccountPage/Ref.graphql"
|
||||
#import "../../CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../CampaignPage/Ref.graphql"
|
||||
#import "../../CollectionPage/Ref.graphql"
|
||||
#import "../../ContentPage/Ref.graphql"
|
||||
#import "../../DestinationCityPage/Ref.graphql"
|
||||
#import "../../DestinationCountryPage/Ref.graphql"
|
||||
#import "../../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../HotelPage/Ref.graphql"
|
||||
#import "../../LoyaltyPage/Ref.graphql"
|
||||
#import "../../StartPage/Ref.graphql"
|
||||
#import "../../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment CardBlockRef on Card {
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
|
||||
import { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../../StartPage/Ref.graphql"
|
||||
import { System } from "../../System.graphql"
|
||||
|
||||
export const CardBlockRef = gql`
|
||||
fragment CardBlockRef on Card {
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,60 +0,0 @@
|
||||
#import "../../AccountPage/Ref.graphql"
|
||||
#import "../../CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../CampaignPage/Ref.graphql"
|
||||
#import "../../CollectionPage/Ref.graphql"
|
||||
#import "../../ContentPage/Ref.graphql"
|
||||
#import "../../DestinationCityPage/Ref.graphql"
|
||||
#import "../../DestinationCountryPage/Ref.graphql"
|
||||
#import "../../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../HotelPage/Ref.graphql"
|
||||
#import "../../LoyaltyPage/Ref.graphql"
|
||||
#import "../../StartPage/Ref.graphql"
|
||||
#import "../../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment InfoCardBlockRef on InfoCard {
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
|
||||
import { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../../StartPage/Ref.graphql"
|
||||
|
||||
export const InfoCardBlockRef = gql`
|
||||
fragment InfoCardBlockRef on InfoCard {
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,39 +0,0 @@
|
||||
#import "../../AccountPage/Ref.graphql"
|
||||
#import "../../CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../CampaignPage/Ref.graphql"
|
||||
#import "../../CollectionPage/Ref.graphql"
|
||||
#import "../../ContentPage/Ref.graphql"
|
||||
#import "../../DestinationCityPage/Ref.graphql"
|
||||
#import "../../DestinationCountryPage/Ref.graphql"
|
||||
#import "../../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../HotelPage/Ref.graphql"
|
||||
#import "../../LoyaltyPage/Ref.graphql"
|
||||
#import "../../StartPage/Ref.graphql"
|
||||
#import "../../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment LoyaltyCardBlockRef on LoyaltyCard {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
|
||||
import { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../../StartPage/Ref.graphql"
|
||||
import { System } from "../../System.graphql"
|
||||
|
||||
export const LoyaltyCardBlockRef = gql`
|
||||
fragment LoyaltyCardBlockRef on LoyaltyCard {
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,125 +0,0 @@
|
||||
#import "../../AccountPage/Ref.graphql"
|
||||
#import "../../CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../CampaignPage/Ref.graphql"
|
||||
#import "../../CollectionPage/Ref.graphql"
|
||||
#import "../../ContentPage/Ref.graphql"
|
||||
#import "../../DestinationCityPage/Ref.graphql"
|
||||
#import "../../DestinationCountryPage/Ref.graphql"
|
||||
#import "../../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../HotelPage/Ref.graphql"
|
||||
#import "../../LoyaltyPage/Ref.graphql"
|
||||
#import "../../StartPage/Ref.graphql"
|
||||
#import "../../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment TeaserCardBlockRef on TeaserCard {
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
|
||||
import { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../../StartPage/Ref.graphql"
|
||||
|
||||
export const TeaserCardBlockRef = gql`
|
||||
fragment TeaserCardBlockRef on TeaserCard {
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_content {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,131 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment Shortcuts on Shortcuts {
|
||||
subtitle: preamble
|
||||
title
|
||||
two_column_list
|
||||
shortcuts {
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
open_in_new_tab
|
||||
text
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_AccountPage on AccountPageContentShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_CollectionPage on CollectionPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_ContentPage on ContentPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_LoyaltyPage on LoyaltyPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
|
||||
fragment ShortcutsRefs on Shortcuts {
|
||||
shortcuts {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_AccountPageRefs on AccountPageContentShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_CollectionPageRefs on CollectionPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_ContentPageRefs on ContentPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
|
||||
fragment Shortcuts_LoyaltyPageRefs on LoyaltyPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
184
packages/trpc/lib/graphql/Fragments/Blocks/Shortcuts.graphql.ts
Normal file
184
packages/trpc/lib/graphql/Fragments/Blocks/Shortcuts.graphql.ts
Normal file
@@ -0,0 +1,184 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const Shortcuts = gql`
|
||||
fragment Shortcuts on Shortcuts {
|
||||
subtitle: preamble
|
||||
title
|
||||
two_column_list
|
||||
shortcuts {
|
||||
is_contentstack_link
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
open_in_new_tab
|
||||
text
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const Shortcuts_AccountPage = gql`
|
||||
fragment Shortcuts_AccountPage on AccountPageContentShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
${Shortcuts}
|
||||
`
|
||||
|
||||
export const Shortcuts_CollectionPage = gql`
|
||||
fragment Shortcuts_CollectionPage on CollectionPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
${Shortcuts}
|
||||
`
|
||||
|
||||
export const Shortcuts_ContentPage = gql`
|
||||
fragment Shortcuts_ContentPage on ContentPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
${Shortcuts}
|
||||
`
|
||||
|
||||
export const Shortcuts_LoyaltyPage = gql`
|
||||
fragment Shortcuts_LoyaltyPage on LoyaltyPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...Shortcuts
|
||||
}
|
||||
}
|
||||
${Shortcuts}
|
||||
`
|
||||
|
||||
export const ShortcutsRefs = gql`
|
||||
fragment ShortcutsRefs on Shortcuts {
|
||||
shortcuts {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const Shortcuts_AccountPageRefs = gql`
|
||||
fragment Shortcuts_AccountPageRefs on AccountPageContentShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
${ShortcutsRefs}
|
||||
`
|
||||
|
||||
export const Shortcuts_CollectionPageRefs = gql`
|
||||
fragment Shortcuts_CollectionPageRefs on CollectionPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
${ShortcutsRefs}
|
||||
`
|
||||
|
||||
export const Shortcuts_ContentPageRefs = gql`
|
||||
fragment Shortcuts_ContentPageRefs on ContentPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
${ShortcutsRefs}
|
||||
`
|
||||
|
||||
export const Shortcuts_LoyaltyPageRefs = gql`
|
||||
fragment Shortcuts_LoyaltyPageRefs on LoyaltyPageBlocksShortcuts {
|
||||
shortcuts {
|
||||
...ShortcutsRefs
|
||||
}
|
||||
}
|
||||
${ShortcutsRefs}
|
||||
`
|
||||
@@ -1,3 +1,6 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const Table_ContentPage = gql`
|
||||
fragment Table_ContentPage on ContentPageBlocksTable {
|
||||
__typename
|
||||
table {
|
||||
@@ -7,3 +10,4 @@ fragment Table_ContentPage on ContentPageBlocksTable {
|
||||
table
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,169 +0,0 @@
|
||||
#import "../System.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"
|
||||
|
||||
fragment TeaserCardBlock on TeaserCard {
|
||||
heading
|
||||
body_text
|
||||
image
|
||||
title
|
||||
has_primary_button
|
||||
has_secondary_button
|
||||
has_sidepeek_button
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_button {
|
||||
call_to_action_text
|
||||
}
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
has_primary_button
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_secondary_button
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
185
packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql.ts
Normal file
185
packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql.ts
Normal file
@@ -0,0 +1,185 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const TeaserCardBlock = gql`
|
||||
fragment TeaserCardBlock on TeaserCard {
|
||||
heading
|
||||
body_text
|
||||
image
|
||||
title
|
||||
has_primary_button
|
||||
has_secondary_button
|
||||
has_sidepeek_button
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_button {
|
||||
call_to_action_text
|
||||
}
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
has_primary_button
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_secondary_button
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../SysAsset.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
|
||||
export const TextBlock = gql`
|
||||
fragment TextBlock on CurrentBlocksPageBlocksText {
|
||||
text {
|
||||
content {
|
||||
@@ -16,3 +19,5 @@ fragment TextBlock on CurrentBlocksPageBlocksText {
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,85 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
||||
text_cols {
|
||||
columns {
|
||||
title
|
||||
text {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment TextCols_ContentPageRef on ContentPageBlocksTextCols {
|
||||
text_cols {
|
||||
columns {
|
||||
title
|
||||
text {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
114
packages/trpc/lib/graphql/Fragments/Blocks/TextCols.graphql.ts
Normal file
114
packages/trpc/lib/graphql/Fragments/Blocks/TextCols.graphql.ts
Normal file
@@ -0,0 +1,114 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const TextCols_ContentPage = gql`
|
||||
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
||||
text_cols {
|
||||
columns {
|
||||
title
|
||||
text {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const TextCols_ContentPageRef = gql`
|
||||
fragment TextCols_ContentPageRef on ContentPageBlocksTextCols {
|
||||
text_cols {
|
||||
columns {
|
||||
title
|
||||
text {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../SysAsset.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
|
||||
export const TextContent_AccountPage = gql`
|
||||
fragment TextContent_AccountPage on AccountPageContentTextContent {
|
||||
text_content {
|
||||
content {
|
||||
@@ -16,3 +19,5 @@ fragment TextContent_AccountPage on AccountPageContentTextContent {
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,177 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
||||
__typename
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
__typename
|
||||
icon
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment UspGrid_ContentPageRefs on ContentPageBlocksUspGrid {
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
|
||||
__typename
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
__typename
|
||||
icon
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment UspGrid_CollectionPageRefs on CollectionPageBlocksUspGrid {
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
234
packages/trpc/lib/graphql/Fragments/Blocks/UspGrid.graphql.ts
Normal file
234
packages/trpc/lib/graphql/Fragments/Blocks/UspGrid.graphql.ts
Normal file
@@ -0,0 +1,234 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const UspGrid_ContentPage = gql`
|
||||
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
||||
__typename
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
__typename
|
||||
icon
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const UspGrid_ContentPageRefs = gql`
|
||||
fragment UspGrid_ContentPageRefs on ContentPageBlocksUspGrid {
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
|
||||
export const UspGrid_CollectionPage = gql`
|
||||
fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
|
||||
__typename
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
__typename
|
||||
icon
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const UspGrid_CollectionPageRefs = gql`
|
||||
fragment UspGrid_CollectionPageRefs on CollectionPageBlocksUspGrid {
|
||||
usp_grid {
|
||||
cardsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on UspGrid {
|
||||
usp_card {
|
||||
text {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const AccountPageBreadcrumb = gql`
|
||||
fragment AccountPageBreadcrumb on AccountPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment AccountPageBreadcrumb on AccountPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const AccountPageBreadcrumbRef = gql`
|
||||
fragment AccountPageBreadcrumbRef on AccountPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment AccountPageBreadcrumbRef on AccountPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,52 +0,0 @@
|
||||
#import "./AccountPage.graphql"
|
||||
#import "./CampaignOverviewPage.graphql"
|
||||
#import "./CampaignPage.graphql"
|
||||
#import "./CollectionPage.graphql"
|
||||
#import "./ContentPage.graphql"
|
||||
#import "./DestinationCityPage.graphql"
|
||||
#import "./DestinationCountryPage.graphql"
|
||||
#import "./DestinationOverviewPage.graphql"
|
||||
#import "./HotelPage.graphql"
|
||||
#import "./LoyaltyPage.graphql"
|
||||
|
||||
fragment Breadcrumbs on Breadcrumbs {
|
||||
title
|
||||
parentsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageBreadcrumb
|
||||
...CampaignOverviewPageBreadcrumb
|
||||
...CampaignPageBreadcrumb
|
||||
...CollectionPageBreadcrumb
|
||||
...ContentPageBreadcrumb
|
||||
...DestinationCityPageBreadcrumb
|
||||
...DestinationCountryPageBreadcrumb
|
||||
...DestinationOverviewPageBreadcrumb
|
||||
...HotelPageBreadcrumb
|
||||
...LoyaltyPageBreadcrumb
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment BreadcrumbsRefs on Breadcrumbs {
|
||||
title
|
||||
parentsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageBreadcrumbRef
|
||||
...CampaignOverviewPageBreadcrumbRef
|
||||
...CampaignPageBreadcrumbRef
|
||||
...CollectionPageBreadcrumbRef
|
||||
...ContentPageBreadcrumbRef
|
||||
...DestinationCityPageBreadcrumbRef
|
||||
...DestinationCountryPageBreadcrumbRef
|
||||
...DestinationOverviewPageBreadcrumbRef
|
||||
...HotelPageBreadcrumbRef
|
||||
...LoyaltyPageBreadcrumbRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
AccountPageBreadcrumb,
|
||||
AccountPageBreadcrumbRef,
|
||||
} from "./AccountPage.graphql"
|
||||
import {
|
||||
CampaignOverviewPageBreadcrumb,
|
||||
CampaignOverviewPageBreadcrumbRef,
|
||||
} from "./CampaignOverviewPage.graphql"
|
||||
import {
|
||||
CampaignPageBreadcrumb,
|
||||
CampaignPageBreadcrumbRef,
|
||||
} from "./CampaignPage.graphql"
|
||||
import {
|
||||
CollectionPageBreadcrumb,
|
||||
CollectionPageBreadcrumbRef,
|
||||
} from "./CollectionPage.graphql"
|
||||
import {
|
||||
ContentPageBreadcrumb,
|
||||
ContentPageBreadcrumbRef,
|
||||
} from "./ContentPage.graphql"
|
||||
import {
|
||||
DestinationCityPageBreadcrumb,
|
||||
DestinationCityPageBreadcrumbRef,
|
||||
} from "./DestinationCityPage.graphql"
|
||||
import {
|
||||
DestinationCountryPageBreadcrumb,
|
||||
DestinationCountryPageBreadcrumbRef,
|
||||
} from "./DestinationCountryPage.graphql"
|
||||
import {
|
||||
DestinationOverviewPageBreadcrumb,
|
||||
DestinationOverviewPageBreadcrumbRef,
|
||||
} from "./DestinationOverviewPage.graphql"
|
||||
import {
|
||||
HotelPageBreadcrumb,
|
||||
HotelPageBreadcrumbRef,
|
||||
} from "./HotelPage.graphql"
|
||||
import {
|
||||
LoyaltyPageBreadcrumb,
|
||||
LoyaltyPageBreadcrumbRef,
|
||||
} from "./LoyaltyPage.graphql"
|
||||
|
||||
export const Breadcrumbs = gql`
|
||||
fragment Breadcrumbs on Breadcrumbs {
|
||||
title
|
||||
parentsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageBreadcrumb
|
||||
...CampaignOverviewPageBreadcrumb
|
||||
...CampaignPageBreadcrumb
|
||||
...CollectionPageBreadcrumb
|
||||
...ContentPageBreadcrumb
|
||||
...DestinationCityPageBreadcrumb
|
||||
...DestinationCountryPageBreadcrumb
|
||||
...DestinationOverviewPageBreadcrumb
|
||||
...HotelPageBreadcrumb
|
||||
...LoyaltyPageBreadcrumb
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageBreadcrumb}
|
||||
${CampaignOverviewPageBreadcrumb}
|
||||
${CampaignPageBreadcrumb}
|
||||
${CollectionPageBreadcrumb}
|
||||
${ContentPageBreadcrumb}
|
||||
${DestinationCityPageBreadcrumb}
|
||||
${DestinationCountryPageBreadcrumb}
|
||||
${DestinationOverviewPageBreadcrumb}
|
||||
${HotelPageBreadcrumb}
|
||||
${LoyaltyPageBreadcrumb}
|
||||
`
|
||||
|
||||
export const BreadcrumbsRefs = gql`
|
||||
fragment BreadcrumbsRefs on Breadcrumbs {
|
||||
title
|
||||
parentsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageBreadcrumbRef
|
||||
...CampaignOverviewPageBreadcrumbRef
|
||||
...CampaignPageBreadcrumbRef
|
||||
...CollectionPageBreadcrumbRef
|
||||
...ContentPageBreadcrumbRef
|
||||
...DestinationCityPageBreadcrumbRef
|
||||
...DestinationCountryPageBreadcrumbRef
|
||||
...DestinationOverviewPageBreadcrumbRef
|
||||
...HotelPageBreadcrumbRef
|
||||
...LoyaltyPageBreadcrumbRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageBreadcrumbRef}
|
||||
${CampaignOverviewPageBreadcrumbRef}
|
||||
${CampaignPageBreadcrumbRef}
|
||||
${CollectionPageBreadcrumbRef}
|
||||
${ContentPageBreadcrumbRef}
|
||||
${DestinationCityPageBreadcrumbRef}
|
||||
${DestinationCountryPageBreadcrumbRef}
|
||||
${DestinationOverviewPageBreadcrumbRef}
|
||||
${HotelPageBreadcrumbRef}
|
||||
${LoyaltyPageBreadcrumbRef}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CampaignOverviewPageBreadcrumb = gql`
|
||||
fragment CampaignOverviewPageBreadcrumb on CampaignOverviewPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment CampaignOverviewPageBreadcrumb on CampaignOverviewPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const CampaignOverviewPageBreadcrumbRef = gql`
|
||||
fragment CampaignOverviewPageBreadcrumbRef on CampaignOverviewPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment CampaignOverviewPageBreadcrumbRef on CampaignOverviewPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CampaignPageBreadcrumb = gql`
|
||||
fragment CampaignPageBreadcrumb on CampaignPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment CampaignPageBreadcrumb on CampaignPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const CampaignPageBreadcrumbRef = gql`
|
||||
fragment CampaignPageBreadcrumbRef on CampaignPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment CampaignPageBreadcrumbRef on CampaignPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CollectionPageBreadcrumb = gql`
|
||||
fragment CollectionPageBreadcrumb on CollectionPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment CollectionPageBreadcrumb on CollectionPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const CollectionPageBreadcrumbRef = gql`
|
||||
fragment CollectionPageBreadcrumbRef on CollectionPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment CollectionPageBreadcrumbRef on CollectionPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const ContentPageBreadcrumb = gql`
|
||||
fragment ContentPageBreadcrumb on ContentPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment ContentPageBreadcrumb on ContentPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const ContentPageBreadcrumbRef = gql`
|
||||
fragment ContentPageBreadcrumbRef on ContentPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment ContentPageBreadcrumbRef on ContentPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,3 +1,6 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const CurrentBlocksPageBreadcrumbs = gql`
|
||||
fragment CurrentBlocksPageBreadcrumbs on CurrentBlocksPage {
|
||||
breadcrumbs {
|
||||
parents {
|
||||
@@ -7,3 +10,4 @@ fragment CurrentBlocksPageBreadcrumbs on CurrentBlocksPage {
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const DestinationCityPageBreadcrumb = gql`
|
||||
fragment DestinationCityPageBreadcrumb on DestinationCityPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment DestinationCityPageBreadcrumb on DestinationCityPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const DestinationCityPageBreadcrumbRef = gql`
|
||||
fragment DestinationCityPageBreadcrumbRef on DestinationCityPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment DestinationCityPageBreadcrumbRef on DestinationCityPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const DestinationCountryPageBreadcrumb = gql`
|
||||
fragment DestinationCountryPageBreadcrumb on DestinationCountryPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment DestinationCountryPageBreadcrumb on DestinationCountryPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const DestinationCountryPageBreadcrumbRef = gql`
|
||||
fragment DestinationCountryPageBreadcrumbRef on DestinationCountryPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment DestinationCountryPageBreadcrumbRef on DestinationCountryPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const DestinationOverviewPageBreadcrumb = gql`
|
||||
fragment DestinationOverviewPageBreadcrumb on DestinationOverviewPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment DestinationOverviewPageBreadcrumb on DestinationOverviewPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const DestinationOverviewPageBreadcrumbRef = gql`
|
||||
fragment DestinationOverviewPageBreadcrumbRef on DestinationOverviewPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment DestinationOverviewPageBreadcrumbRef on DestinationOverviewPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const HotelPageBreadcrumb = gql`
|
||||
fragment HotelPageBreadcrumb on HotelPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment HotelPageBreadcrumb on HotelPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const HotelPageBreadcrumbRef = gql`
|
||||
fragment HotelPageBreadcrumbRef on HotelPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment HotelPageBreadcrumbRef on HotelPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const LoyaltyPageBreadcrumb = gql`
|
||||
fragment LoyaltyPageBreadcrumb on LoyaltyPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment LoyaltyPageBreadcrumb on LoyaltyPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const LoyaltyPageBreadcrumbRef = gql`
|
||||
fragment LoyaltyPageBreadcrumbRef on LoyaltyPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment LoyaltyPageBreadcrumbRef on LoyaltyPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,5 +1,8 @@
|
||||
#import "../System.graphql"
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const PromoCampaignPageBreadcrumb = gql`
|
||||
fragment PromoCampaignPageBreadcrumb on PromoCampaignPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -11,7 +14,10 @@ fragment PromoCampaignPageBreadcrumb on PromoCampaignPage {
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const PromoCampaignPageBreadcrumbRef = gql`
|
||||
fragment PromoCampaignPageBreadcrumbRef on PromoCampaignPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
@@ -22,3 +28,5 @@ fragment PromoCampaignPageBreadcrumbRef on PromoCampaignPage {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,74 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment NavigationLinks_CampaignOverviewPage on CampaignOverviewPageHeader {
|
||||
navigation_links {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment NavigationLinksRef_CampaignOverviewPage on CampaignOverviewPageHeader {
|
||||
navigation_links {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const NavigationLinks_CampaignOverviewPage = gql`
|
||||
fragment NavigationLinks_CampaignOverviewPage on CampaignOverviewPageHeader {
|
||||
navigation_links {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const NavigationLinksRef_CampaignOverviewPage = gql`
|
||||
fragment NavigationLinksRef_CampaignOverviewPage on CampaignOverviewPageHeader {
|
||||
navigation_links {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../System.graphql"
|
||||
|
||||
fragment CampaignOverviewPageRef on CampaignOverviewPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CampaignOverviewPageRef = gql`
|
||||
fragment CampaignOverviewPageRef on CampaignOverviewPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,23 +0,0 @@
|
||||
#import "../System.graphql"
|
||||
|
||||
#import "../Blocks/HotelListing.graphql"
|
||||
#import "../CampaignPage/IncludedHotels.graphql"
|
||||
#import "../CampaignPage/Hero.graphql"
|
||||
|
||||
fragment TopCampaign on CampaignPage {
|
||||
included_hotels {
|
||||
...CampaignPageIncludedHotels
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...HotelListing_CampaignPage
|
||||
}
|
||||
url
|
||||
...Hero_CampaignPage
|
||||
}
|
||||
|
||||
fragment TopCampaignRef on CampaignPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { HotelListing_CampaignPage } from "../Blocks/HotelListing.graphql"
|
||||
import { Hero_CampaignPage } from "../CampaignPage/Hero.graphql"
|
||||
import { CampaignPageIncludedHotels } from "../CampaignPage/IncludedHotels.graphql"
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const TopCampaign = gql`
|
||||
fragment TopCampaign on CampaignPage {
|
||||
included_hotels {
|
||||
...CampaignPageIncludedHotels
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...HotelListing_CampaignPage
|
||||
}
|
||||
url
|
||||
...Hero_CampaignPage
|
||||
}
|
||||
${HotelListing_CampaignPage}
|
||||
${CampaignPageIncludedHotels}
|
||||
${Hero_CampaignPage}
|
||||
`
|
||||
|
||||
export const TopCampaignRef = gql`
|
||||
fragment TopCampaignRef on CampaignPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,90 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment Hero_CampaignPage on CampaignPage {
|
||||
hero {
|
||||
image
|
||||
heading
|
||||
theme
|
||||
benefits
|
||||
rate_text {
|
||||
bold_text
|
||||
text
|
||||
}
|
||||
campaign_text {
|
||||
text
|
||||
bold_text
|
||||
}
|
||||
button {
|
||||
cta
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment HeroRef_CampaignPage on CampaignPage {
|
||||
hero {
|
||||
button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
119
packages/trpc/lib/graphql/Fragments/CampaignPage/Hero.graphql.ts
Normal file
119
packages/trpc/lib/graphql/Fragments/CampaignPage/Hero.graphql.ts
Normal file
@@ -0,0 +1,119 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const Hero_CampaignPage = gql`
|
||||
fragment Hero_CampaignPage on CampaignPage {
|
||||
hero {
|
||||
image
|
||||
heading
|
||||
theme
|
||||
benefits
|
||||
rate_text {
|
||||
bold_text
|
||||
text
|
||||
}
|
||||
campaign_text {
|
||||
text
|
||||
bold_text
|
||||
}
|
||||
button {
|
||||
cta
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const HeroRef_CampaignPage = gql`
|
||||
fragment HeroRef_CampaignPage on CampaignPage {
|
||||
hero {
|
||||
button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,45 +0,0 @@
|
||||
fragment CampaignPageIncludedHotels on CampaignPageIncludedHotels {
|
||||
list_1Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
hotel_page_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
list_2Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
hotel_page_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment CampaignPageIncludedHotelsRef on CampaignPageIncludedHotels {
|
||||
list_1Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
list_2Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CampaignPageIncludedHotels = gql`
|
||||
fragment CampaignPageIncludedHotels on CampaignPageIncludedHotels {
|
||||
list_1Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
hotel_page_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
list_2Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
hotel_page_id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const CampaignPageIncludedHotelsRef = gql`
|
||||
fragment CampaignPageIncludedHotelsRef on CampaignPageIncludedHotels {
|
||||
list_1Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
list_2Connection {
|
||||
edges {
|
||||
node {
|
||||
... on HotelPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../System.graphql"
|
||||
|
||||
fragment CampaignPageRef on CampaignPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CampaignPageRef = gql`
|
||||
fragment CampaignPageRef on CampaignPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,74 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
|
||||
navigation_links {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment NavigationLinksRef_CollectionPage on CollectionPageHeader {
|
||||
navigation_links {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const NavigationLinks_CollectionPage = gql`
|
||||
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
|
||||
navigation_links {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const NavigationLinksRef_CollectionPage = gql`
|
||||
fragment NavigationLinksRef_CollectionPage on CollectionPageHeader {
|
||||
navigation_links {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../System.graphql"
|
||||
|
||||
fragment CollectionPageRef on CollectionPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CollectionPageRef = gql`
|
||||
fragment CollectionPageRef on CollectionPage {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,79 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment TopPrimaryButton_CollectionPage on CollectionPageHeader {
|
||||
top_primary_button {
|
||||
title
|
||||
is_contentstack_link
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment TopPrimaryButtonRef_CollectionPage on CollectionPageHeader {
|
||||
top_primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
||||
import { CampaignOverviewPageRef } from "../CampaignOverviewPage/Ref.graphql"
|
||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
||||
import { CollectionPageRef } from "../CollectionPage/Ref.graphql"
|
||||
import { ContentPageRef } from "../ContentPage/Ref.graphql"
|
||||
import { DestinationCityPageRef } from "../DestinationCityPage/Ref.graphql"
|
||||
import { DestinationCountryPageRef } from "../DestinationCountryPage/Ref.graphql"
|
||||
import { DestinationOverviewPageRef } from "../DestinationOverviewPage/Ref.graphql"
|
||||
import { HotelPageRef } from "../HotelPage/Ref.graphql"
|
||||
import { LoyaltyPageRef } from "../LoyaltyPage/Ref.graphql"
|
||||
import { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
|
||||
export const TopPrimaryButton_CollectionPage = gql`
|
||||
fragment TopPrimaryButton_CollectionPage on CollectionPageHeader {
|
||||
top_primary_button {
|
||||
title
|
||||
is_contentstack_link
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const TopPrimaryButtonRef_CollectionPage = gql`
|
||||
fragment TopPrimaryButtonRef_CollectionPage on CollectionPageHeader {
|
||||
top_primary_button {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${CollectionPageRef}
|
||||
${ContentPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${StartPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
@@ -1,52 +0,0 @@
|
||||
fragment ContactExtraInfo on ContactBlockSectionsExtraInfo {
|
||||
extra_info {
|
||||
text
|
||||
}
|
||||
}
|
||||
|
||||
fragment ContactMailingAddress on ContactBlockSectionsMailingAddress {
|
||||
mailing_address {
|
||||
city
|
||||
country
|
||||
name
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
|
||||
fragment ContactPhone on ContactBlockSectionsPhone {
|
||||
phone {
|
||||
number
|
||||
title
|
||||
}
|
||||
}
|
||||
|
||||
fragment ContactTitle on ContactBlockSectionsTitle {
|
||||
title {
|
||||
text
|
||||
}
|
||||
}
|
||||
|
||||
fragment ContactVisitingAddress on ContactBlockSectionsVisitingAddress {
|
||||
visiting_address {
|
||||
city
|
||||
country
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
|
||||
fragment Contact on ContactBlock {
|
||||
sections {
|
||||
__typename
|
||||
...ContactExtraInfo
|
||||
...ContactMailingAddress
|
||||
...ContactPhone
|
||||
...ContactTitle
|
||||
...ContactVisitingAddress
|
||||
}
|
||||
system {
|
||||
locale
|
||||
uid
|
||||
}
|
||||
}
|
||||
71
packages/trpc/lib/graphql/Fragments/Contact.graphql.ts
Normal file
71
packages/trpc/lib/graphql/Fragments/Contact.graphql.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const ContactExtraInfo = gql`
|
||||
fragment ContactExtraInfo on ContactBlockSectionsExtraInfo {
|
||||
extra_info {
|
||||
text
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactMailingAddress = gql`
|
||||
fragment ContactMailingAddress on ContactBlockSectionsMailingAddress {
|
||||
mailing_address {
|
||||
city
|
||||
country
|
||||
name
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactPhone = gql`
|
||||
fragment ContactPhone on ContactBlockSectionsPhone {
|
||||
phone {
|
||||
number
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactTitle = gql`
|
||||
fragment ContactTitle on ContactBlockSectionsTitle {
|
||||
title {
|
||||
text
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactVisitingAddress = gql`
|
||||
fragment ContactVisitingAddress on ContactBlockSectionsVisitingAddress {
|
||||
visiting_address {
|
||||
city
|
||||
country
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const Contact = gql`
|
||||
fragment Contact on ContactBlock {
|
||||
sections {
|
||||
__typename
|
||||
...ContactExtraInfo
|
||||
...ContactMailingAddress
|
||||
...ContactPhone
|
||||
...ContactTitle
|
||||
...ContactVisitingAddress
|
||||
}
|
||||
system {
|
||||
locale
|
||||
uid
|
||||
}
|
||||
}
|
||||
${ContactExtraInfo}
|
||||
${ContactMailingAddress}
|
||||
${ContactPhone}
|
||||
${ContactTitle}
|
||||
${ContactVisitingAddress}
|
||||
`
|
||||
@@ -1,74 +0,0 @@
|
||||
#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 "../CollectionPage/Ref.graphql"
|
||||
#import "../ContentPage/Ref.graphql"
|
||||
#import "../DestinationCityPage/Ref.graphql"
|
||||
#import "../DestinationCountryPage/Ref.graphql"
|
||||
#import "../DestinationOverviewPage/Ref.graphql"
|
||||
#import "../HotelPage/Ref.graphql"
|
||||
#import "../LoyaltyPage/Ref.graphql"
|
||||
#import "../StartPage/Ref.graphql"
|
||||
#import "../PromoCampaignPage/Ref.graphql"
|
||||
|
||||
fragment NavigationLinks_ContentPage on ContentPageHeader {
|
||||
navigation_links {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fragment NavigationLinksRef_ContentPage on ContentPageHeader {
|
||||
navigation_links {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user