Merged in feat/rework-contentstack (pull request #3493)
Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation * Remove all REFS * Revalidate correct language * PR fixes * PR fixes * Throw when errors from contentstack api Approved-by: Joakim Jäderberg
This commit is contained in:
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
@@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"typescript.experimental.useTsgo": false
|
"typescript.experimental.useTsgo": false,
|
||||||
|
"chat.tools.terminal.autoApprove": {
|
||||||
|
"yarn test": true,
|
||||||
|
"yarn check-types": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ CMS_ACCESS_TOKEN=""
|
|||||||
CMS_BRANCH="development"
|
CMS_BRANCH="development"
|
||||||
CMS_API_KEY=""
|
CMS_API_KEY=""
|
||||||
CMS_ENVIRONMENT="development"
|
CMS_ENVIRONMENT="development"
|
||||||
|
CMS_MANAGEMENT_TOKEN="csddab1f1520ce77a1312af5d3"
|
||||||
CMS_PREVIEW_TOKEN=""
|
CMS_PREVIEW_TOKEN=""
|
||||||
CMS_PREVIEW_URL=""
|
CMS_PREVIEW_URL=""
|
||||||
CMS_URL="https://eu-graphql.contentstack.com/stacks/${CMS_API_KEY}?environment=${CMS_ENVIRONMENT}"
|
CMS_URL="https://eu-graphql.contentstack.com/stacks/${CMS_API_KEY}?environment=${CMS_ENVIRONMENT}"
|
||||||
|
|||||||
@@ -11,13 +11,10 @@ import { languageSwitcherAffix } from "@scandic-hotels/trpc/routers/contentstack
|
|||||||
import { affix as metadataAffix } from "@scandic-hotels/trpc/routers/contentstack/metadata/utils"
|
import { affix as metadataAffix } from "@scandic-hotels/trpc/routers/contentstack/metadata/utils"
|
||||||
import { affix as pageSettingsAffix } from "@scandic-hotels/trpc/routers/contentstack/pageSettings/utils"
|
import { affix as pageSettingsAffix } from "@scandic-hotels/trpc/routers/contentstack/pageSettings/utils"
|
||||||
import { resolveEntryCacheKey } from "@scandic-hotels/trpc/utils/entry"
|
import { resolveEntryCacheKey } from "@scandic-hotels/trpc/utils/entry"
|
||||||
import {
|
import { generateTag } from "@scandic-hotels/trpc/utils/generateTag"
|
||||||
generateRefsResponseTag,
|
|
||||||
generateRefTag,
|
|
||||||
generateTag,
|
|
||||||
} from "@scandic-hotels/trpc/utils/generateTag"
|
|
||||||
|
|
||||||
import { env } from "@/env/server"
|
import { env } from "@/env/server"
|
||||||
|
import { fetchEntryReferences } from "@/lib/contentstack/fetchEntryReferences"
|
||||||
import { badRequest, internalServerError } from "@/server/errors/next"
|
import { badRequest, internalServerError } from "@/server/errors/next"
|
||||||
|
|
||||||
import type { NextRequest } from "next/server"
|
import type { NextRequest } from "next/server"
|
||||||
@@ -28,11 +25,6 @@ const validateJsonBody = z.object({
|
|||||||
uid: z.string(),
|
uid: z.string(),
|
||||||
}),
|
}),
|
||||||
entry: z.object({
|
entry: z.object({
|
||||||
breadcrumbs: z
|
|
||||||
.object({
|
|
||||||
title: z.string(),
|
|
||||||
})
|
|
||||||
.optional(),
|
|
||||||
locale: z.nativeEnum(Lang),
|
locale: z.nativeEnum(Lang),
|
||||||
publish_details: z.object({ locale: z.nativeEnum(Lang) }).optional(),
|
publish_details: z.object({ locale: z.nativeEnum(Lang) }).optional(),
|
||||||
uid: z.string(),
|
uid: z.string(),
|
||||||
@@ -44,6 +36,15 @@ const validateJsonBody = z.object({
|
|||||||
.optional(),
|
.optional(),
|
||||||
destination_settings:
|
destination_settings:
|
||||||
destinationCityPageDestinationSettingsSchema.optional(),
|
destinationCityPageDestinationSettingsSchema.optional(),
|
||||||
|
web: z
|
||||||
|
.object({
|
||||||
|
breadcrumbs: z
|
||||||
|
.object({
|
||||||
|
title: z.string(),
|
||||||
|
})
|
||||||
|
.optional(),
|
||||||
|
})
|
||||||
|
.optional(),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
@@ -81,12 +82,6 @@ export async function POST(request: NextRequest) {
|
|||||||
// The publish_details.locale is the locale that the entry is published in, regardless if it is "localized" or not
|
// The publish_details.locale is the locale that the entry is published in, regardless if it is "localized" or not
|
||||||
const entryLocale = entry.publish_details?.locale ?? entry.locale
|
const entryLocale = entry.publish_details?.locale ?? entry.locale
|
||||||
|
|
||||||
const refsTag = generateRefsResponseTag(entryLocale, entry.uid)
|
|
||||||
const contentEntryTag = generateRefsResponseTag(
|
|
||||||
entryLocale,
|
|
||||||
content_type.uid
|
|
||||||
)
|
|
||||||
const refTag = generateRefTag(entryLocale, content_type.uid, entry.uid)
|
|
||||||
const tag = generateTag(entryLocale, entry.uid)
|
const tag = generateTag(entryLocale, entry.uid)
|
||||||
const languageSwitcherTag = generateTag(
|
const languageSwitcherTag = generateTag(
|
||||||
"" as Lang, // We want to clear all languages when unpublishing a page
|
"" as Lang, // We want to clear all languages when unpublishing a page
|
||||||
@@ -106,14 +101,6 @@ export async function POST(request: NextRequest) {
|
|||||||
revalidateTag(contentTypeUidTag, { expire: 0 })
|
revalidateTag(contentTypeUidTag, { expire: 0 })
|
||||||
keysToDelete.push(contentTypeUidTag)
|
keysToDelete.push(contentTypeUidTag)
|
||||||
|
|
||||||
revalidateLogger.debug(`Revalidating refsTag: ${refsTag}`)
|
|
||||||
revalidateTag(refsTag, { expire: 0 })
|
|
||||||
keysToDelete.push(refsTag)
|
|
||||||
|
|
||||||
revalidateLogger.debug(`Revalidating refTag: ${refTag}`)
|
|
||||||
revalidateTag(refTag, { expire: 0 })
|
|
||||||
keysToDelete.push(refTag)
|
|
||||||
|
|
||||||
revalidateLogger.debug(`Revalidating tag: ${tag}`)
|
revalidateLogger.debug(`Revalidating tag: ${tag}`)
|
||||||
revalidateTag(tag, { expire: 0 })
|
revalidateTag(tag, { expire: 0 })
|
||||||
keysToDelete.push(tag)
|
keysToDelete.push(tag)
|
||||||
@@ -126,9 +113,6 @@ export async function POST(request: NextRequest) {
|
|||||||
revalidateLogger.debug(`Revalidating metadataTag: ${metadataTag}`)
|
revalidateLogger.debug(`Revalidating metadataTag: ${metadataTag}`)
|
||||||
revalidateTag(metadataTag, { expire: 0 })
|
revalidateTag(metadataTag, { expire: 0 })
|
||||||
keysToDelete.push(metadataTag)
|
keysToDelete.push(metadataTag)
|
||||||
revalidateLogger.debug(`Revalidating contentEntryTag: ${contentEntryTag}`)
|
|
||||||
revalidateTag(contentEntryTag, { expire: 0 })
|
|
||||||
keysToDelete.push(contentEntryTag)
|
|
||||||
|
|
||||||
if (entry.url) {
|
if (entry.url) {
|
||||||
const resolveEntryTag = resolveEntryCacheKey(entryLocale, entry.url)
|
const resolveEntryTag = resolveEntryCacheKey(entryLocale, entry.url)
|
||||||
@@ -136,24 +120,13 @@ export async function POST(request: NextRequest) {
|
|||||||
keysToDelete.push(resolveEntryTag)
|
keysToDelete.push(resolveEntryTag)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.breadcrumbs) {
|
if (entry.web?.breadcrumbs) {
|
||||||
const breadcrumbsRefsTag = generateRefsResponseTag(
|
|
||||||
entryLocale,
|
|
||||||
entry.uid,
|
|
||||||
breadcrumbsAffix
|
|
||||||
)
|
|
||||||
const breadcrumbsTag = generateTag(
|
const breadcrumbsTag = generateTag(
|
||||||
entryLocale,
|
entryLocale,
|
||||||
entry.uid,
|
entry.uid,
|
||||||
breadcrumbsAffix
|
breadcrumbsAffix
|
||||||
)
|
)
|
||||||
|
|
||||||
revalidateLogger.debug(
|
|
||||||
`Revalidating breadcrumbsRefsTag: ${breadcrumbsRefsTag}`
|
|
||||||
)
|
|
||||||
revalidateTag(breadcrumbsRefsTag, { expire: 0 })
|
|
||||||
keysToDelete.push(breadcrumbsRefsTag)
|
|
||||||
|
|
||||||
revalidateLogger.debug(`Revalidating breadcrumbsTag: ${breadcrumbsTag}`)
|
revalidateLogger.debug(`Revalidating breadcrumbsTag: ${breadcrumbsTag}`)
|
||||||
revalidateTag(breadcrumbsTag, { expire: 0 })
|
revalidateTag(breadcrumbsTag, { expire: 0 })
|
||||||
keysToDelete.push(breadcrumbsTag)
|
keysToDelete.push(breadcrumbsTag)
|
||||||
@@ -183,6 +156,26 @@ export async function POST(request: NextRequest) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fetch entries that REFERENCE this entry (parent pages that embed this content)
|
||||||
|
// This allows us to invalidate parent page caches when a referenced child is updated
|
||||||
|
const references = await fetchEntryReferences(content_type.uid, entry.uid)
|
||||||
|
|
||||||
|
for (const ref of references) {
|
||||||
|
// Use the entry's locale (from the webhook payload), not the reference's locale
|
||||||
|
// The API returns references with their base locale, but we only want to
|
||||||
|
// invalidate caches for the locale that was actually published
|
||||||
|
const parentTag = generateTag(entryLocale, ref.entry_uid)
|
||||||
|
revalidateLogger.debug(
|
||||||
|
`Revalidating parent reference tag: ${parentTag} (from ${ref.content_type_uid})`
|
||||||
|
)
|
||||||
|
revalidateTag(parentTag, { expire: 0 })
|
||||||
|
keysToDelete.push(parentTag)
|
||||||
|
}
|
||||||
|
|
||||||
|
revalidateLogger.debug(
|
||||||
|
`Deleting ${keysToDelete.length} keys (including ${references.length} parent references)`
|
||||||
|
)
|
||||||
|
|
||||||
await cacheClient.deleteKeys(keysToDelete, { fuzzy: true })
|
await cacheClient.deleteKeys(keysToDelete, { fuzzy: true })
|
||||||
|
|
||||||
return Response.json({ revalidated: true, now: Date.now() })
|
return Response.json({ revalidated: true, now: Date.now() })
|
||||||
|
|||||||
2
apps/scandic-web/env/server.ts
vendored
2
apps/scandic-web/env/server.ts
vendored
@@ -24,6 +24,7 @@ export const env = createEnv({
|
|||||||
CMS_API_KEY: z.string(),
|
CMS_API_KEY: z.string(),
|
||||||
CMS_ENVIRONMENT: z.enum(["development", "production", "stage", "test"]),
|
CMS_ENVIRONMENT: z.enum(["development", "production", "stage", "test"]),
|
||||||
CMS_BRANCH: z.enum(["development", "production"]),
|
CMS_BRANCH: z.enum(["development", "production"]),
|
||||||
|
CMS_MANAGEMENT_TOKEN: z.string().optional(),
|
||||||
CURITY_CLIENT_ID_USER: z.string().default("scandichotels-web"),
|
CURITY_CLIENT_ID_USER: z.string().default("scandichotels-web"),
|
||||||
CURITY_CLIENT_ID_SERVICE: z.string().default("scandichotels-web-backend"),
|
CURITY_CLIENT_ID_SERVICE: z.string().default("scandichotels-web-backend"),
|
||||||
CURITY_CLIENT_SECRET_SERVICE: z.string(),
|
CURITY_CLIENT_SECRET_SERVICE: z.string(),
|
||||||
@@ -123,6 +124,7 @@ export const env = createEnv({
|
|||||||
CMS_API_KEY: process.env.CMS_API_KEY,
|
CMS_API_KEY: process.env.CMS_API_KEY,
|
||||||
CMS_ENVIRONMENT: process.env.CMS_ENVIRONMENT,
|
CMS_ENVIRONMENT: process.env.CMS_ENVIRONMENT,
|
||||||
CMS_BRANCH: process.env.CMS_BRANCH,
|
CMS_BRANCH: process.env.CMS_BRANCH,
|
||||||
|
CMS_MANAGEMENT_TOKEN: process.env.CMS_MANAGEMENT_TOKEN,
|
||||||
CURITY_CLIENT_ID_USER: process.env.CURITY_CLIENT_ID_USER,
|
CURITY_CLIENT_ID_USER: process.env.CURITY_CLIENT_ID_USER,
|
||||||
CURITY_CLIENT_ID_SERVICE: process.env.CURITY_CLIENT_ID_SERVICE,
|
CURITY_CLIENT_ID_SERVICE: process.env.CURITY_CLIENT_ID_SERVICE,
|
||||||
CURITY_CLIENT_SECRET_SERVICE: process.env.CURITY_CLIENT_SECRET_SERVICE,
|
CURITY_CLIENT_SECRET_SERVICE: process.env.CURITY_CLIENT_SECRET_SERVICE,
|
||||||
|
|||||||
86
apps/scandic-web/lib/contentstack/fetchEntryReferences.ts
Normal file
86
apps/scandic-web/lib/contentstack/fetchEntryReferences.ts
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
import { z } from "zod"
|
||||||
|
|
||||||
|
import { createLogger } from "@scandic-hotels/common/logger/createLogger"
|
||||||
|
|
||||||
|
import { env } from "@/env/server"
|
||||||
|
|
||||||
|
const logger = createLogger("contentstack-references")
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Schema for validating Contentstack Management API references response
|
||||||
|
*/
|
||||||
|
const entryReferenceSchema = z.object({
|
||||||
|
uid: z.string().optional(),
|
||||||
|
entry_uid: z.string(),
|
||||||
|
content_type_uid: z.string(),
|
||||||
|
locale: z.string(),
|
||||||
|
title: z.string(),
|
||||||
|
_version: z.number().optional(),
|
||||||
|
content_type_title: z.string().optional(),
|
||||||
|
})
|
||||||
|
|
||||||
|
const referencesResponseSchema = z.object({
|
||||||
|
references: z.array(entryReferenceSchema).optional().default([]),
|
||||||
|
})
|
||||||
|
|
||||||
|
export type EntryReference = z.infer<typeof entryReferenceSchema>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetches all entries that reference the given entry from Contentstack Management API.
|
||||||
|
*
|
||||||
|
* This is used during cache invalidation to find parent pages that embed/reference
|
||||||
|
* the changed entry, so we can invalidate their caches as well.
|
||||||
|
*
|
||||||
|
* @see https://www.contentstack.com/docs/developers/apis/content-management-api#entry-references
|
||||||
|
*/
|
||||||
|
export async function fetchEntryReferences(
|
||||||
|
contentTypeUid: string,
|
||||||
|
entryUid: string
|
||||||
|
): Promise<EntryReference[]> {
|
||||||
|
const managementToken = env.CMS_MANAGEMENT_TOKEN
|
||||||
|
|
||||||
|
if (!managementToken) {
|
||||||
|
throw new Error("CMS_MANAGEMENT_TOKEN not configured")
|
||||||
|
}
|
||||||
|
|
||||||
|
// Contentstack EU region base URL
|
||||||
|
const baseUrl = "https://eu-api.contentstack.com"
|
||||||
|
const url = `${baseUrl}/v3/content_types/${contentTypeUid}/entries/${entryUid}/references`
|
||||||
|
|
||||||
|
const response = await fetch(url, {
|
||||||
|
method: "GET",
|
||||||
|
headers: {
|
||||||
|
api_key: env.CMS_API_KEY,
|
||||||
|
authorization: managementToken,
|
||||||
|
branch: env.CMS_BRANCH,
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
},
|
||||||
|
// Don't cache this request - we need fresh data
|
||||||
|
cache: "no-store",
|
||||||
|
})
|
||||||
|
|
||||||
|
if (!response.ok) {
|
||||||
|
const errorText = await response.text()
|
||||||
|
throw new Error(
|
||||||
|
`Failed to fetch entry references: ${response.status} ${errorText}`,
|
||||||
|
{
|
||||||
|
cause: response,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
const data = await response.json()
|
||||||
|
const parsed = referencesResponseSchema.safeParse(data)
|
||||||
|
|
||||||
|
if (!parsed.success) {
|
||||||
|
throw new Error("Invalid response from Contentstack references API", {
|
||||||
|
cause: parsed.error,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
logger.debug(
|
||||||
|
`Found ${parsed.data.references.length} references for ${contentTypeUid}/${entryUid}`
|
||||||
|
)
|
||||||
|
|
||||||
|
return parsed.data.references
|
||||||
|
}
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const AccountPageRef = gql`
|
|
||||||
fragment AccountPageRef on AccountPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "./PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,9 +12,6 @@ import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "./PageLink/StartPageLink.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 Alert = gql`
|
export const Alert = gql`
|
||||||
fragment Alert on Alert {
|
fragment Alert on Alert {
|
||||||
@@ -104,70 +91,3 @@ export const Alert = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "./PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "./PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "./StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const Banner = gql`
|
export const Banner = gql`
|
||||||
fragment Banner on Banner {
|
fragment Banner on Banner {
|
||||||
@@ -67,45 +55,3 @@ export const Banner = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,10 +12,7 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
import { SysAsset } from "../SysAsset.graphql"
|
import { SysAsset } from "../SysAsset.graphql"
|
||||||
import { AccordionBlockRefs } from "./Refs/Accordion.graphql"
|
|
||||||
|
|
||||||
export const AccordionBlock = gql`
|
export const AccordionBlock = gql`
|
||||||
fragment AccordionBlock on Accordion {
|
fragment AccordionBlock on Accordion {
|
||||||
@@ -196,76 +183,6 @@ export const Accordion_AccountPage = gql`
|
|||||||
${SpecificAccordion_AccountPage}
|
${SpecificAccordion_AccountPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_AccountPageRefs = gql`
|
|
||||||
fragment GlobalAccordion_AccountPageRefs on AccountPageContentAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_AccountPageRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
export const Accordion_AccountPageRefs = gql`
|
|
||||||
fragment Accordion_AccountPageRefs on AccountPageContentAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_AccountPageRefs
|
|
||||||
...SpecificAccordion_AccountPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_AccountPageRefs}
|
|
||||||
${SpecificAccordion_AccountPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GlobalAccordion_ContentPage = gql`
|
const GlobalAccordion_ContentPage = gql`
|
||||||
fragment GlobalAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
fragment GlobalAccordion_ContentPage on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||||
__typename
|
__typename
|
||||||
@@ -345,65 +262,6 @@ export const Accordion_ContentPage = gql`
|
|||||||
${SpecificAccordion_ContentPage}
|
${SpecificAccordion_ContentPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_ContentPageRefs = gql`
|
|
||||||
fragment GlobalAccordion_ContentPageRefs on ContentPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_ContentPageRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GlobalAccordion_DestinationCityPage = gql`
|
const GlobalAccordion_DestinationCityPage = gql`
|
||||||
fragment GlobalAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
fragment GlobalAccordion_DestinationCityPage on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||||
__typename
|
__typename
|
||||||
@@ -467,90 +325,6 @@ const SpecificAccordion_DestinationCityPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_DestinationCityPageRefs = gql`
|
|
||||||
fragment GlobalAccordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
export const Accordion_ContentPageRefs = gql`
|
|
||||||
fragment Accordion_ContentPageRefs on ContentPageBlocksAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_ContentPageRefs
|
|
||||||
...SpecificAccordion_ContentPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_ContentPageRefs}
|
|
||||||
${SpecificAccordion_ContentPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_DestinationCityPageRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
export const Accordion_DestinationCityPageRefs = gql`
|
|
||||||
fragment Accordion_DestinationCityPageRefs on DestinationCityPageBlocksAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_DestinationCityPageRefs
|
|
||||||
...SpecificAccordion_DestinationCityPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_DestinationCityPageRefs}
|
|
||||||
${SpecificAccordion_DestinationCityPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GlobalAccordion_DestinationCountryPage = gql`
|
const GlobalAccordion_DestinationCountryPage = gql`
|
||||||
fragment GlobalAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
fragment GlobalAccordion_DestinationCountryPage on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||||
__typename
|
__typename
|
||||||
@@ -630,77 +404,6 @@ export const Accordion_DestinationCountryPage = gql`
|
|||||||
${SpecificAccordion_DestinationCountryPage}
|
${SpecificAccordion_DestinationCountryPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_DestinationCountryPageRefs = gql`
|
|
||||||
fragment GlobalAccordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_DestinationCountryPageRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const Accordion_DestinationCountryPageRefs = gql`
|
|
||||||
fragment Accordion_DestinationCountryPageRefs on DestinationCountryPageBlocksAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_DestinationCountryPageRefs
|
|
||||||
...SpecificAccordion_DestinationCountryPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_DestinationCountryPageRefs}
|
|
||||||
${SpecificAccordion_DestinationCountryPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GlobalAccordion_CampaignPage = gql`
|
const GlobalAccordion_CampaignPage = gql`
|
||||||
fragment GlobalAccordion_CampaignPage on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
fragment GlobalAccordion_CampaignPage on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||||
__typename
|
__typename
|
||||||
@@ -779,76 +482,6 @@ export const Accordion_CampaignPage = gql`
|
|||||||
${SpecificAccordion_CampaignPage}
|
${SpecificAccordion_CampaignPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_CampaignPageRefs = gql`
|
|
||||||
fragment GlobalAccordion_CampaignPageRefs on CampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_CampaignPageRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
export const Accordion_CampaignPageRefs = gql`
|
|
||||||
fragment Accordion_CampaignPageRefs on CampaignPageBlocksAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_CampaignPageRefs
|
|
||||||
...SpecificAccordion_CampaignPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_CampaignPageRefs}
|
|
||||||
${SpecificAccordion_CampaignPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GlobalAccordion_DestinationFilterBlocks = gql`
|
const GlobalAccordion_DestinationFilterBlocks = gql`
|
||||||
fragment GlobalAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
fragment GlobalAccordion_DestinationFilterBlocks on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||||
__typename
|
__typename
|
||||||
@@ -927,76 +560,6 @@ export const Accordion_DestinationFilterBlocks = gql`
|
|||||||
${SpecificAccordion_DestinationFilterBlocks}
|
${SpecificAccordion_DestinationFilterBlocks}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_DestinationFilterBlocksRefs = gql`
|
|
||||||
fragment GlobalAccordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_DestinationFilterBlocksRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
export const Accordion_DestinationFilterBlocksRefs = gql`
|
|
||||||
fragment Accordion_DestinationFilterBlocksRefs on DestinationFilterBlocksAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_DestinationFilterBlocksRefs
|
|
||||||
...SpecificAccordion_DestinationFilterBlocksRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_DestinationFilterBlocksRefs}
|
|
||||||
${SpecificAccordion_DestinationFilterBlocksRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GlobalAccordion_PromoCampaignPage = gql`
|
const GlobalAccordion_PromoCampaignPage = gql`
|
||||||
fragment GlobalAccordion_PromoCampaignPage on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
fragment GlobalAccordion_PromoCampaignPage on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
||||||
__typename
|
__typename
|
||||||
@@ -1074,77 +637,6 @@ export const Accordion_PromoCampaignPage = gql`
|
|||||||
${SpecificAccordion_PromoCampaignPage}
|
${SpecificAccordion_PromoCampaignPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GlobalAccordion_PromoCampaignPageRefs = gql`
|
|
||||||
fragment GlobalAccordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordionBlockAccordionsGlobalAccordion {
|
|
||||||
global_accordion {
|
|
||||||
global_accordionConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
const SpecificAccordion_PromoCampaignPageRefs = gql`
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const Accordion_PromoCampaignPageRefs = gql`
|
|
||||||
fragment Accordion_PromoCampaignPageRefs on PromoCampaignPageBlocksAccordion {
|
|
||||||
accordion {
|
|
||||||
accordions {
|
|
||||||
__typename
|
|
||||||
...GlobalAccordion_PromoCampaignPageRefs
|
|
||||||
...SpecificAccordion_PromoCampaignPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${GlobalAccordion_PromoCampaignPageRefs}
|
|
||||||
${SpecificAccordion_PromoCampaignPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const Accordion_DestinationCityPage = gql`
|
export const Accordion_DestinationCityPage = gql`
|
||||||
fragment Accordion_DestinationCityPage on DestinationCityPageBlocksAccordion {
|
fragment Accordion_DestinationCityPage on DestinationCityPageBlocksAccordion {
|
||||||
__typename
|
__typename
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const AllCampaigns = gql`
|
export const AllCampaigns = gql`
|
||||||
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
|
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
|
||||||
all_campaigns {
|
all_campaigns {
|
||||||
@@ -39,21 +36,3 @@ export const AllCampaigns = gql`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const AllCampaignsRefs = gql`
|
|
||||||
fragment AllCampaignsRefs on CampaignOverviewPageBlocksAllCampaigns {
|
|
||||||
all_campaigns {
|
|
||||||
campaignsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...CampaignPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,10 +12,8 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.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 { System } from "../System.graphql"
|
||||||
import { ContentCardBlock, ContentCardBlockRef } from "./ContentCard.graphql"
|
import { ContentCardBlock } from "./ContentCard.graphql"
|
||||||
|
|
||||||
export const CardGallery_DestinationOverviewPage = gql`
|
export const CardGallery_DestinationOverviewPage = gql`
|
||||||
fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCardGallery {
|
fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCardGallery {
|
||||||
@@ -87,53 +75,3 @@ export const CardGallery_DestinationOverviewPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,11 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.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 { CardBlock } from "./Card.graphql"
|
||||||
import { InfoCardBlock } from "./InfoCard.graphql"
|
import { InfoCardBlock } from "./InfoCard.graphql"
|
||||||
import { LoyaltyCardBlock } from "./LoyaltyCard.graphql"
|
import { LoyaltyCardBlock } from "./LoyaltyCard.graphql"
|
||||||
@@ -56,26 +41,6 @@ export const CardsGrid_ContentPage = gql`
|
|||||||
${TeaserCardBlock}
|
${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`
|
export const CardsGrid_CollectionPage = gql`
|
||||||
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
|
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
|
||||||
cards_grid {
|
cards_grid {
|
||||||
@@ -98,24 +63,6 @@ export const CardsGrid_CollectionPage = gql`
|
|||||||
${TeaserCardBlock}
|
${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`
|
export const CardsGrid_LoyaltyPage = gql`
|
||||||
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
|
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
|
||||||
cards_grid {
|
cards_grid {
|
||||||
@@ -138,24 +85,6 @@ export const CardsGrid_LoyaltyPage = gql`
|
|||||||
${LoyaltyCardBlock}
|
${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`
|
export const CardsGrid_StartPage = gql`
|
||||||
fragment CardsGrid_StartPage on StartPageBlocksCardsGrid {
|
fragment CardsGrid_StartPage on StartPageBlocksCardsGrid {
|
||||||
cards_grid {
|
cards_grid {
|
||||||
@@ -219,55 +148,3 @@ export const CardsGrid_StartPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -21,8 +11,7 @@ import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPage
|
|||||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
import { ContentCardBlock } from "./ContentCard.graphql"
|
||||||
import { ContentCardBlock, ContentCardBlockRef } from "./ContentCard.graphql"
|
|
||||||
|
|
||||||
export const CarouselCards_StartPage = gql`
|
export const CarouselCards_StartPage = gql`
|
||||||
fragment CarouselCards_StartPage on StartPageBlocksCarouselCards {
|
fragment CarouselCards_StartPage on StartPageBlocksCarouselCards {
|
||||||
@@ -83,54 +72,6 @@ export const CarouselCards_StartPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const CarouselCards_CampaignPage = gql`
|
||||||
fragment CarouselCards_CampaignPage on CampaignPageBlocksCarouselCards {
|
fragment CarouselCards_CampaignPage on CampaignPageBlocksCarouselCards {
|
||||||
carousel_cards {
|
carousel_cards {
|
||||||
@@ -153,23 +94,6 @@ export const CarouselCards_CampaignPage = gql`
|
|||||||
${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`
|
export const CarouselCards_CampaignOverviewPage = gql`
|
||||||
fragment CarouselCards_CampaignOverviewPage on CampaignOverviewPageBlocksCarouselCards {
|
fragment CarouselCards_CampaignOverviewPage on CampaignOverviewPageBlocksCarouselCards {
|
||||||
carousel_cards {
|
carousel_cards {
|
||||||
@@ -190,20 +114,3 @@ export const CarouselCards_CampaignOverviewPage = gql`
|
|||||||
}
|
}
|
||||||
${ContentCardBlock}
|
${ContentCardBlock}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const CarouselCards_CampaignOverviewPageRefs = gql`
|
|
||||||
fragment CarouselCards_CampaignOverviewPageRefs on CampaignOverviewPageBlocksCarouselCards {
|
|
||||||
carousel_cards {
|
|
||||||
card_groups {
|
|
||||||
cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...ContentCardBlockRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${ContentCardBlockRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,16 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
import { ImageContainer } from "../ImageContainer.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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -23,9 +13,7 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
import { SysAsset } from "../SysAsset.graphql"
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
import { SysAsset, SysAssetRef } from "../SysAsset.graphql"
|
|
||||||
|
|
||||||
export const Content_ContentPage = gql`
|
export const Content_ContentPage = gql`
|
||||||
fragment Content_ContentPage on ContentPageBlocksContent {
|
fragment Content_ContentPage on ContentPageBlocksContent {
|
||||||
@@ -72,50 +60,6 @@ export const Content_ContentPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const Content_ContentPageRefs = gql`
|
|
||||||
fragment Content_ContentPageRefs on ContentPageBlocksContent {
|
|
||||||
content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...SysAssetRef
|
|
||||||
...ImageContainerRef
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${SysAssetRef}
|
|
||||||
${ImageContainerRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const Content_LoyaltyPage = gql`
|
export const Content_LoyaltyPage = gql`
|
||||||
fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
|
fragment Content_LoyaltyPage on LoyaltyPageBlocksContent {
|
||||||
content {
|
content {
|
||||||
@@ -161,48 +105,6 @@ export const Content_LoyaltyPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const Content_LoyaltyPageRefs = gql`
|
|
||||||
fragment Content_LoyaltyPageRefs on LoyaltyPageBlocksContent {
|
|
||||||
content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...SysAssetRef
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${SysAssetRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const Content_DestinationCityPage = gql`
|
export const Content_DestinationCityPage = gql`
|
||||||
fragment Content_DestinationCityPage on DestinationCityPageBlocksContent {
|
fragment Content_DestinationCityPage on DestinationCityPageBlocksContent {
|
||||||
content {
|
content {
|
||||||
@@ -244,46 +146,6 @@ export const Content_DestinationCityPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const Content_DestinationCountryPage = gql`
|
||||||
fragment Content_DestinationCountryPage on DestinationCountryPageBlocksContent {
|
fragment Content_DestinationCountryPage on DestinationCountryPageBlocksContent {
|
||||||
content {
|
content {
|
||||||
@@ -325,46 +187,6 @@ export const Content_DestinationCountryPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const Content_DestinationFilterBlocks = gql`
|
||||||
fragment Content_DestinationFilterBlocks on DestinationFilterBlocksContent {
|
fragment Content_DestinationFilterBlocks on DestinationFilterBlocksContent {
|
||||||
content {
|
content {
|
||||||
@@ -406,46 +228,6 @@ export const Content_DestinationFilterBlocks = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const Content_PromoCampaignPage = gql`
|
||||||
fragment Content_PromoCampaignPage on PromoCampaignPageBlocksContent {
|
fragment Content_PromoCampaignPage on PromoCampaignPageBlocksContent {
|
||||||
content {
|
content {
|
||||||
@@ -488,45 +270,3 @@ export const Content_PromoCampaignPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const Content_PromoCampaignPageRefs = gql`
|
|
||||||
fragment Content_PromoCampaignPageRefs on PromoCampaignPageBlocksContent {
|
|
||||||
content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...SysAssetRef
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${SysAssetRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.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 { System } from "../System.graphql"
|
||||||
|
|
||||||
export const ContentCardBlock = gql`
|
export const ContentCardBlock = gql`
|
||||||
@@ -80,46 +68,3 @@ export const ContentCardBlock = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const DynamicContent_AccountPage = gql`
|
export const DynamicContent_AccountPage = gql`
|
||||||
fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
|
fragment DynamicContent_AccountPage on AccountPageContentDynamicContent {
|
||||||
@@ -69,46 +57,6 @@ export const DynamicContent_AccountPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const DynamicContent_CollectionPage = gql`
|
||||||
fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent {
|
fragment DynamicContent_CollectionPage on CollectionPageBlocksDynamicContent {
|
||||||
dynamic_content {
|
dynamic_content {
|
||||||
@@ -153,46 +101,6 @@ export const DynamicContent_CollectionPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const DynamicContent_ContentPage = gql`
|
||||||
fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
fragment DynamicContent_ContentPage on ContentPageBlocksDynamicContent {
|
||||||
dynamic_content {
|
dynamic_content {
|
||||||
@@ -237,46 +145,6 @@ export const DynamicContent_ContentPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const DynamicContent_LoyaltyPage = gql`
|
||||||
fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
|
fragment DynamicContent_LoyaltyPage on LoyaltyPageBlocksDynamicContent {
|
||||||
dynamic_content {
|
dynamic_content {
|
||||||
@@ -320,43 +188,3 @@ export const DynamicContent_LoyaltyPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -21,7 +11,6 @@ import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPage
|
|||||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const FullWidthCampaign = gql`
|
export const FullWidthCampaign = gql`
|
||||||
fragment FullWidthCampaign on FullWidthCampaign {
|
fragment FullWidthCampaign on FullWidthCampaign {
|
||||||
@@ -101,62 +90,3 @@ export const FullWidthCampaign = gql`
|
|||||||
${DestinationOverviewPageLink}
|
${DestinationOverviewPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -21,7 +11,6 @@ import { DestinationOverviewPageLink } from "../PageLink/DestinationOverviewPage
|
|||||||
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const JoinScandicFriends_StartPage = gql`
|
export const JoinScandicFriends_StartPage = gql`
|
||||||
fragment JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends {
|
fragment JoinScandicFriends_StartPage on StartPageBlocksJoinScandicFriends {
|
||||||
@@ -76,41 +65,3 @@ export const JoinScandicFriends_StartPage = gql`
|
|||||||
${LoyaltyPageLink}
|
${LoyaltyPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,6 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { Jotform, JotformRef } from "../Jotform.graphql"
|
import { Jotform } from "../Jotform.graphql"
|
||||||
export const Jotform_ContentPage = gql`
|
export const Jotform_ContentPage = gql`
|
||||||
fragment Jotform_ContentPage on ContentPageBlocksJotform {
|
fragment Jotform_ContentPage on ContentPageBlocksJotform {
|
||||||
__typename
|
__typename
|
||||||
@@ -16,19 +16,3 @@ export const Jotform_ContentPage = gql`
|
|||||||
}
|
}
|
||||||
${Jotform}
|
${Jotform}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const Jotform_ContentPageRefs = gql`
|
|
||||||
fragment Jotform_ContentPageRefs on ContentPageBlocksJotform {
|
|
||||||
__typename
|
|
||||||
jotform {
|
|
||||||
formConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...JotformRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${JotformRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,94 +0,0 @@
|
|||||||
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,78 +0,0 @@
|
|||||||
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,76 +0,0 @@
|
|||||||
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,57 +0,0 @@
|
|||||||
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,141 +0,0 @@
|
|||||||
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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const Shortcuts = gql`
|
export const Shortcuts = gql`
|
||||||
fragment Shortcuts on Shortcuts {
|
fragment Shortcuts on Shortcuts {
|
||||||
@@ -108,77 +96,3 @@ export const Shortcuts_LoyaltyPage = gql`
|
|||||||
}
|
}
|
||||||
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const TextCols_ContentPage = gql`
|
export const TextCols_ContentPage = gql`
|
||||||
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
fragment TextCols_ContentPage on ContentPageBlocksTextCols {
|
||||||
@@ -68,47 +56,3 @@ export const TextCols_ContentPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const UspGrid_ContentPage = gql`
|
export const UspGrid_ContentPage = gql`
|
||||||
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
fragment UspGrid_ContentPage on ContentPageBlocksUspGrid {
|
||||||
@@ -80,56 +68,6 @@ export const UspGrid_ContentPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${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`
|
export const UspGrid_CollectionPage = gql`
|
||||||
fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
|
fragment UspGrid_CollectionPage on CollectionPageBlocksUspGrid {
|
||||||
__typename
|
__typename
|
||||||
@@ -183,52 +121,3 @@ export const UspGrid_CollectionPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,6 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { Video, VideoRef } from "../Video.graphql"
|
import { Video } from "../Video.graphql"
|
||||||
|
|
||||||
export const Video_ContentPage = gql`
|
export const Video_ContentPage = gql`
|
||||||
fragment Video_ContentPage on ContentPageBlocksVideo {
|
fragment Video_ContentPage on ContentPageBlocksVideo {
|
||||||
@@ -11,13 +11,3 @@ export const Video_ContentPage = gql`
|
|||||||
}
|
}
|
||||||
${Video}
|
${Video}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const Video_ContentPageRefs = gql`
|
|
||||||
fragment Video_ContentPageRefs on ContentPageBlocksVideo {
|
|
||||||
__typename
|
|
||||||
video {
|
|
||||||
...VideoRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${VideoRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
import { Video } from "../Video.graphql"
|
||||||
import { Video, VideoRef } from "../Video.graphql"
|
|
||||||
|
|
||||||
const VideoQuoteCard = gql`
|
const VideoQuoteCard = gql`
|
||||||
fragment VideoQuoteCard on VideoQuoteCard {
|
fragment VideoQuoteCard on VideoQuoteCard {
|
||||||
@@ -84,83 +83,3 @@ export const VideoCard_StartPage = gql`
|
|||||||
${VideoQuoteCard}
|
${VideoQuoteCard}
|
||||||
${VideoTextCard}
|
${VideoTextCard}
|
||||||
`
|
`
|
||||||
|
|
||||||
const VideoQuoteCardRef = gql`
|
|
||||||
fragment VideoQuoteCardRef on VideoQuoteCard {
|
|
||||||
video {
|
|
||||||
...VideoRef
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${VideoRef}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|
||||||
const VideoTextCardRef = gql`
|
|
||||||
fragment VideoTextCardRef on VideoTextCard {
|
|
||||||
video {
|
|
||||||
...VideoRef
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${VideoRef}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const VideoCard_ContentPageRefs = gql`
|
|
||||||
fragment VideoCard_ContentPageRefs on ContentPageBlocksVideoCard {
|
|
||||||
video_card {
|
|
||||||
video_cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...VideoQuoteCardRef
|
|
||||||
...VideoTextCardRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${VideoQuoteCardRef}
|
|
||||||
${VideoTextCardRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const VideoCard_CollectionPageRefs = gql`
|
|
||||||
fragment VideoCard_CollectionPageRefs on CollectionPageBlocksVideoCard {
|
|
||||||
video_card {
|
|
||||||
video_cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...VideoQuoteCardRef
|
|
||||||
...VideoTextCardRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${VideoQuoteCardRef}
|
|
||||||
${VideoTextCardRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const VideoCard_StartPageRefs = gql`
|
|
||||||
fragment VideoCard_StartPageRefs on StartPageBlocksVideoCard {
|
|
||||||
video_card {
|
|
||||||
video_cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...VideoQuoteCardRef
|
|
||||||
...VideoTextCardRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${VideoQuoteCardRef}
|
|
||||||
${VideoTextCardRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const AccountPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const AccountPageBreadcrumbRef = gql`
|
|
||||||
fragment AccountPageBreadcrumbRef on AccountPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,45 +1,15 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { AccountPageBreadcrumb } from "./AccountPage.graphql"
|
||||||
AccountPageBreadcrumb,
|
import { CampaignOverviewPageBreadcrumb } from "./CampaignOverviewPage.graphql"
|
||||||
AccountPageBreadcrumbRef,
|
import { CampaignPageBreadcrumb } from "./CampaignPage.graphql"
|
||||||
} from "./AccountPage.graphql"
|
import { CollectionPageBreadcrumb } from "./CollectionPage.graphql"
|
||||||
import {
|
import { ContentPageBreadcrumb } from "./ContentPage.graphql"
|
||||||
CampaignOverviewPageBreadcrumb,
|
import { DestinationCityPageBreadcrumb } from "./DestinationCityPage.graphql"
|
||||||
CampaignOverviewPageBreadcrumbRef,
|
import { DestinationCountryPageBreadcrumb } from "./DestinationCountryPage.graphql"
|
||||||
} from "./CampaignOverviewPage.graphql"
|
import { DestinationOverviewPageBreadcrumb } from "./DestinationOverviewPage.graphql"
|
||||||
import {
|
import { HotelPageBreadcrumb } from "./HotelPage.graphql"
|
||||||
CampaignPageBreadcrumb,
|
import { LoyaltyPageBreadcrumb } from "./LoyaltyPage.graphql"
|
||||||
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`
|
export const Breadcrumbs = gql`
|
||||||
fragment Breadcrumbs on Breadcrumbs {
|
fragment Breadcrumbs on Breadcrumbs {
|
||||||
@@ -73,36 +43,3 @@ export const Breadcrumbs = gql`
|
|||||||
${HotelPageBreadcrumb}
|
${HotelPageBreadcrumb}
|
||||||
${LoyaltyPageBreadcrumb}
|
${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}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const CampaignOverviewPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const CampaignOverviewPageBreadcrumbRef = gql`
|
|
||||||
fragment CampaignOverviewPageBreadcrumbRef on CampaignOverviewPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const CampaignPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const CampaignPageBreadcrumbRef = gql`
|
|
||||||
fragment CampaignPageBreadcrumbRef on CampaignPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const CollectionPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const CollectionPageBreadcrumbRef = gql`
|
|
||||||
fragment CollectionPageBreadcrumbRef on CollectionPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const ContentPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const ContentPageBreadcrumbRef = gql`
|
|
||||||
fragment ContentPageBreadcrumbRef on ContentPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const DestinationCityPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const DestinationCityPageBreadcrumbRef = gql`
|
|
||||||
fragment DestinationCityPageBreadcrumbRef on DestinationCityPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const DestinationCountryPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const DestinationCountryPageBreadcrumbRef = gql`
|
|
||||||
fragment DestinationCountryPageBreadcrumbRef on DestinationCountryPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const DestinationOverviewPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const DestinationOverviewPageBreadcrumbRef = gql`
|
|
||||||
fragment DestinationOverviewPageBreadcrumbRef on DestinationOverviewPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const HotelPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const HotelPageBreadcrumbRef = gql`
|
|
||||||
fragment HotelPageBreadcrumbRef on HotelPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -16,17 +16,3 @@ export const LoyaltyPageBreadcrumb = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const LoyaltyPageBreadcrumbRef = gql`
|
|
||||||
fragment LoyaltyPageBreadcrumbRef on LoyaltyPage {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
title
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const NavigationLinks_CampaignOverviewPage = gql`
|
export const NavigationLinks_CampaignOverviewPage = gql`
|
||||||
fragment NavigationLinks_CampaignOverviewPage on CampaignOverviewPageHeader {
|
fragment NavigationLinks_CampaignOverviewPage on CampaignOverviewPageHeader {
|
||||||
@@ -63,41 +51,3 @@ export const NavigationLinks_CampaignOverviewPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const CampaignOverviewPageRef = gql`
|
|
||||||
fragment CampaignOverviewPageRef on CampaignOverviewPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -3,7 +3,6 @@ import { gql } from "graphql-tag"
|
|||||||
import { HotelListing_CampaignPage } from "../Blocks/HotelListing.graphql"
|
import { HotelListing_CampaignPage } from "../Blocks/HotelListing.graphql"
|
||||||
import { Hero_CampaignPage } from "../CampaignPage/Hero.graphql"
|
import { Hero_CampaignPage } from "../CampaignPage/Hero.graphql"
|
||||||
import { CampaignPageIncludedHotels } from "../CampaignPage/IncludedHotels.graphql"
|
import { CampaignPageIncludedHotels } from "../CampaignPage/IncludedHotels.graphql"
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const TopCampaign = gql`
|
export const TopCampaign = gql`
|
||||||
fragment TopCampaign on CampaignPage {
|
fragment TopCampaign on CampaignPage {
|
||||||
@@ -22,15 +21,6 @@ export const TopCampaign = gql`
|
|||||||
${Hero_CampaignPage}
|
${Hero_CampaignPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const TopCampaignRef = gql`
|
|
||||||
fragment TopCampaignRef on CampaignPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const TopPromoCampaign = gql`
|
export const TopPromoCampaign = gql`
|
||||||
fragment TopPromoCampaign on PromoCampaignPage {
|
fragment TopPromoCampaign on PromoCampaignPage {
|
||||||
url
|
url
|
||||||
@@ -41,12 +31,3 @@ export const TopPromoCampaign = gql`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const TopPromoCampaignRef = gql`
|
|
||||||
fragment TopPromoCampaignRef on PromoCampaignPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const Hero_CampaignPage = gql`
|
export const Hero_CampaignPage = gql`
|
||||||
fragment Hero_CampaignPage on CampaignPage {
|
fragment Hero_CampaignPage on CampaignPage {
|
||||||
@@ -77,43 +65,3 @@ export const Hero_CampaignPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const CampaignPageRef = gql`
|
|
||||||
fragment CampaignPageRef on CampaignPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const NavigationLinks_CollectionPage = gql`
|
export const NavigationLinks_CollectionPage = gql`
|
||||||
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
|
fragment NavigationLinks_CollectionPage on CollectionPageHeader {
|
||||||
@@ -63,41 +51,3 @@ export const NavigationLinks_CollectionPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const CollectionPageRef = gql`
|
|
||||||
fragment CollectionPageRef on CollectionPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const TopPrimaryButton_CollectionPage = gql`
|
export const TopPrimaryButton_CollectionPage = gql`
|
||||||
fragment TopPrimaryButton_CollectionPage on CollectionPageHeader {
|
fragment TopPrimaryButton_CollectionPage on CollectionPageHeader {
|
||||||
@@ -68,41 +56,3 @@ export const TopPrimaryButton_CollectionPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${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,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const NavigationLinks_ContentPage = gql`
|
export const NavigationLinks_ContentPage = gql`
|
||||||
fragment NavigationLinks_ContentPage on ContentPageHeader {
|
fragment NavigationLinks_ContentPage on ContentPageHeader {
|
||||||
@@ -63,41 +51,3 @@ export const NavigationLinks_ContentPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const NavigationLinksRef_ContentPage = gql`
|
|
||||||
fragment NavigationLinksRef_ContentPage on ContentPageHeader {
|
|
||||||
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,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const ContentPageRef = gql`
|
|
||||||
fragment ContentPageRef on ContentPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
export const TopPrimaryButton_ContentPage = gql`
|
export const TopPrimaryButton_ContentPage = gql`
|
||||||
fragment TopPrimaryButton_ContentPage on ContentPageHeader {
|
fragment TopPrimaryButton_ContentPage on ContentPageHeader {
|
||||||
@@ -68,41 +56,3 @@ export const TopPrimaryButton_ContentPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const TopPrimaryButtonRef_ContentPage = gql`
|
|
||||||
fragment TopPrimaryButtonRef_ContentPage on ContentPageHeader {
|
|
||||||
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,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const DestinationCityPageRef = gql`
|
|
||||||
fragment DestinationCityPageRef on DestinationCityPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const DestinationCountryPageRef = gql`
|
|
||||||
fragment DestinationCountryPageRef on DestinationCountryPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,14 +1,8 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Accordion_DestinationFilterBlocks } from "./Blocks/Accordion.graphql"
|
||||||
Accordion_DestinationFilterBlocks,
|
import { Content_DestinationFilterBlocks } from "./Blocks/Content.graphql"
|
||||||
Accordion_DestinationFilterBlocksRefs,
|
import { HotelFilter } from "./HotelFilter.graphql"
|
||||||
} from "./Blocks/Accordion.graphql"
|
|
||||||
import {
|
|
||||||
Content_DestinationFilterBlocks,
|
|
||||||
Content_DestinationFilterBlocksRefs,
|
|
||||||
} from "./Blocks/Content.graphql"
|
|
||||||
import { HotelFilter, HotelFilterRef } from "./HotelFilter.graphql"
|
|
||||||
|
|
||||||
export const DestinationFilter = gql`
|
export const DestinationFilter = gql`
|
||||||
fragment DestinationFilter on DestinationFilter {
|
fragment DestinationFilter on DestinationFilter {
|
||||||
@@ -31,23 +25,3 @@ export const DestinationFilter = gql`
|
|||||||
${Accordion_DestinationFilterBlocks}
|
${Accordion_DestinationFilterBlocks}
|
||||||
${Content_DestinationFilterBlocks}
|
${Content_DestinationFilterBlocks}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const DestinationFilterRef = gql`
|
|
||||||
fragment DestinationFilterRef on DestinationFilter {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...Accordion_DestinationFilterBlocksRefs
|
|
||||||
...Content_DestinationFilterBlocksRefs
|
|
||||||
}
|
|
||||||
filterConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...HotelFilterRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${Accordion_DestinationFilterBlocksRefs}
|
|
||||||
${Content_DestinationFilterBlocksRefs}
|
|
||||||
${HotelFilterRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const DestinationOverviewPageRef = gql`
|
|
||||||
fragment DestinationOverviewPageRef on DestinationOverviewPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { System } from "./System.graphql"
|
|
||||||
|
|
||||||
export const HotelFilter = gql`
|
export const HotelFilter = gql`
|
||||||
fragment HotelFilter on HotelFilter {
|
fragment HotelFilter on HotelFilter {
|
||||||
title
|
title
|
||||||
@@ -11,12 +9,3 @@ export const HotelFilter = gql`
|
|||||||
sort_order
|
sort_order
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const HotelFilterRef = gql`
|
|
||||||
fragment HotelFilterRef on HotelFilter {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -13,12 +13,3 @@ export const ImageContainer = gql`
|
|||||||
}
|
}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const ImageContainerRef = gql`
|
|
||||||
fragment ImageContainerRef on ImageContainer {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,18 +1,7 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { System } from "./System.graphql"
|
|
||||||
|
|
||||||
export const Jotform = gql`
|
export const Jotform = gql`
|
||||||
fragment Jotform on Jotform {
|
fragment Jotform on Jotform {
|
||||||
form_id
|
form_id
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const JotformRef = gql`
|
|
||||||
fragment JotformRef on Jotform {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const LoyaltyPageRef = gql`
|
|
||||||
fragment LoyaltyPageRef on LoyaltyPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const PromoCampaignPageRef = gql`
|
|
||||||
fragment PromoCampaignPageRef on PromoCampaignPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -1,16 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../AccountPage/Ref.graphql"
|
import { ImageContainer } from "../ImageContainer.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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -23,9 +13,7 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
import { SysAsset } from "../SysAsset.graphql"
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
import { SysAsset, SysAssetRef } from "../SysAsset.graphql"
|
|
||||||
|
|
||||||
export const ContentSidebar_ContentPage = gql`
|
export const ContentSidebar_ContentPage = gql`
|
||||||
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
|
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
|
||||||
@@ -72,50 +60,6 @@ export const ContentSidebar_ContentPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const ContentSidebar_ContentPageRefs = gql`
|
|
||||||
fragment ContentSidebar_ContentPageRefs on ContentPageSidebarContent {
|
|
||||||
content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...SysAssetRef
|
|
||||||
...ImageContainerRef
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${SysAssetRef}
|
|
||||||
${ImageContainerRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const ContentSidebar_LoyaltyPage = gql`
|
export const ContentSidebar_LoyaltyPage = gql`
|
||||||
fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent {
|
fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent {
|
||||||
content {
|
content {
|
||||||
@@ -160,47 +104,3 @@ export const ContentSidebar_LoyaltyPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const ContentSidebar_LoyaltyPageRefs = gql`
|
|
||||||
fragment ContentSidebar_LoyaltyPageRefs on LoyaltyPageSidebarContent {
|
|
||||||
content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...SysAssetRef
|
|
||||||
...ImageContainerRef
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${SysAssetRef}
|
|
||||||
${ImageContainerRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
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 { AccountPageLink } from "../PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,8 +12,6 @@ import { HotelPageLink } from "../PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
|
||||||
|
|
||||||
const ContactFields = gql`
|
const ContactFields = gql`
|
||||||
fragment ContactFields on ContactFields {
|
fragment ContactFields on ContactFields {
|
||||||
@@ -90,46 +78,6 @@ export const JoinLoyaltyContactSidebar_ContentPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const JoinLoyaltyContactSidebar_ContentPageRefs = gql`
|
|
||||||
fragment JoinLoyaltyContactSidebar_ContentPageRefs on ContentPageSidebarJoinLoyaltyContact {
|
|
||||||
join_loyalty_contact {
|
|
||||||
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}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const JoinLoyaltyContactSidebar_LoyaltyPage = gql`
|
export const JoinLoyaltyContactSidebar_LoyaltyPage = gql`
|
||||||
fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyContact {
|
fragment JoinLoyaltyContactSidebar_LoyaltyPage on LoyaltyPageSidebarJoinLoyaltyContact {
|
||||||
join_loyalty_contact {
|
join_loyalty_contact {
|
||||||
@@ -186,43 +134,3 @@ export const JoinLoyaltyContactSidebar_LoyaltyPage = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const JoinLoyaltyContactSidebar_LoyaltyPageRefs = gql`
|
|
||||||
fragment JoinLoyaltyContactSidebar_LoyaltyPageRefs on LoyaltyPageSidebarJoinLoyaltyContact {
|
|
||||||
join_loyalty_contact {
|
|
||||||
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,6 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { Shortcuts, ShortcutsRefs } from "../Blocks/Shortcuts.graphql"
|
import { Shortcuts } from "../Blocks/Shortcuts.graphql"
|
||||||
|
|
||||||
export const QuickLinksSidebar_ContentPage = gql`
|
export const QuickLinksSidebar_ContentPage = gql`
|
||||||
fragment QuickLinksSidebar_ContentPage on ContentPageSidebarShortcuts {
|
fragment QuickLinksSidebar_ContentPage on ContentPageSidebarShortcuts {
|
||||||
@@ -11,13 +11,3 @@ export const QuickLinksSidebar_ContentPage = gql`
|
|||||||
}
|
}
|
||||||
${Shortcuts}
|
${Shortcuts}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const QuickLinksSidebar_ContentPageRefs = gql`
|
|
||||||
fragment QuickLinksSidebar_ContentPageRefs on ContentPageSidebarShortcuts {
|
|
||||||
shortcuts {
|
|
||||||
__typename
|
|
||||||
...ShortcutsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${ShortcutsRefs}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { CardBlock } from "../Blocks/Card.graphql"
|
import { CardBlock } from "../Blocks/Card.graphql"
|
||||||
import { CardBlockRef } from "../Blocks/Refs/Card.graphql"
|
|
||||||
|
|
||||||
export const ScriptedCardSidebar_ContentPage = gql`
|
export const ScriptedCardSidebar_ContentPage = gql`
|
||||||
fragment ScriptedCardSidebar_ContentPage on ContentPageSidebarScriptedCard {
|
fragment ScriptedCardSidebar_ContentPage on ContentPageSidebarScriptedCard {
|
||||||
@@ -20,19 +19,3 @@ export const ScriptedCardSidebar_ContentPage = gql`
|
|||||||
}
|
}
|
||||||
${CardBlock}
|
${CardBlock}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const ScriptedCardSidebar_ContentPageRefs = gql`
|
|
||||||
fragment ScriptedCardSidebar_ContentPageRefs on ContentPageSidebarScriptedCard {
|
|
||||||
scripted_card {
|
|
||||||
scripted_cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...CardBlockRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${CardBlockRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { TeaserCardBlockRef } from "../Blocks/Refs/TeaserCard.graphql"
|
|
||||||
import { TeaserCardBlock } from "../Blocks/TeaserCard.graphql"
|
import { TeaserCardBlock } from "../Blocks/TeaserCard.graphql"
|
||||||
|
|
||||||
export const TeaserCardSidebar_ContentPage = gql`
|
export const TeaserCardSidebar_ContentPage = gql`
|
||||||
@@ -20,19 +19,3 @@ export const TeaserCardSidebar_ContentPage = gql`
|
|||||||
}
|
}
|
||||||
${TeaserCardBlock}
|
${TeaserCardBlock}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const TeaserCardSidebar_ContentPageRefs = gql`
|
|
||||||
fragment TeaserCardSidebar_ContentPageRefs on ContentPageSidebarTeaserCard {
|
|
||||||
teaser_card {
|
|
||||||
teaser_cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...TeaserCardBlockRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${TeaserCardBlockRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
import { gql } from "graphql-tag"
|
|
||||||
|
|
||||||
import { System } from "../System.graphql"
|
|
||||||
|
|
||||||
export const StartPageRef = gql`
|
|
||||||
fragment StartPageRef on StartPage {
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
@@ -20,14 +20,3 @@ export const SysAsset = gql`
|
|||||||
}
|
}
|
||||||
${AssetSystem}
|
${AssetSystem}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const SysAssetRef = gql`
|
|
||||||
fragment SysAssetRef on SysAsset {
|
|
||||||
system {
|
|
||||||
...AssetSystem
|
|
||||||
}
|
|
||||||
url
|
|
||||||
permanent_url
|
|
||||||
}
|
|
||||||
${AssetSystem}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AssetSystem } from "./System.graphql"
|
|
||||||
|
|
||||||
export const Video = gql`
|
export const Video = gql`
|
||||||
fragment Video on Video {
|
fragment Video on Video {
|
||||||
sourceConnection {
|
sourceConnection {
|
||||||
@@ -30,19 +28,3 @@ export const Video = gql`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const VideoRef = gql`
|
|
||||||
fragment VideoRef on Video {
|
|
||||||
sourceConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
system {
|
|
||||||
...AssetSystem
|
|
||||||
}
|
|
||||||
url
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${AssetSystem}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,17 +1,8 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Accordion_AccountPage } from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
Accordion_AccountPage,
|
import { DynamicContent_AccountPage } from "../../Fragments/Blocks/DynamicContent.graphql"
|
||||||
Accordion_AccountPageRefs,
|
import { Shortcuts_AccountPage } from "../../Fragments/Blocks/Shortcuts.graphql"
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
|
||||||
import {
|
|
||||||
DynamicContent_AccountPage,
|
|
||||||
DynamicContent_AccountPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/DynamicContent.graphql"
|
|
||||||
import {
|
|
||||||
Shortcuts_AccountPage,
|
|
||||||
Shortcuts_AccountPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Shortcuts.graphql"
|
|
||||||
import { TextContent_AccountPage } from "../../Fragments/Blocks/TextContent.graphql"
|
import { TextContent_AccountPage } from "../../Fragments/Blocks/TextContent.graphql"
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
@@ -48,26 +39,6 @@ export const GetAccountPage = gql`
|
|||||||
${TextContent_AccountPage}
|
${TextContent_AccountPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetAccountPageRefs = gql`
|
|
||||||
query GetAccountPageRefs($locale: String!, $uid: String!) {
|
|
||||||
account_page(locale: $locale, uid: $uid) {
|
|
||||||
content {
|
|
||||||
__typename
|
|
||||||
...Accordion_AccountPageRefs
|
|
||||||
...DynamicContent_AccountPageRefs
|
|
||||||
...Shortcuts_AccountPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${Accordion_AccountPageRefs}
|
|
||||||
${DynamicContent_AccountPageRefs}
|
|
||||||
${Shortcuts_AccountPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsAccountPage = gql`
|
export const GetDaDeEnUrlsAccountPage = gql`
|
||||||
query GetDaDeEnUrlsAccountPage($uid: String!) {
|
query GetDaDeEnUrlsAccountPage($uid: String!) {
|
||||||
de: account_page(locale: "de", uid: $uid) {
|
de: account_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetMyPagesBreadcrumbs = gql`
|
export const GetMyPagesBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetMyPagesBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetMyPagesBreadcrumbsRefs = gql`
|
|
||||||
query GetMyPagesBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
account_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetCampaignOverviewPageBreadcrumbs = gql`
|
export const GetCampaignOverviewPageBreadcrumbs = gql`
|
||||||
@@ -23,23 +20,3 @@ export const GetCampaignOverviewPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCampaignOverviewPageBreadcrumbsRefs = gql`
|
|
||||||
query GetCampaignOverviewPageBreadcrumbsRefs(
|
|
||||||
$locale: String!
|
|
||||||
$uid: String!
|
|
||||||
) {
|
|
||||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetCampaignPageBreadcrumbs = gql`
|
export const GetCampaignPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetCampaignPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCampaignPageBreadcrumbsRefs = gql`
|
|
||||||
query GetCampaignPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
campaign_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetCollectionPageBreadcrumbs = gql`
|
export const GetCollectionPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetCollectionPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCollectionPageBreadcrumbsRefs = gql`
|
|
||||||
query GetCollectionPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
collection_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetContentPageBreadcrumbs = gql`
|
export const GetContentPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetContentPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetContentPageBreadcrumbsRefs = gql`
|
|
||||||
query GetContentPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
content_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetDestinationCityPageBreadcrumbs = gql`
|
export const GetDestinationCityPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetDestinationCityPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetDestinationCityPageBreadcrumbsRefs = gql`
|
|
||||||
query GetDestinationCityPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
destination_city_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetDestinationCountryPageBreadcrumbs = gql`
|
export const GetDestinationCountryPageBreadcrumbs = gql`
|
||||||
@@ -23,23 +20,3 @@ export const GetDestinationCountryPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetDestinationCountryPageBreadcrumbsRefs = gql`
|
|
||||||
query GetDestinationCountryPageBreadcrumbsRefs(
|
|
||||||
$locale: String!
|
|
||||||
$uid: String!
|
|
||||||
) {
|
|
||||||
destination_country_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetDestinationOverviewPageBreadcrumbs = gql`
|
export const GetDestinationOverviewPageBreadcrumbs = gql`
|
||||||
@@ -23,23 +20,3 @@ export const GetDestinationOverviewPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetDestinationOverviewPageBreadcrumbsRefs = gql`
|
|
||||||
query GetDestinationOverviewPageBreadcrumbsRefs(
|
|
||||||
$locale: String!
|
|
||||||
$uid: String!
|
|
||||||
) {
|
|
||||||
destination_overview_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetHotelPageBreadcrumbs = gql`
|
export const GetHotelPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetHotelPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetHotelPageBreadcrumbsRefs = gql`
|
|
||||||
query GetHotelPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
hotel_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetLoyaltyPageBreadcrumbs = gql`
|
export const GetLoyaltyPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetLoyaltyPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetLoyaltyPageBreadcrumbsRefs = gql`
|
|
||||||
query GetLoyaltyPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
loyalty_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Breadcrumbs } from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||||
Breadcrumbs,
|
|
||||||
BreadcrumbsRefs,
|
|
||||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetPromoCampaignPageBreadcrumbs = gql`
|
export const GetPromoCampaignPageBreadcrumbs = gql`
|
||||||
@@ -23,20 +20,3 @@ export const GetPromoCampaignPageBreadcrumbs = gql`
|
|||||||
${Breadcrumbs}
|
${Breadcrumbs}
|
||||||
${System}
|
${System}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetPromoCampaignPageBreadcrumbsRefs = gql`
|
|
||||||
query GetPromoCampaignPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
|
||||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
|
||||||
web {
|
|
||||||
breadcrumbs {
|
|
||||||
...BreadcrumbsRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${BreadcrumbsRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,23 +1,12 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { AllCampaigns } from "../../Fragments/Blocks/AllCampaigns.graphql"
|
||||||
AllCampaigns,
|
import { CarouselCards_CampaignOverviewPage } from "../../Fragments/Blocks/CarouselCards.graphql"
|
||||||
AllCampaignsRefs,
|
|
||||||
} from "../../Fragments/Blocks/AllCampaigns.graphql"
|
|
||||||
import {
|
|
||||||
CarouselCards_CampaignOverviewPage,
|
|
||||||
CarouselCards_CampaignOverviewPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/CarouselCards.graphql"
|
|
||||||
import { HotelListing_CampaignOverviewPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
import { HotelListing_CampaignOverviewPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
||||||
import {
|
import { NavigationLinks_CampaignOverviewPage } from "../../Fragments/CampaignOverviewPage/NavigationLinks.graphql"
|
||||||
NavigationLinks_CampaignOverviewPage,
|
|
||||||
NavigationLinksRef_CampaignOverviewPage,
|
|
||||||
} from "../../Fragments/CampaignOverviewPage/NavigationLinks.graphql"
|
|
||||||
import {
|
import {
|
||||||
TopCampaign,
|
TopCampaign,
|
||||||
TopCampaignRef,
|
|
||||||
TopPromoCampaign,
|
TopPromoCampaign,
|
||||||
TopPromoCampaignRef,
|
|
||||||
} from "../../Fragments/CampaignOverviewPage/TopCampaign.graphql"
|
} from "../../Fragments/CampaignOverviewPage/TopCampaign.graphql"
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
@@ -67,40 +56,6 @@ export const GetCampaignOverviewPage = gql`
|
|||||||
${HotelListing_CampaignOverviewPage}
|
${HotelListing_CampaignOverviewPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCampaignOverviewPageRefs = gql`
|
|
||||||
query GetCampaignOverviewPageRefs($locale: String!, $uid: String!) {
|
|
||||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
|
||||||
header {
|
|
||||||
...NavigationLinksRef_CampaignOverviewPage
|
|
||||||
}
|
|
||||||
top_campaign_block {
|
|
||||||
campaignConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...TopCampaignRef
|
|
||||||
...TopPromoCampaignRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...CarouselCards_CampaignOverviewPageRefs
|
|
||||||
...AllCampaignsRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${NavigationLinksRef_CampaignOverviewPage}
|
|
||||||
${TopCampaignRef}
|
|
||||||
${TopPromoCampaignRef}
|
|
||||||
${CarouselCards_CampaignOverviewPageRefs}
|
|
||||||
${AllCampaignsRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsCampaignOverviewPage = gql`
|
export const GetDaDeEnUrlsCampaignOverviewPage = gql`
|
||||||
query GetDaDeEnUrlsCampaignOverviewPage($uid: String!) {
|
query GetDaDeEnUrlsCampaignOverviewPage($uid: String!) {
|
||||||
de: campaign_overview_page(locale: "de", uid: $uid) {
|
de: campaign_overview_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,19 +1,10 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Accordion_CampaignPage } from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
Accordion_CampaignPage,
|
import { CarouselCards_CampaignPage } from "../../Fragments/Blocks/CarouselCards.graphql"
|
||||||
Accordion_CampaignPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
|
||||||
import {
|
|
||||||
CarouselCards_CampaignPage,
|
|
||||||
CarouselCards_CampaignPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/CarouselCards.graphql"
|
|
||||||
import { Essentials_CampaignPage } from "../../Fragments/Blocks/Essentials.graphql"
|
import { Essentials_CampaignPage } from "../../Fragments/Blocks/Essentials.graphql"
|
||||||
import { HotelListing_CampaignPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
import { HotelListing_CampaignPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
||||||
import {
|
import { Hero_CampaignPage } from "../../Fragments/CampaignPage/Hero.graphql"
|
||||||
Hero_CampaignPage,
|
|
||||||
HeroRef_CampaignPage,
|
|
||||||
} from "../../Fragments/CampaignPage/Hero.graphql"
|
|
||||||
import { CampaignPageIncludedHotels } from "../../Fragments/CampaignPage/IncludedHotels.graphql"
|
import { CampaignPageIncludedHotels } from "../../Fragments/CampaignPage/IncludedHotels.graphql"
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
@@ -61,26 +52,6 @@ export const GetCampaignPage = gql`
|
|||||||
${Hero_CampaignPage}
|
${Hero_CampaignPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCampaignPageRefs = gql`
|
|
||||||
query GetCampaignPageRefs($locale: String!, $uid: String!) {
|
|
||||||
campaign_page(locale: $locale, uid: $uid) {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...CarouselCards_CampaignPageRefs
|
|
||||||
...Accordion_CampaignPageRefs
|
|
||||||
}
|
|
||||||
...HeroRef_CampaignPage
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${CarouselCards_CampaignPageRefs}
|
|
||||||
${Accordion_CampaignPageRefs}
|
|
||||||
${HeroRef_CampaignPage}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsCampaignPage = gql`
|
export const GetDaDeEnUrlsCampaignPage = gql`
|
||||||
query GetDaDeEnUrlsCampaignPage($uid: String!) {
|
query GetDaDeEnUrlsCampaignPage($uid: String!) {
|
||||||
de: campaign_page(locale: "de", uid: $uid) {
|
de: campaign_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { Hero_CampaignPage } from "../../Fragments/CampaignPage/Hero.graphql"
|
import { Hero_CampaignPage } from "../../Fragments/CampaignPage/Hero.graphql"
|
||||||
import { CampaignPageRef } from "../../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetCampaignPagesByHotelUid = gql`
|
export const GetCampaignPagesByHotelUid = gql`
|
||||||
@@ -47,35 +46,3 @@ export const GetCampaignPagesByHotelUid = gql`
|
|||||||
${System}
|
${System}
|
||||||
${Hero_CampaignPage}
|
${Hero_CampaignPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCampaignPagesByHotelUidRefs = gql`
|
|
||||||
query GetCampaignPagesByHotelUidRefs(
|
|
||||||
$locale: String!
|
|
||||||
$hotelPageUid: String!
|
|
||||||
$today: DateTime!
|
|
||||||
) {
|
|
||||||
all_campaign_page(
|
|
||||||
where: {
|
|
||||||
OR: [
|
|
||||||
{
|
|
||||||
included_hotels: { list_1: { hotel_page: { uid: $hotelPageUid } } }
|
|
||||||
}
|
|
||||||
{
|
|
||||||
included_hotels: { list_2: { hotel_page: { uid: $hotelPageUid } } }
|
|
||||||
}
|
|
||||||
]
|
|
||||||
AND: [
|
|
||||||
{ OR: [{ startdate: null }, { startdate_lte: $today }] }
|
|
||||||
{ OR: [{ enddate: null }, { enddate_gte: $today }] }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
locale: $locale
|
|
||||||
limit: 100
|
|
||||||
) {
|
|
||||||
items {
|
|
||||||
...CampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${CampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,35 +1,14 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { CardsGrid_CollectionPage } from "../../Fragments/Blocks/CardsGrid.graphql"
|
||||||
CardsGrid_CollectionPage,
|
import { DynamicContent_CollectionPage } from "../../Fragments/Blocks/DynamicContent.graphql"
|
||||||
CardsGrid_CollectionPageRefs,
|
import { Shortcuts_CollectionPage } from "../../Fragments/Blocks/Shortcuts.graphql"
|
||||||
} from "../../Fragments/Blocks/CardsGrid.graphql"
|
import { UspGrid_CollectionPage } from "../../Fragments/Blocks/UspGrid.graphql"
|
||||||
import {
|
import { VideoCard_CollectionPage } from "../../Fragments/Blocks/VideoCard.graphql"
|
||||||
DynamicContent_CollectionPage,
|
import { NavigationLinks_CollectionPage } from "../../Fragments/CollectionPage/NavigationLinks.graphql"
|
||||||
DynamicContent_CollectionPageRefs,
|
import { TopPrimaryButton_CollectionPage } from "../../Fragments/CollectionPage/TopPrimaryButton.graphql"
|
||||||
} from "../../Fragments/Blocks/DynamicContent.graphql"
|
|
||||||
import {
|
|
||||||
Shortcuts_CollectionPage,
|
|
||||||
Shortcuts_CollectionPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Shortcuts.graphql"
|
|
||||||
import {
|
|
||||||
UspGrid_CollectionPage,
|
|
||||||
UspGrid_CollectionPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/UspGrid.graphql"
|
|
||||||
import {
|
|
||||||
VideoCard_CollectionPage,
|
|
||||||
VideoCard_CollectionPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/VideoCard.graphql"
|
|
||||||
import {
|
|
||||||
NavigationLinks_CollectionPage,
|
|
||||||
NavigationLinksRef_CollectionPage,
|
|
||||||
} from "../../Fragments/CollectionPage/NavigationLinks.graphql"
|
|
||||||
import {
|
|
||||||
TopPrimaryButton_CollectionPage,
|
|
||||||
TopPrimaryButtonRef_CollectionPage,
|
|
||||||
} from "../../Fragments/CollectionPage/TopPrimaryButton.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
import { Video, VideoRef } from "../../Fragments/Video.graphql"
|
import { Video } from "../../Fragments/Video.graphql"
|
||||||
|
|
||||||
export const GetCollectionPage = gql`
|
export const GetCollectionPage = gql`
|
||||||
query GetCollectionPage($locale: String!, $uid: String!) {
|
query GetCollectionPage($locale: String!, $uid: String!) {
|
||||||
@@ -78,40 +57,6 @@ export const GetCollectionPage = gql`
|
|||||||
${Video}
|
${Video}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetCollectionPageRefs = gql`
|
|
||||||
query GetCollectionPageRefs($locale: String!, $uid: String!) {
|
|
||||||
collection_page(locale: $locale, uid: $uid) {
|
|
||||||
hero_video {
|
|
||||||
...VideoRef
|
|
||||||
}
|
|
||||||
header {
|
|
||||||
...TopPrimaryButtonRef_CollectionPage
|
|
||||||
...NavigationLinksRef_CollectionPage
|
|
||||||
}
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...CardsGrid_CollectionPageRefs
|
|
||||||
...Shortcuts_CollectionPageRefs
|
|
||||||
...UspGrid_CollectionPageRefs
|
|
||||||
...DynamicContent_CollectionPageRefs
|
|
||||||
...VideoCard_CollectionPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${TopPrimaryButtonRef_CollectionPage}
|
|
||||||
${NavigationLinksRef_CollectionPage}
|
|
||||||
${CardsGrid_CollectionPageRefs}
|
|
||||||
${Shortcuts_CollectionPageRefs}
|
|
||||||
${UspGrid_CollectionPageRefs}
|
|
||||||
${DynamicContent_CollectionPageRefs}
|
|
||||||
${VideoRef}
|
|
||||||
${VideoCard_CollectionPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsCollectionPage = gql`
|
export const GetDaDeEnUrlsCollectionPage = gql`
|
||||||
query GetDaDeEnUrlsCollectionPage($uid: String!) {
|
query GetDaDeEnUrlsCollectionPage($uid: String!) {
|
||||||
de: collection_page(locale: "de", uid: $uid) {
|
de: collection_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,78 +1,27 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Accordion_ContentPage } from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
Accordion_ContentPage,
|
import { CardsGrid_ContentPage } from "../../Fragments/Blocks/CardsGrid.graphql"
|
||||||
Accordion_ContentPageRefs,
|
import { Content_ContentPage } from "../../Fragments/Blocks/Content.graphql"
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
import { DynamicContent_ContentPage } from "../../Fragments/Blocks/DynamicContent.graphql"
|
||||||
import {
|
|
||||||
CardsGrid_ContentPage,
|
|
||||||
CardsGrid_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/CardsGrid.graphql"
|
|
||||||
import {
|
|
||||||
Content_ContentPage,
|
|
||||||
Content_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Content.graphql"
|
|
||||||
import {
|
|
||||||
DynamicContent_ContentPage,
|
|
||||||
DynamicContent_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/DynamicContent.graphql"
|
|
||||||
import { HotelListing_ContentPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
import { HotelListing_ContentPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
||||||
import {
|
import { Jotform_ContentPage } from "../../Fragments/Blocks/Jotform.graphql"
|
||||||
Jotform_ContentPage,
|
import { Shortcuts_ContentPage } from "../../Fragments/Blocks/Shortcuts.graphql"
|
||||||
Jotform_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Jotform.graphql"
|
|
||||||
import {
|
|
||||||
Shortcuts_ContentPage,
|
|
||||||
Shortcuts_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Shortcuts.graphql"
|
|
||||||
import { Table_ContentPage } from "../../Fragments/Blocks/Table.graphql"
|
import { Table_ContentPage } from "../../Fragments/Blocks/Table.graphql"
|
||||||
import {
|
import { TextCols_ContentPage } from "../../Fragments/Blocks/TextCols.graphql"
|
||||||
TextCols_ContentPage,
|
import { UspGrid_ContentPage } from "../../Fragments/Blocks/UspGrid.graphql"
|
||||||
TextCols_ContentPageRef,
|
import { Video_ContentPage } from "../../Fragments/Blocks/Video.graphql"
|
||||||
} from "../../Fragments/Blocks/TextCols.graphql"
|
import { VideoCard_ContentPage } from "../../Fragments/Blocks/VideoCard.graphql"
|
||||||
import {
|
import { NavigationLinks_ContentPage } from "../../Fragments/ContentPage/NavigationLinks.graphql"
|
||||||
UspGrid_ContentPage,
|
import { TopPrimaryButton_ContentPage } from "../../Fragments/ContentPage/TopPrimaryButton.graphql"
|
||||||
UspGrid_ContentPageRefs,
|
import { ContentSidebar_ContentPage } from "../../Fragments/Sidebar/Content.graphql"
|
||||||
} from "../../Fragments/Blocks/UspGrid.graphql"
|
|
||||||
import {
|
|
||||||
Video_ContentPage,
|
|
||||||
Video_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Video.graphql"
|
|
||||||
import {
|
|
||||||
VideoCard_ContentPage,
|
|
||||||
VideoCard_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/VideoCard.graphql"
|
|
||||||
import {
|
|
||||||
NavigationLinks_ContentPage,
|
|
||||||
NavigationLinksRef_ContentPage,
|
|
||||||
} from "../../Fragments/ContentPage/NavigationLinks.graphql"
|
|
||||||
import {
|
|
||||||
TopPrimaryButton_ContentPage,
|
|
||||||
TopPrimaryButtonRef_ContentPage,
|
|
||||||
} from "../../Fragments/ContentPage/TopPrimaryButton.graphql"
|
|
||||||
import {
|
|
||||||
ContentSidebar_ContentPage,
|
|
||||||
ContentSidebar_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Sidebar/Content.graphql"
|
|
||||||
import { DynamicContentSidebar_ContentPage } from "../../Fragments/Sidebar/DynamicContent.graphql"
|
import { DynamicContentSidebar_ContentPage } from "../../Fragments/Sidebar/DynamicContent.graphql"
|
||||||
import {
|
import { JoinLoyaltyContactSidebar_ContentPage } from "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
||||||
JoinLoyaltyContactSidebar_ContentPage,
|
import { QuickLinksSidebar_ContentPage } from "../../Fragments/Sidebar/QuickLinks.graphql"
|
||||||
JoinLoyaltyContactSidebar_ContentPageRefs,
|
import { ScriptedCardSidebar_ContentPage } from "../../Fragments/Sidebar/ScriptedCard.graphql"
|
||||||
} from "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
import { TeaserCardSidebar_ContentPage } from "../../Fragments/Sidebar/TeaserCard.graphql"
|
||||||
import {
|
|
||||||
QuickLinksSidebar_ContentPage,
|
|
||||||
QuickLinksSidebar_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Sidebar/QuickLinks.graphql"
|
|
||||||
import {
|
|
||||||
ScriptedCardSidebar_ContentPage,
|
|
||||||
ScriptedCardSidebar_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Sidebar/ScriptedCard.graphql"
|
|
||||||
import {
|
|
||||||
TeaserCardSidebar_ContentPage,
|
|
||||||
TeaserCardSidebar_ContentPageRefs,
|
|
||||||
} from "../../Fragments/Sidebar/TeaserCard.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
import { Video, VideoRef } from "../../Fragments/Video.graphql"
|
import { Video } from "../../Fragments/Video.graphql"
|
||||||
|
|
||||||
export const GetContentPage = gql`
|
export const GetContentPage = gql`
|
||||||
query GetContentPage($locale: String!, $uid: String!) {
|
query GetContentPage($locale: String!, $uid: String!) {
|
||||||
@@ -173,73 +122,6 @@ export const GetContentPageBlocksBatch2 = gql`
|
|||||||
${UspGrid_ContentPage}
|
${UspGrid_ContentPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetContentPageRefs = gql`
|
|
||||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
|
||||||
content_page(locale: $locale, uid: $uid) {
|
|
||||||
hero_video {
|
|
||||||
...VideoRef
|
|
||||||
}
|
|
||||||
header {
|
|
||||||
dynamic_content {
|
|
||||||
component
|
|
||||||
}
|
|
||||||
...NavigationLinksRef_ContentPage
|
|
||||||
...TopPrimaryButtonRef_ContentPage
|
|
||||||
}
|
|
||||||
sidebar {
|
|
||||||
__typename
|
|
||||||
...ContentSidebar_ContentPageRefs
|
|
||||||
...JoinLoyaltyContactSidebar_ContentPageRefs
|
|
||||||
...ScriptedCardSidebar_ContentPageRefs
|
|
||||||
...TeaserCardSidebar_ContentPageRefs
|
|
||||||
...QuickLinksSidebar_ContentPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${NavigationLinksRef_ContentPage}
|
|
||||||
${TopPrimaryButtonRef_ContentPage}
|
|
||||||
${ContentSidebar_ContentPageRefs}
|
|
||||||
${JoinLoyaltyContactSidebar_ContentPageRefs}
|
|
||||||
${ScriptedCardSidebar_ContentPageRefs}
|
|
||||||
${TeaserCardSidebar_ContentPageRefs}
|
|
||||||
${QuickLinksSidebar_ContentPageRefs}
|
|
||||||
${VideoRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetContentPageBlocksRefs = gql`
|
|
||||||
query GetContentPageBlocksRefs($locale: String!, $uid: String!) {
|
|
||||||
content_page(locale: $locale, uid: $uid) {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...Accordion_ContentPageRefs
|
|
||||||
...CardsGrid_ContentPageRefs
|
|
||||||
...Content_ContentPageRefs
|
|
||||||
...DynamicContent_ContentPageRefs
|
|
||||||
...Shortcuts_ContentPageRefs
|
|
||||||
...TextCols_ContentPageRef
|
|
||||||
...UspGrid_ContentPageRefs
|
|
||||||
...Jotform_ContentPageRefs
|
|
||||||
...VideoCard_ContentPageRefs
|
|
||||||
...Video_ContentPageRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${Accordion_ContentPageRefs}
|
|
||||||
${CardsGrid_ContentPageRefs}
|
|
||||||
${Content_ContentPageRefs}
|
|
||||||
${DynamicContent_ContentPageRefs}
|
|
||||||
${Shortcuts_ContentPageRefs}
|
|
||||||
${TextCols_ContentPageRef}
|
|
||||||
${UspGrid_ContentPageRefs}
|
|
||||||
${Jotform_ContentPageRefs}
|
|
||||||
${VideoCard_ContentPageRefs}
|
|
||||||
${Video_ContentPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsContentPage = gql`
|
export const GetDaDeEnUrlsContentPage = gql`
|
||||||
query GetDaDeEnUrlsContentPage($uid: String!) {
|
query GetDaDeEnUrlsContentPage($uid: String!) {
|
||||||
de: content_page(locale: "de", uid: $uid) {
|
de: content_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,27 +1,8 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../../Fragments/AccountPage/Ref.graphql"
|
import { Accordion_DestinationCityPage } from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
import {
|
import { Content_DestinationCityPage } from "../../Fragments/Blocks/Content.graphql"
|
||||||
Accordion_DestinationCityPage,
|
import { DestinationFilter } from "../../Fragments/DestinationFilter.graphql"
|
||||||
Accordion_DestinationCityPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
|
||||||
import {
|
|
||||||
Content_DestinationCityPage,
|
|
||||||
Content_DestinationCityPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Content.graphql"
|
|
||||||
import { CampaignOverviewPageRef } from "../../Fragments/CampaignOverviewPage/Ref.graphql"
|
|
||||||
import { CampaignPageRef } from "../../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { CollectionPageRef } from "../../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { DestinationCityPageRef } from "../../Fragments/DestinationCityPage/Ref.graphql"
|
|
||||||
import { DestinationCountryPageRef } from "../../Fragments/DestinationCountryPage/Ref.graphql"
|
|
||||||
import {
|
|
||||||
DestinationFilter,
|
|
||||||
DestinationFilterRef,
|
|
||||||
} from "../../Fragments/DestinationFilter.graphql"
|
|
||||||
import { DestinationOverviewPageRef } from "../../Fragments/DestinationOverviewPage/Ref.graphql"
|
|
||||||
import { HotelPageRef } from "../../Fragments/HotelPage/Ref.graphql"
|
|
||||||
import { LoyaltyPageRef } from "../../Fragments/LoyaltyPage/Ref.graphql"
|
|
||||||
import { AccountPageLink } from "../../Fragments/PageLink/AccountPageLink.graphql"
|
import { AccountPageLink } from "../../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||||
@@ -34,8 +15,6 @@ import { HotelPageLink } from "../../Fragments/PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../../Fragments/PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../../Fragments/PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../../Fragments/PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../../Fragments/StartPage/Ref.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetDestinationCityPage = gql`
|
export const GetDestinationCityPage = gql`
|
||||||
@@ -126,76 +105,6 @@ export const GetDestinationCityPage = gql`
|
|||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetDestinationCityPageRefs = gql`
|
|
||||||
query GetDestinationCityPageRefs($locale: String!, $uid: String!) {
|
|
||||||
destination_city_page(locale: $locale, uid: $uid) {
|
|
||||||
destination_settings {
|
|
||||||
city_denmark
|
|
||||||
city_finland
|
|
||||||
city_germany
|
|
||||||
city_norway
|
|
||||||
city_poland
|
|
||||||
city_sweden
|
|
||||||
location {
|
|
||||||
longitude
|
|
||||||
latitude
|
|
||||||
default_zoom
|
|
||||||
}
|
|
||||||
}
|
|
||||||
sidepeek_content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...Accordion_DestinationCityPageRefs
|
|
||||||
...Content_DestinationCityPageRefs
|
|
||||||
}
|
|
||||||
seo_filters {
|
|
||||||
...DestinationFilterRef
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${Accordion_DestinationCityPageRefs}
|
|
||||||
${Content_DestinationCityPageRefs}
|
|
||||||
${DestinationFilterRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsDestinationCityPage = gql`
|
export const GetDaDeEnUrlsDestinationCityPage = gql`
|
||||||
query GetDaDeEnUrlsDestinationCityPage($uid: String!) {
|
query GetDaDeEnUrlsDestinationCityPage($uid: String!) {
|
||||||
de: destination_city_page(locale: "de", uid: $uid) {
|
de: destination_city_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,27 +1,8 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../../Fragments/AccountPage/Ref.graphql"
|
import { Accordion_DestinationCountryPage } from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
import {
|
import { Content_DestinationCountryPage } from "../../Fragments/Blocks/Content.graphql"
|
||||||
Accordion_DestinationCountryPage,
|
import { DestinationFilter } from "../../Fragments/DestinationFilter.graphql"
|
||||||
Accordion_DestinationCountryPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
|
||||||
import {
|
|
||||||
Content_DestinationCountryPage,
|
|
||||||
Content_DestinationCountryPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Content.graphql"
|
|
||||||
import { CampaignOverviewPageRef } from "../../Fragments/CampaignOverviewPage/Ref.graphql"
|
|
||||||
import { CampaignPageRef } from "../../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { CollectionPageRef } from "../../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { DestinationCityPageRef } from "../../Fragments/DestinationCityPage/Ref.graphql"
|
|
||||||
import { DestinationCountryPageRef } from "../../Fragments/DestinationCountryPage/Ref.graphql"
|
|
||||||
import {
|
|
||||||
DestinationFilter,
|
|
||||||
DestinationFilterRef,
|
|
||||||
} from "../../Fragments/DestinationFilter.graphql"
|
|
||||||
import { DestinationOverviewPageRef } from "../../Fragments/DestinationOverviewPage/Ref.graphql"
|
|
||||||
import { HotelPageRef } from "../../Fragments/HotelPage/Ref.graphql"
|
|
||||||
import { LoyaltyPageRef } from "../../Fragments/LoyaltyPage/Ref.graphql"
|
|
||||||
import { AccountPageLink } from "../../Fragments/PageLink/AccountPageLink.graphql"
|
import { AccountPageLink } from "../../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||||
@@ -34,8 +15,6 @@ import { HotelPageLink } from "../../Fragments/PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../../Fragments/PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../../Fragments/PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../../Fragments/PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../../Fragments/StartPage/Ref.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetDestinationCountryPage = gql`
|
export const GetDestinationCountryPage = gql`
|
||||||
@@ -121,63 +100,6 @@ export const GetDestinationCountryPage = gql`
|
|||||||
${Content_DestinationCountryPage}
|
${Content_DestinationCountryPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetDestinationCountryPageRefs = gql`
|
|
||||||
query GetDestinationCountryPageRefs($locale: String!, $uid: String!) {
|
|
||||||
destination_country_page(locale: $locale, uid: $uid) {
|
|
||||||
sidepeek_content {
|
|
||||||
content {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...Accordion_DestinationCountryPageRefs
|
|
||||||
...Content_DestinationCountryPageRefs
|
|
||||||
}
|
|
||||||
seo_filters {
|
|
||||||
...DestinationFilterRef
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
${Accordion_DestinationCountryPageRefs}
|
|
||||||
${Content_DestinationCountryPageRefs}
|
|
||||||
${DestinationFilterRef}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsDestinationCountryPage = gql`
|
export const GetDaDeEnUrlsDestinationCountryPage = gql`
|
||||||
query GetDaDeEnUrlsDestinationCountryPage($uid: String!) {
|
query GetDaDeEnUrlsDestinationCountryPage($uid: String!) {
|
||||||
de: destination_country_page(locale: "de", uid: $uid) {
|
de: destination_country_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { CardGallery_DestinationOverviewPage } from "../../Fragments/Blocks/CardGallery.graphql"
|
||||||
CardGallery_DestinationOverviewPage,
|
|
||||||
CardGallery_DestinationOverviewPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/CardGallery.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetDestinationOverviewPage = gql`
|
export const GetDestinationOverviewPage = gql`
|
||||||
@@ -34,22 +31,6 @@ export const GetDestinationOverviewPage = gql`
|
|||||||
${CardGallery_DestinationOverviewPage}
|
${CardGallery_DestinationOverviewPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetDestinationOverviewPageRefs = gql`
|
|
||||||
query GetDestinationOverviewPageRefs($locale: String!, $uid: String!) {
|
|
||||||
destination_overview_page(locale: $locale, uid: $uid) {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...CardGallery_DestinationOverviewPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${CardGallery_DestinationOverviewPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsDestinationOverviewPage = gql`
|
export const GetDaDeEnUrlsDestinationOverviewPage = gql`
|
||||||
query GetDaDeEnUrlsDestinationOverviewPage($uid: String!) {
|
query GetDaDeEnUrlsDestinationOverviewPage($uid: String!) {
|
||||||
de: destination_overview_page(locale: "de", uid: $uid) {
|
de: destination_overview_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,17 +1,7 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../Fragments/AccountPage/Ref.graphql"
|
|
||||||
import { CampaignOverviewPageRef } from "../Fragments/CampaignOverviewPage/Ref.graphql"
|
|
||||||
import { CampaignPageRef } from "../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { CollectionPageRef } from "../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { DestinationCityPageRef } from "../Fragments/DestinationCityPage/Ref.graphql"
|
|
||||||
import { DestinationCountryPageRef } from "../Fragments/DestinationCountryPage/Ref.graphql"
|
|
||||||
import { DestinationOverviewPageRef } from "../Fragments/DestinationOverviewPage/Ref.graphql"
|
|
||||||
import { AppDownloads } from "../Fragments/Footer/AppDownloads.graphql"
|
import { AppDownloads } from "../Fragments/Footer/AppDownloads.graphql"
|
||||||
import { SocialMedia } from "../Fragments/Footer/SocialMedia.graphql"
|
import { SocialMedia } from "../Fragments/Footer/SocialMedia.graphql"
|
||||||
import { HotelPageRef } from "../Fragments/HotelPage/Ref.graphql"
|
|
||||||
import { LoyaltyPageRef } from "../Fragments/LoyaltyPage/Ref.graphql"
|
|
||||||
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||||
@@ -24,9 +14,6 @@ import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../Fragments/PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../Fragments/StartPage/Ref.graphql"
|
|
||||||
import { System } from "../Fragments/System.graphql"
|
|
||||||
|
|
||||||
export const GetFooter = gql`
|
export const GetFooter = gql`
|
||||||
query GetFooter($locale: String!) {
|
query GetFooter($locale: String!) {
|
||||||
@@ -133,90 +120,3 @@ export const GetFooter = gql`
|
|||||||
${AppDownloads}
|
${AppDownloads}
|
||||||
${SocialMedia}
|
${SocialMedia}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetFooterRef = gql`
|
|
||||||
query GetFooterRef($locale: String!) {
|
|
||||||
all_footer(limit: 1, locale: $locale) {
|
|
||||||
items {
|
|
||||||
main_links {
|
|
||||||
pageConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
secondary_links {
|
|
||||||
links {
|
|
||||||
pageConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
tertiary_links {
|
|
||||||
pageConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...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,17 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../Fragments/AccountPage/Ref.graphql"
|
|
||||||
import { CardBlock } from "../Fragments/Blocks/Card.graphql"
|
import { CardBlock } from "../Fragments/Blocks/Card.graphql"
|
||||||
import { CardBlockRef } from "../Fragments/Blocks/Refs/Card.graphql"
|
|
||||||
import { CampaignOverviewPageRef } from "../Fragments/CampaignOverviewPage/Ref.graphql"
|
|
||||||
import { CampaignPageRef } from "../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { CollectionPageRef } from "../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { DestinationCityPageRef } from "../Fragments/DestinationCityPage/Ref.graphql"
|
|
||||||
import { DestinationCountryPageRef } from "../Fragments/DestinationCountryPage/Ref.graphql"
|
|
||||||
import { DestinationOverviewPageRef } from "../Fragments/DestinationOverviewPage/Ref.graphql"
|
|
||||||
import { HotelPageRef } from "../Fragments/HotelPage/Ref.graphql"
|
|
||||||
import { LoyaltyPageRef } from "../Fragments/LoyaltyPage/Ref.graphql"
|
|
||||||
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||||
@@ -24,9 +13,6 @@ import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../Fragments/PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../Fragments/StartPage/Ref.graphql"
|
|
||||||
import { System } from "../Fragments/System.graphql"
|
|
||||||
|
|
||||||
export const GetHeader = gql`
|
export const GetHeader = gql`
|
||||||
query GetHeader($locale: String!) {
|
query GetHeader($locale: String!) {
|
||||||
@@ -199,146 +185,3 @@ export const GetHeader = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetHeaderRef = gql`
|
|
||||||
query GetHeaderRef($locale: String!) {
|
|
||||||
all_header(limit: 1, locale: $locale) {
|
|
||||||
items {
|
|
||||||
top_link {
|
|
||||||
logged_in {
|
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
logged_out {
|
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
menu_items {
|
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
see_all_link {
|
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
submenu {
|
|
||||||
links {
|
|
||||||
linkConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...AccountPageRef
|
|
||||||
...CampaignOverviewPageRef
|
|
||||||
...CampaignPageRef
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
...DestinationCityPageRef
|
|
||||||
...DestinationCountryPageRef
|
|
||||||
...DestinationOverviewPageRef
|
|
||||||
...HotelPageRef
|
|
||||||
...LoyaltyPageRef
|
|
||||||
...StartPageRef
|
|
||||||
...PromoCampaignPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
cardConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...CardBlockRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${CardBlockRef}
|
|
||||||
${AccountPageRef}
|
|
||||||
${CampaignOverviewPageRef}
|
|
||||||
${CampaignPageRef}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${DestinationCityPageRef}
|
|
||||||
${DestinationCountryPageRef}
|
|
||||||
${DestinationOverviewPageRef}
|
|
||||||
${HotelPageRef}
|
|
||||||
${LoyaltyPageRef}
|
|
||||||
${StartPageRef}
|
|
||||||
${PromoCampaignPageRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -4,12 +4,6 @@ import {
|
|||||||
AccordionBlock,
|
AccordionBlock,
|
||||||
GlobalAccordionBlock,
|
GlobalAccordionBlock,
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
} from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
import {
|
|
||||||
AccordionBlockRefs,
|
|
||||||
GlobalAccordionBlockRefs,
|
|
||||||
} from "../../Fragments/Blocks/Refs/Accordion.graphql"
|
|
||||||
import { CollectionPageRef } from "../../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { CollectionPageLink } from "../../Fragments/PageLink/CollectionPageLink.graphql"
|
import { CollectionPageLink } from "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||||
import { ContentPageLink } from "../../Fragments/PageLink/ContentPageLink.graphql"
|
import { ContentPageLink } from "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
@@ -121,52 +115,6 @@ export const GetHotelPage = gql`
|
|||||||
${CollectionPageLink}
|
${CollectionPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetHotelPageRefs = gql`
|
|
||||||
query GetHotelPageRefs($locale: String!, $uid: String!) {
|
|
||||||
hotel_page(locale: $locale, uid: $uid) {
|
|
||||||
faq {
|
|
||||||
global_faqConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
specific_faq {
|
|
||||||
...GlobalAccordionBlockRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
content {
|
|
||||||
__typename
|
|
||||||
... on HotelPageContentUpcomingActivitiesCard {
|
|
||||||
upcoming_activities_card {
|
|
||||||
hotel_page_activities_content_pageConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
__typename
|
|
||||||
...CollectionPageRef
|
|
||||||
...ContentPageRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
trackingProps: hotel_page(locale: "en", uid: $uid) {
|
|
||||||
url
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${CollectionPageRef}
|
|
||||||
${ContentPageRef}
|
|
||||||
${AccordionBlockRefs}
|
|
||||||
${GlobalAccordionBlockRefs}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsHotelPage = gql`
|
export const GetDaDeEnUrlsHotelPage = gql`
|
||||||
query GetDaDeEnUrlsHotelPage($uid: String!) {
|
query GetDaDeEnUrlsHotelPage($uid: String!) {
|
||||||
de: hotel_page(locale: "de", uid: $uid) {
|
de: hotel_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,30 +1,12 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { CardsGrid_LoyaltyPage } from "../../Fragments/Blocks/CardsGrid.graphql"
|
||||||
CardsGrid_LoyaltyPage,
|
import { Content_LoyaltyPage } from "../../Fragments/Blocks/Content.graphql"
|
||||||
CardsGrid_LoyaltyPageRefs,
|
import { DynamicContent_LoyaltyPage } from "../../Fragments/Blocks/DynamicContent.graphql"
|
||||||
} from "../../Fragments/Blocks/CardsGrid.graphql"
|
import { Shortcuts_LoyaltyPage } from "../../Fragments/Blocks/Shortcuts.graphql"
|
||||||
import {
|
import { ContentSidebar_LoyaltyPage } from "../../Fragments/Sidebar/Content.graphql"
|
||||||
Content_LoyaltyPage,
|
|
||||||
Content_LoyaltyPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Content.graphql"
|
|
||||||
import {
|
|
||||||
DynamicContent_LoyaltyPage,
|
|
||||||
DynamicContent_LoyaltyPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/DynamicContent.graphql"
|
|
||||||
import {
|
|
||||||
Shortcuts_LoyaltyPage,
|
|
||||||
Shortcuts_LoyaltyPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Shortcuts.graphql"
|
|
||||||
import {
|
|
||||||
ContentSidebar_LoyaltyPage,
|
|
||||||
ContentSidebar_LoyaltyPageRefs,
|
|
||||||
} from "../../Fragments/Sidebar/Content.graphql"
|
|
||||||
import { DynamicContentSidebar_LoyaltyPage } from "../../Fragments/Sidebar/DynamicContent.graphql"
|
import { DynamicContentSidebar_LoyaltyPage } from "../../Fragments/Sidebar/DynamicContent.graphql"
|
||||||
import {
|
import { JoinLoyaltyContactSidebar_LoyaltyPage } from "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
||||||
JoinLoyaltyContactSidebar_LoyaltyPage,
|
|
||||||
JoinLoyaltyContactSidebar_LoyaltyPageRefs,
|
|
||||||
} from "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetLoyaltyPage = gql`
|
export const GetLoyaltyPage = gql`
|
||||||
@@ -67,35 +49,6 @@ export const GetLoyaltyPage = gql`
|
|||||||
${JoinLoyaltyContactSidebar_LoyaltyPage}
|
${JoinLoyaltyContactSidebar_LoyaltyPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetLoyaltyPageRefs = gql`
|
|
||||||
query GetLoyaltyPageRefs($locale: String!, $uid: String!) {
|
|
||||||
loyalty_page(locale: $locale, uid: $uid) {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...CardsGrid_LoyaltyPageRefs
|
|
||||||
...Content_LoyaltyPageRefs
|
|
||||||
...DynamicContent_LoyaltyPageRefs
|
|
||||||
...Shortcuts_LoyaltyPageRefs
|
|
||||||
}
|
|
||||||
sidebar {
|
|
||||||
__typename
|
|
||||||
...ContentSidebar_LoyaltyPageRefs
|
|
||||||
...JoinLoyaltyContactSidebar_LoyaltyPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${CardsGrid_LoyaltyPageRefs}
|
|
||||||
${Content_LoyaltyPageRefs}
|
|
||||||
${DynamicContent_LoyaltyPageRefs}
|
|
||||||
${Shortcuts_LoyaltyPageRefs}
|
|
||||||
${ContentSidebar_LoyaltyPageRefs}
|
|
||||||
${JoinLoyaltyContactSidebar_LoyaltyPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsLoyaltyPage = gql`
|
export const GetDaDeEnUrlsLoyaltyPage = gql`
|
||||||
query GetDaDeEnUrlsLoyaltyPage($uid: String!) {
|
query GetDaDeEnUrlsLoyaltyPage($uid: String!) {
|
||||||
de: loyalty_page(locale: "de", uid: $uid) {
|
de: loyalty_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,13 +1,7 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { Accordion_PromoCampaignPage } from "../../Fragments/Blocks/Accordion.graphql"
|
||||||
Accordion_PromoCampaignPage,
|
import { Content_PromoCampaignPage } from "../../Fragments/Blocks/Content.graphql"
|
||||||
Accordion_PromoCampaignPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
|
||||||
import {
|
|
||||||
Content_PromoCampaignPage,
|
|
||||||
Content_PromoCampaignPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/Content.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetPromoCampaignPage = gql`
|
export const GetPromoCampaignPage = gql`
|
||||||
@@ -49,24 +43,6 @@ export const GetPromoCampaignPage = gql`
|
|||||||
${Content_PromoCampaignPage}
|
${Content_PromoCampaignPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetPromoCampaignPageRefs = gql`
|
|
||||||
query GetPromoCampaignPageRefs($locale: String!, $uid: String!) {
|
|
||||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...Accordion_PromoCampaignPageRefs
|
|
||||||
...Content_PromoCampaignPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${Accordion_PromoCampaignPageRefs}
|
|
||||||
${Content_PromoCampaignPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsPromoCampaignPage = gql`
|
export const GetDaDeEnUrlsPromoCampaignPage = gql`
|
||||||
query GetDaDeEnUrlsPromoCampaignPage($uid: String!) {
|
query GetDaDeEnUrlsPromoCampaignPage($uid: String!) {
|
||||||
de: promo_campaign_page(locale: "de", uid: $uid) {
|
de: promo_campaign_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../Fragments/AccountPage/Ref.graphql"
|
|
||||||
import { CampaignOverviewPageRef } from "../Fragments/CampaignOverviewPage/Ref.graphql"
|
|
||||||
import { CampaignPageRef } from "../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { CollectionPageRef } from "../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { DestinationCityPageRef } from "../Fragments/DestinationCityPage/Ref.graphql"
|
|
||||||
import { DestinationCountryPageRef } from "../Fragments/DestinationCountryPage/Ref.graphql"
|
|
||||||
import { DestinationOverviewPageRef } from "../Fragments/DestinationOverviewPage/Ref.graphql"
|
|
||||||
import { HotelPageRef } from "../Fragments/HotelPage/Ref.graphql"
|
|
||||||
import { LoyaltyPageRef } from "../Fragments/LoyaltyPage/Ref.graphql"
|
|
||||||
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,9 +12,6 @@ import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../Fragments/PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../Fragments/StartPage/Ref.graphql"
|
|
||||||
import { System } from "../Fragments/System.graphql"
|
|
||||||
|
|
||||||
export const GetRewards = gql`
|
export const GetRewards = gql`
|
||||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||||
@@ -77,49 +64,3 @@ export const GetRewards = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetRewardsRef = gql`
|
|
||||||
query GetRewardsRef($locale: String!, $rewardIds: [String!]) {
|
|
||||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
|
||||||
items {
|
|
||||||
redeem_description {
|
|
||||||
embedded_itemsConnection {
|
|
||||||
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,7 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { Alert, AlertRef } from "../Fragments/Alert.graphql"
|
import { Alert } from "../Fragments/Alert.graphql"
|
||||||
import { System } from "../Fragments/System.graphql"
|
|
||||||
|
|
||||||
export const GetSiteConfig = gql`
|
export const GetSiteConfig = gql`
|
||||||
query GetSiteConfig($locale: String!) {
|
query GetSiteConfig($locale: String!) {
|
||||||
@@ -24,28 +23,3 @@ export const GetSiteConfig = gql`
|
|||||||
}
|
}
|
||||||
${Alert}
|
${Alert}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetSiteConfigRef = gql`
|
|
||||||
query GetSiteConfigRef($locale: String!) {
|
|
||||||
all_site_config(limit: 1, locale: $locale) {
|
|
||||||
items {
|
|
||||||
sitewide_alert {
|
|
||||||
alerts {
|
|
||||||
alertConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...AlertRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${AlertRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { Banner, BannerRef } from "../Fragments/Banner.graphql"
|
import { Banner } from "../Fragments/Banner.graphql"
|
||||||
import { System } from "../Fragments/System.graphql"
|
|
||||||
|
|
||||||
export const GetSitewideCampaignBanner = gql`
|
export const GetSitewideCampaignBanner = gql`
|
||||||
query GetSitewideCampaignBanner($locale: String!) {
|
query GetSitewideCampaignBanner($locale: String!) {
|
||||||
@@ -19,24 +18,3 @@ export const GetSitewideCampaignBanner = gql`
|
|||||||
}
|
}
|
||||||
${Banner}
|
${Banner}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetSitewideCampaignBannerRef = gql`
|
|
||||||
query GetSitewideCampaignBannerRef($locale: String!) {
|
|
||||||
all_sitewide_campaign_banner(limit: 1, locale: $locale) {
|
|
||||||
items {
|
|
||||||
bannerConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...BannerRef
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${BannerRef}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -1,25 +1,10 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import {
|
import { CardsGrid_StartPage } from "../../Fragments/Blocks/CardsGrid.graphql"
|
||||||
CardsGrid_StartPage,
|
import { CarouselCards_StartPage } from "../../Fragments/Blocks/CarouselCards.graphql"
|
||||||
CardsGrid_StartPageRefs,
|
import { FullWidthCampaign } from "../../Fragments/Blocks/FullWidthCampaign.graphql"
|
||||||
} from "../../Fragments/Blocks/CardsGrid.graphql"
|
import { JoinScandicFriends_StartPage } from "../../Fragments/Blocks/JoinScandicFriends.graphql"
|
||||||
import {
|
import { VideoCard_StartPage } from "../../Fragments/Blocks/VideoCard.graphql"
|
||||||
CarouselCards_StartPage,
|
|
||||||
CarouselCards_StartPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/CarouselCards.graphql"
|
|
||||||
import {
|
|
||||||
FullWidthCampaign,
|
|
||||||
FullWidthCampaignRefs,
|
|
||||||
} from "../../Fragments/Blocks/FullWidthCampaign.graphql"
|
|
||||||
import {
|
|
||||||
JoinScandicFriends_StartPage,
|
|
||||||
JoinScandicFriends_StartPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/JoinScandicFriends.graphql"
|
|
||||||
import {
|
|
||||||
VideoCard_StartPage,
|
|
||||||
VideoCard_StartPageRefs,
|
|
||||||
} from "../../Fragments/Blocks/VideoCard.graphql"
|
|
||||||
import { System } from "../../Fragments/System.graphql"
|
import { System } from "../../Fragments/System.graphql"
|
||||||
|
|
||||||
export const GetStartPage = gql`
|
export const GetStartPage = gql`
|
||||||
@@ -68,40 +53,6 @@ export const GetStartPage = gql`
|
|||||||
${VideoCard_StartPage}
|
${VideoCard_StartPage}
|
||||||
`
|
`
|
||||||
|
|
||||||
export const GetStartPageRefs = gql`
|
|
||||||
query GetStartPageRefs($locale: String!, $uid: String!) {
|
|
||||||
start_page(locale: $locale, uid: $uid) {
|
|
||||||
blocks {
|
|
||||||
__typename
|
|
||||||
...CardsGrid_StartPageRefs
|
|
||||||
...CarouselCards_StartPageRefs
|
|
||||||
... on StartPageBlocksFullWidthCampaign {
|
|
||||||
full_width_campaign {
|
|
||||||
full_width_campaignConnection {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
...FullWidthCampaignRefs
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
...JoinScandicFriends_StartPageRefs
|
|
||||||
...VideoCard_StartPageRefs
|
|
||||||
}
|
|
||||||
system {
|
|
||||||
...System
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
${System}
|
|
||||||
${CardsGrid_StartPageRefs}
|
|
||||||
${FullWidthCampaignRefs}
|
|
||||||
${CarouselCards_StartPageRefs}
|
|
||||||
${JoinScandicFriends_StartPageRefs}
|
|
||||||
${VideoCard_StartPageRefs}
|
|
||||||
`
|
|
||||||
|
|
||||||
export const GetDaDeEnUrlsStartPage = gql`
|
export const GetDaDeEnUrlsStartPage = gql`
|
||||||
query GetDaDeEnUrlsStartPage($uid: String!) {
|
query GetDaDeEnUrlsStartPage($uid: String!) {
|
||||||
de: start_page(locale: "de", uid: $uid) {
|
de: start_page(locale: "de", uid: $uid) {
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
import { gql } from "graphql-tag"
|
import { gql } from "graphql-tag"
|
||||||
|
|
||||||
import { AccountPageRef } from "../Fragments/AccountPage/Ref.graphql"
|
|
||||||
import { CampaignOverviewPageRef } from "../Fragments/CampaignOverviewPage/Ref.graphql"
|
|
||||||
import { CampaignPageRef } from "../Fragments/CampaignPage/Ref.graphql"
|
|
||||||
import { CollectionPageRef } from "../Fragments/CollectionPage/Ref.graphql"
|
|
||||||
import { ContentPageRef } from "../Fragments/ContentPage/Ref.graphql"
|
|
||||||
import { DestinationCityPageRef } from "../Fragments/DestinationCityPage/Ref.graphql"
|
|
||||||
import { DestinationCountryPageRef } from "../Fragments/DestinationCountryPage/Ref.graphql"
|
|
||||||
import { DestinationOverviewPageRef } from "../Fragments/DestinationOverviewPage/Ref.graphql"
|
|
||||||
import { HotelPageRef } from "../Fragments/HotelPage/Ref.graphql"
|
|
||||||
import { LoyaltyPageRef } from "../Fragments/LoyaltyPage/Ref.graphql"
|
|
||||||
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
||||||
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||||
@@ -22,9 +12,6 @@ import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
|||||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||||
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
||||||
import { PromoCampaignPageRef } from "../Fragments/PromoCampaignPage/Ref.graphql"
|
|
||||||
import { StartPageRef } from "../Fragments/StartPage/Ref.graphql"
|
|
||||||
import { System } from "../Fragments/System.graphql"
|
|
||||||
|
|
||||||
export const GetUsePointsModal = gql`
|
export const GetUsePointsModal = gql`
|
||||||
query GetUsePointsModal($locale: String!) {
|
query GetUsePointsModal($locale: String!) {
|
||||||
@@ -75,48 +62,3 @@ export const GetUsePointsModal = gql`
|
|||||||
${StartPageLink}
|
${StartPageLink}
|
||||||
${PromoCampaignPageLink}
|
${PromoCampaignPageLink}
|
||||||
`
|
`
|
||||||
export const GetUsePointsModalRefs = gql`
|
|
||||||
query GetUsePointsModalRefs($locale: String!) {
|
|
||||||
all_usepointsmodal(locale: $locale) {
|
|
||||||
items {
|
|
||||||
link_group {
|
|
||||||
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}
|
|
||||||
${System}
|
|
||||||
`
|
|
||||||
|
|||||||
@@ -3,14 +3,9 @@ import { z } from "zod"
|
|||||||
import { transformedImageVaultAssetSchema } from "@scandic-hotels/common/utils/imageVault"
|
import { transformedImageVaultAssetSchema } from "@scandic-hotels/common/utils/imageVault"
|
||||||
import { IconName } from "@scandic-hotels/design-system/Icons/iconName"
|
import { IconName } from "@scandic-hotels/design-system/Icons/iconName"
|
||||||
|
|
||||||
import {
|
import { linkConnectionSchema } from "../schemas/linkConnection"
|
||||||
linkConnectionRefs,
|
|
||||||
linkConnectionSchema,
|
|
||||||
} from "../schemas/linkConnection"
|
|
||||||
import { systemSchema } from "../schemas/system"
|
|
||||||
|
|
||||||
export type UsePointsModalData = z.output<typeof usePointsModalSchema>
|
export type UsePointsModalData = z.output<typeof usePointsModalSchema>
|
||||||
export type UsePointsModalRefsData = z.output<typeof usePointsModalRefsSchema>
|
|
||||||
type LinkGroupItem = z.infer<typeof linkGroupItemSchema>
|
type LinkGroupItem = z.infer<typeof linkGroupItemSchema>
|
||||||
|
|
||||||
const linkGroupItemSchema = z.intersection(
|
const linkGroupItemSchema = z.intersection(
|
||||||
@@ -57,16 +52,3 @@ export const usePointsModalSchema = z.object({
|
|||||||
})
|
})
|
||||||
.optional(),
|
.optional(),
|
||||||
})
|
})
|
||||||
|
|
||||||
export const usePointsModalRefsSchema = z.object({
|
|
||||||
all_usepointsmodal: z
|
|
||||||
.object({
|
|
||||||
items: z.array(
|
|
||||||
z.object({
|
|
||||||
link_group: z.array(linkConnectionRefs),
|
|
||||||
system: systemSchema,
|
|
||||||
})
|
|
||||||
),
|
|
||||||
})
|
|
||||||
.optional(),
|
|
||||||
})
|
|
||||||
|
|||||||
@@ -2,66 +2,15 @@ import { createCounter } from "@scandic-hotels/common/telemetry"
|
|||||||
|
|
||||||
import { router } from "../../.."
|
import { router } from "../../.."
|
||||||
import { notFoundError } from "../../../errors"
|
import { notFoundError } from "../../../errors"
|
||||||
import {
|
import { GetUsePointsModal } from "../../../graphql/Query/UsePointsModal.graphql"
|
||||||
GetUsePointsModal,
|
|
||||||
GetUsePointsModalRefs,
|
|
||||||
} from "../../../graphql/Query/UsePointsModal.graphql"
|
|
||||||
import { request } from "../../../graphql/request"
|
import { request } from "../../../graphql/request"
|
||||||
import { contentstackBaseProcedure } from "../../../procedures"
|
import { contentstackBaseProcedure } from "../../../procedures"
|
||||||
import {
|
import { generateTag } from "../../../utils/generateTag"
|
||||||
generateRefsResponseTag,
|
import { type UsePointsModalData, usePointsModalSchema } from "./output"
|
||||||
generateTag,
|
|
||||||
generateTagsFromSystem,
|
|
||||||
} from "../../../utils/generateTag"
|
|
||||||
import {
|
|
||||||
type UsePointsModalData,
|
|
||||||
type UsePointsModalRefsData,
|
|
||||||
usePointsModalRefsSchema,
|
|
||||||
usePointsModalSchema,
|
|
||||||
} from "./output"
|
|
||||||
import { getConnections } from "./utils"
|
|
||||||
|
|
||||||
export const usePointsModalQueryRouter = router({
|
export const usePointsModalQueryRouter = router({
|
||||||
get: contentstackBaseProcedure.query(async ({ ctx }) => {
|
get: contentstackBaseProcedure.query(async ({ ctx }) => {
|
||||||
const { lang, uid } = ctx
|
const { lang, uid } = ctx
|
||||||
const getRefsCounter = createCounter(
|
|
||||||
"trpc.contentstack.usePointsModal.get.refs"
|
|
||||||
)
|
|
||||||
const metricsRefs = getRefsCounter.init({
|
|
||||||
lang,
|
|
||||||
uid,
|
|
||||||
})
|
|
||||||
|
|
||||||
metricsRefs.start()
|
|
||||||
const refsTag = generateRefsResponseTag(lang, "usepointsmodal")
|
|
||||||
|
|
||||||
const variables = { locale: lang }
|
|
||||||
const refsResponse = await request<UsePointsModalRefsData>(
|
|
||||||
GetUsePointsModalRefs,
|
|
||||||
variables,
|
|
||||||
{
|
|
||||||
key: refsTag,
|
|
||||||
ttl: "max",
|
|
||||||
}
|
|
||||||
)
|
|
||||||
if (!refsResponse.data) {
|
|
||||||
metricsRefs.noDataError()
|
|
||||||
throw notFoundError({
|
|
||||||
message: "GetUsePointsModalRefs returned no data",
|
|
||||||
errorDetails: variables,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
const validatedRefsData = usePointsModalRefsSchema.safeParse(
|
|
||||||
refsResponse.data
|
|
||||||
)
|
|
||||||
|
|
||||||
if (!validatedRefsData.success) {
|
|
||||||
metricsRefs.validationError(validatedRefsData.error)
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
|
|
||||||
metricsRefs.success()
|
|
||||||
|
|
||||||
const getCounter = createCounter("trpc.contentstack.usePointsModal.get")
|
const getCounter = createCounter("trpc.contentstack.usePointsModal.get")
|
||||||
|
|
||||||
@@ -71,18 +20,13 @@ export const usePointsModalQueryRouter = router({
|
|||||||
})
|
})
|
||||||
metrics.start()
|
metrics.start()
|
||||||
|
|
||||||
const connections = getConnections(validatedRefsData.data)
|
const variables = { locale: lang }
|
||||||
|
|
||||||
const tags = [
|
|
||||||
generateTagsFromSystem(lang, connections),
|
|
||||||
generateTag(lang, "usepointsmodal"),
|
|
||||||
].flat()
|
|
||||||
|
|
||||||
const response = await request<UsePointsModalData>(
|
const response = await request<UsePointsModalData>(
|
||||||
GetUsePointsModal,
|
GetUsePointsModal,
|
||||||
variables,
|
variables,
|
||||||
{
|
{
|
||||||
key: tags,
|
key: generateTag(lang, "usepointsmodal"),
|
||||||
ttl: "max",
|
ttl: "max",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user