Merged in feature/turbopack (pull request #3117)
Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
This commit is contained in:
@@ -1,70 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/DynamicContent.graphql"
|
||||
#import "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
#import "../../Fragments/Blocks/TextContent.graphql"
|
||||
|
||||
query GetAccountPage($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
heading
|
||||
preamble
|
||||
hero_image
|
||||
hero_image_active
|
||||
title
|
||||
url
|
||||
content {
|
||||
__typename
|
||||
...Accordion_AccountPage
|
||||
...DynamicContent_AccountPage
|
||||
...Shortcuts_AccountPage
|
||||
...TextContent_AccountPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: account_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetAccountPageRefs($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
content {
|
||||
__typename
|
||||
...Accordion_AccountPageRefs
|
||||
...DynamicContent_AccountPageRefs
|
||||
...Shortcuts_AccountPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsAccountPage($uid: String!) {
|
||||
de: account_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: account_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: account_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsAccountPage($uid: String!) {
|
||||
fi: account_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: account_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: account_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Accordion_AccountPage,
|
||||
Accordion_AccountPageRefs,
|
||||
} 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 { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetAccountPage = gql`
|
||||
query GetAccountPage($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
heading
|
||||
preamble
|
||||
hero_image
|
||||
hero_image_active
|
||||
title
|
||||
url
|
||||
content {
|
||||
__typename
|
||||
...Accordion_AccountPage
|
||||
...DynamicContent_AccountPage
|
||||
...Shortcuts_AccountPage
|
||||
...TextContent_AccountPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: account_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${Accordion_AccountPage}
|
||||
${DynamicContent_AccountPage}
|
||||
${Shortcuts_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`
|
||||
query GetDaDeEnUrlsAccountPage($uid: String!) {
|
||||
de: account_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: account_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: account_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsAccountPage = gql`
|
||||
query GetFiNoSvUrlsAccountPage($uid: String!) {
|
||||
fi: account_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: account_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: account_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,18 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetAccountPageMetadata($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetAccountPageMetadata = gql`
|
||||
query GetAccountPageMetadata($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,93 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../../Fragments/StartPage/Ref.graphql"
|
||||
#import "../../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
query GetNavigationMyPages($locale: String!) {
|
||||
all_navigation_my_pages(locale: $locale, limit: 1) {
|
||||
items {
|
||||
menu_items {
|
||||
display_sign_out_link
|
||||
links {
|
||||
link_text
|
||||
page: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetNavigationMyPagesRefs($locale: String!) {
|
||||
all_navigation_my_pages(locale: $locale, limit: 1) {
|
||||
items {
|
||||
menu_items {
|
||||
links {
|
||||
page: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
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 { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.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 GetNavigationMyPages = gql`
|
||||
query GetNavigationMyPages($locale: String!) {
|
||||
all_navigation_my_pages(locale: $locale, limit: 1) {
|
||||
items {
|
||||
menu_items {
|
||||
display_sign_out_link
|
||||
links {
|
||||
link_text
|
||||
page: pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const GetNavigationMyPagesRefs = gql`
|
||||
query GetNavigationMyPagesRefs($locale: String!) {
|
||||
all_navigation_my_pages(locale: $locale, limit: 1) {
|
||||
items {
|
||||
menu_items {
|
||||
links {
|
||||
page: pageConnection {
|
||||
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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetMyPagesBreadcrumbs($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetMyPagesBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetMyPagesBreadcrumbs = gql`
|
||||
query GetMyPagesBreadcrumbs($locale: String!, $uid: String!) {
|
||||
account_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCampaignOverviewPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCampaignOverviewPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignOverviewPageBreadcrumbs = gql`
|
||||
query GetCampaignOverviewPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCampaignPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
campaign_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCampaignPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
campaign_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignPageBreadcrumbs = gql`
|
||||
query GetCampaignPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
campaign_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCollectionPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCollectionPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCollectionPageBreadcrumbs = gql`
|
||||
query GetCollectionPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetContentPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetContentPageBreadcrumbs = gql`
|
||||
query GetContentPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetDestinationCityPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
destination_city_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationCityPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
destination_city_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationCityPageBreadcrumbs = gql`
|
||||
query GetDestinationCityPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
destination_city_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,32 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetDestinationCountryPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
destination_country_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationCountryPageBreadcrumbsRefs(
|
||||
$locale: String!
|
||||
$uid: String!
|
||||
) {
|
||||
destination_country_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationCountryPageBreadcrumbs = gql`
|
||||
query GetDestinationCountryPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
destination_country_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,32 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetDestinationOverviewPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
destination_overview_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationOverviewPageBreadcrumbsRefs(
|
||||
$locale: String!
|
||||
$uid: String!
|
||||
) {
|
||||
destination_overview_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationOverviewPageBreadcrumbs = gql`
|
||||
query GetDestinationOverviewPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
destination_overview_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetHotelPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetHotelPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetHotelPageBreadcrumbs = gql`
|
||||
query GetHotelPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetLoyaltyPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
loyalty_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetLoyaltyPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
loyalty_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetLoyaltyPageBreadcrumbs = gql`
|
||||
query GetLoyaltyPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
loyalty_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,29 +0,0 @@
|
||||
#import "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetPromoCampaignPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetPromoCampaignPageBreadcrumbsRefs($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
...BreadcrumbsRefs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Breadcrumbs,
|
||||
BreadcrumbsRefs,
|
||||
} from "../../Fragments/Breadcrumbs/Breadcrumbs.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetPromoCampaignPageBreadcrumbs = gql`
|
||||
query GetPromoCampaignPageBreadcrumbs($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
||||
url
|
||||
web {
|
||||
breadcrumbs {
|
||||
...Breadcrumbs
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Breadcrumbs}
|
||||
${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,92 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/CampaignOverviewPage/NavigationLinks.graphql"
|
||||
#import "../../Fragments/CampaignOverviewPage/TopCampaign.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/AllCampaigns.graphql"
|
||||
#import "../../Fragments/Blocks/CarouselCards.graphql"
|
||||
#import "../../Fragments/Blocks/HotelListing.graphql"
|
||||
|
||||
query GetCampaignOverviewPage($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
...NavigationLinks_CampaignOverviewPage
|
||||
}
|
||||
top_campaign_block {
|
||||
heading
|
||||
campaignConnection {
|
||||
edges {
|
||||
node {
|
||||
...TopCampaign
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...AllCampaigns
|
||||
...CarouselCards_CampaignOverviewPage
|
||||
...HotelListing_CampaignOverviewPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: campaign_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetCampaignOverviewPageRefs($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
||||
header {
|
||||
...NavigationLinksRef_CampaignOverviewPage
|
||||
}
|
||||
top_campaign_block {
|
||||
campaignConnection {
|
||||
edges {
|
||||
node {
|
||||
...TopCampaignRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...CarouselCards_CampaignOverviewPageRefs
|
||||
...AllCampaignsRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsCampaignOverviewPage($uid: String!) {
|
||||
de: campaign_overview_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: campaign_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: campaign_overview_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsCampaignOverviewPage($uid: String!) {
|
||||
fi: campaign_overview_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: campaign_overview_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: campaign_overview_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
AllCampaigns,
|
||||
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 {
|
||||
NavigationLinks_CampaignOverviewPage,
|
||||
NavigationLinksRef_CampaignOverviewPage,
|
||||
} from "../../Fragments/CampaignOverviewPage/NavigationLinks.graphql"
|
||||
import {
|
||||
TopCampaign,
|
||||
TopCampaignRef,
|
||||
} from "../../Fragments/CampaignOverviewPage/TopCampaign.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignOverviewPage = gql`
|
||||
query GetCampaignOverviewPage($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
...NavigationLinks_CampaignOverviewPage
|
||||
}
|
||||
top_campaign_block {
|
||||
heading
|
||||
campaignConnection {
|
||||
edges {
|
||||
node {
|
||||
...TopCampaign
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...AllCampaigns
|
||||
...CarouselCards_CampaignOverviewPage
|
||||
...HotelListing_CampaignOverviewPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: campaign_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${NavigationLinks_CampaignOverviewPage}
|
||||
${TopCampaign}
|
||||
${AllCampaigns}
|
||||
${CarouselCards_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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...CarouselCards_CampaignOverviewPageRefs
|
||||
...AllCampaignsRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${NavigationLinksRef_CampaignOverviewPage}
|
||||
${TopCampaignRef}
|
||||
${CarouselCards_CampaignOverviewPageRefs}
|
||||
${AllCampaignsRefs}
|
||||
`
|
||||
|
||||
export const GetDaDeEnUrlsCampaignOverviewPage = gql`
|
||||
query GetDaDeEnUrlsCampaignOverviewPage($uid: String!) {
|
||||
de: campaign_overview_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: campaign_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: campaign_overview_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsCampaignOverviewPage = gql`
|
||||
query GetFiNoSvUrlsCampaignOverviewPage($uid: String!) {
|
||||
fi: campaign_overview_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: campaign_overview_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: campaign_overview_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,22 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCampaignOverviewPageMetadata($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignOverviewPageMetadata = gql`
|
||||
query GetCampaignOverviewPageMetadata($locale: String!, $uid: String!) {
|
||||
campaign_overview_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,82 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/CampaignPage/IncludedHotels.graphql"
|
||||
#import "../../Fragments/CampaignPage/Hero.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Essentials.graphql"
|
||||
#import "../../Fragments/Blocks/CarouselCards.graphql"
|
||||
#import "../../Fragments/Blocks/HotelListing.graphql"
|
||||
|
||||
query GetCampaignPage($locale: String!, $uid: String!) {
|
||||
campaign_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
heading
|
||||
subheading
|
||||
preamble {
|
||||
is_two_columns
|
||||
first_column
|
||||
second_column
|
||||
}
|
||||
included_hotels {
|
||||
...CampaignPageIncludedHotels
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...Essentials_CampaignPage
|
||||
...CarouselCards_CampaignPage
|
||||
...Accordion_CampaignPage
|
||||
...HotelListing_CampaignPage
|
||||
}
|
||||
page_settings {
|
||||
booking_code
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
...Hero_CampaignPage
|
||||
}
|
||||
trackingProps: campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetCampaignPageRefs($locale: String!, $uid: String!) {
|
||||
campaign_page(locale: $locale, uid: $uid) {
|
||||
blocks {
|
||||
__typename
|
||||
...CarouselCards_CampaignPageRefs
|
||||
...Accordion_CampaignPageRefs
|
||||
}
|
||||
...HeroRef_CampaignPage
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsCampaignPage($uid: String!) {
|
||||
de: campaign_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: campaign_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsCampaignPage($uid: String!) {
|
||||
fi: campaign_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: campaign_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: campaign_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Accordion_CampaignPage,
|
||||
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 { HotelListing_CampaignPage } from "../../Fragments/Blocks/HotelListing.graphql"
|
||||
import {
|
||||
Hero_CampaignPage,
|
||||
HeroRef_CampaignPage,
|
||||
} from "../../Fragments/CampaignPage/Hero.graphql"
|
||||
import { CampaignPageIncludedHotels } from "../../Fragments/CampaignPage/IncludedHotels.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignPage = gql`
|
||||
query GetCampaignPage($locale: String!, $uid: String!) {
|
||||
campaign_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
heading
|
||||
subheading
|
||||
preamble {
|
||||
is_two_columns
|
||||
first_column
|
||||
second_column
|
||||
}
|
||||
included_hotels {
|
||||
...CampaignPageIncludedHotels
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...Essentials_CampaignPage
|
||||
...CarouselCards_CampaignPage
|
||||
...Accordion_CampaignPage
|
||||
...HotelListing_CampaignPage
|
||||
}
|
||||
page_settings {
|
||||
booking_code
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
...Hero_CampaignPage
|
||||
}
|
||||
trackingProps: campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${CampaignPageIncludedHotels}
|
||||
${Essentials_CampaignPage}
|
||||
${CarouselCards_CampaignPage}
|
||||
${Accordion_CampaignPage}
|
||||
${HotelListing_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`
|
||||
query GetDaDeEnUrlsCampaignPage($uid: String!) {
|
||||
de: campaign_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: campaign_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsCampaignPage = gql`
|
||||
query GetFiNoSvUrlsCampaignPage($uid: String!) {
|
||||
fi: campaign_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: campaign_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: campaign_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,64 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/CampaignPage/Hero.graphql"
|
||||
|
||||
query GetCampaignPagesByHotelUid(
|
||||
$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 {
|
||||
heading
|
||||
url
|
||||
sort_order
|
||||
card_content {
|
||||
heading
|
||||
image
|
||||
text
|
||||
}
|
||||
...Hero_CampaignPage
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Hero_CampaignPage } from "../../Fragments/CampaignPage/Hero.graphql"
|
||||
import { CampaignPageRef } from "../../Fragments/CampaignPage/Ref.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignPagesByHotelUid = gql`
|
||||
query GetCampaignPagesByHotelUid(
|
||||
$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 {
|
||||
heading
|
||||
url
|
||||
sort_order
|
||||
card_content {
|
||||
heading
|
||||
image
|
||||
text
|
||||
}
|
||||
...Hero_CampaignPage
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${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,22 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCampaignPageMetadata($locale: String!, $uid: String!) {
|
||||
campaign_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble {
|
||||
first_column
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCampaignPageMetadata = gql`
|
||||
query GetCampaignPageMetadata($locale: String!, $uid: String!) {
|
||||
campaign_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble {
|
||||
first_column
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,84 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
#import "../../Fragments/Blocks/DynamicContent.graphql"
|
||||
#import "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
#import "../../Fragments/Blocks/UspGrid.graphql"
|
||||
|
||||
#import "../../Fragments/CollectionPage/NavigationLinks.graphql"
|
||||
#import "../../Fragments/CollectionPage/TopPrimaryButton.graphql"
|
||||
|
||||
query GetCollectionPage($locale: String!, $uid: String!) {
|
||||
collection_page(uid: $uid, locale: $locale) {
|
||||
hero_image
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
...TopPrimaryButton_CollectionPage
|
||||
...NavigationLinks_CollectionPage
|
||||
}
|
||||
meeting_package {
|
||||
show_widget
|
||||
location
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...CardsGrid_CollectionPage
|
||||
...Shortcuts_CollectionPage
|
||||
...UspGrid_CollectionPage
|
||||
...DynamicContent_CollectionPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: collection_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetCollectionPageRefs($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
header {
|
||||
...TopPrimaryButtonRef_CollectionPage
|
||||
...NavigationLinksRef_CollectionPage
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...CardsGrid_CollectionPageRefs
|
||||
...Shortcuts_CollectionPageRefs
|
||||
...UspGrid_CollectionPageRefs
|
||||
...DynamicContent_CollectionPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsCollectionPage($uid: String!) {
|
||||
de: collection_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: collection_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: collection_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsCollectionPage($uid: String!) {
|
||||
fi: collection_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: collection_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: collection_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
CardsGrid_CollectionPage,
|
||||
CardsGrid_CollectionPageRefs,
|
||||
} from "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
import {
|
||||
DynamicContent_CollectionPage,
|
||||
DynamicContent_CollectionPageRefs,
|
||||
} 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 {
|
||||
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"
|
||||
|
||||
export const GetCollectionPage = gql`
|
||||
query GetCollectionPage($locale: String!, $uid: String!) {
|
||||
collection_page(uid: $uid, locale: $locale) {
|
||||
hero_image
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
...TopPrimaryButton_CollectionPage
|
||||
...NavigationLinks_CollectionPage
|
||||
}
|
||||
meeting_package {
|
||||
show_widget
|
||||
location
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...CardsGrid_CollectionPage
|
||||
...Shortcuts_CollectionPage
|
||||
...UspGrid_CollectionPage
|
||||
...DynamicContent_CollectionPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: collection_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${TopPrimaryButton_CollectionPage}
|
||||
${NavigationLinks_CollectionPage}
|
||||
${CardsGrid_CollectionPage}
|
||||
${Shortcuts_CollectionPage}
|
||||
${UspGrid_CollectionPage}
|
||||
${DynamicContent_CollectionPage}
|
||||
`
|
||||
|
||||
export const GetCollectionPageRefs = gql`
|
||||
query GetCollectionPageRefs($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
header {
|
||||
...TopPrimaryButtonRef_CollectionPage
|
||||
...NavigationLinksRef_CollectionPage
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...CardsGrid_CollectionPageRefs
|
||||
...Shortcuts_CollectionPageRefs
|
||||
...UspGrid_CollectionPageRefs
|
||||
...DynamicContent_CollectionPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${TopPrimaryButtonRef_CollectionPage}
|
||||
${NavigationLinksRef_CollectionPage}
|
||||
${CardsGrid_CollectionPageRefs}
|
||||
${Shortcuts_CollectionPageRefs}
|
||||
${UspGrid_CollectionPageRefs}
|
||||
${DynamicContent_CollectionPageRefs}
|
||||
`
|
||||
|
||||
export const GetDaDeEnUrlsCollectionPage = gql`
|
||||
query GetDaDeEnUrlsCollectionPage($uid: String!) {
|
||||
de: collection_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: collection_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: collection_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsCollectionPage = gql`
|
||||
query GetFiNoSvUrlsCollectionPage($uid: String!) {
|
||||
fi: collection_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: collection_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: collection_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,23 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCollectionPageMetadata($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
hero_image
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCollectionPageMetadata = gql`
|
||||
query GetCollectionPageMetadata($locale: String!, $uid: String!) {
|
||||
collection_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
hero_image
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,39 +0,0 @@
|
||||
query GetContactConfig($locale: String!) {
|
||||
all_contact_config(locale: $locale) {
|
||||
items {
|
||||
email {
|
||||
address
|
||||
name
|
||||
}
|
||||
email_loyalty {
|
||||
address
|
||||
name
|
||||
}
|
||||
mailing_address {
|
||||
name
|
||||
street
|
||||
zip
|
||||
country
|
||||
city
|
||||
}
|
||||
phone {
|
||||
number
|
||||
name
|
||||
footnote
|
||||
}
|
||||
phone_loyalty {
|
||||
name
|
||||
number
|
||||
footnote
|
||||
}
|
||||
title
|
||||
visiting_address {
|
||||
country
|
||||
city
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
43
packages/trpc/lib/graphql/Query/ContactConfig.graphql.ts
Normal file
43
packages/trpc/lib/graphql/Query/ContactConfig.graphql.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const GetContactConfig = gql`
|
||||
query GetContactConfig($locale: String!) {
|
||||
all_contact_config(locale: $locale) {
|
||||
items {
|
||||
email {
|
||||
address
|
||||
name
|
||||
}
|
||||
email_loyalty {
|
||||
address
|
||||
name
|
||||
}
|
||||
mailing_address {
|
||||
name
|
||||
street
|
||||
zip
|
||||
country
|
||||
city
|
||||
}
|
||||
phone {
|
||||
number
|
||||
name
|
||||
footnote
|
||||
}
|
||||
phone_loyalty {
|
||||
name
|
||||
number
|
||||
footnote
|
||||
}
|
||||
title
|
||||
visiting_address {
|
||||
country
|
||||
city
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,147 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
#import "../../Fragments/Blocks/DynamicContent.graphql"
|
||||
#import "../../Fragments/Blocks/HotelListing.graphql"
|
||||
#import "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
#import "../../Fragments/Blocks/Table.graphql"
|
||||
#import "../../Fragments/Blocks/TextCols.graphql"
|
||||
#import "../../Fragments/Blocks/UspGrid.graphql"
|
||||
#import "../../Fragments/ContentPage/NavigationLinks.graphql"
|
||||
#import "../../Fragments/ContentPage/TopPrimaryButton.graphql"
|
||||
|
||||
#import "../../Fragments/Sidebar/Content.graphql"
|
||||
#import "../../Fragments/Sidebar/DynamicContent.graphql"
|
||||
#import "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
||||
#import "../../Fragments/Sidebar/TeaserCard.graphql"
|
||||
#import "../../Fragments/Sidebar/ScriptedCard.graphql"
|
||||
#import "../../Fragments/Sidebar/QuickLinks.graphql"
|
||||
|
||||
query GetContentPage($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
hero_image
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
dynamic_content {
|
||||
component
|
||||
}
|
||||
...TopPrimaryButton_ContentPage
|
||||
...NavigationLinks_ContentPage
|
||||
}
|
||||
meeting_package {
|
||||
show_widget
|
||||
location
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
}
|
||||
sidebar {
|
||||
__typename
|
||||
...ContentSidebar_ContentPage
|
||||
...DynamicContentSidebar_ContentPage
|
||||
...JoinLoyaltyContactSidebar_ContentPage
|
||||
...ScriptedCardSidebar_ContentPage
|
||||
...TeaserCardSidebar_ContentPage
|
||||
...QuickLinksSidebar_ContentPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: content_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageBlocksBatch1($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_ContentPage
|
||||
...CardsGrid_ContentPage
|
||||
...Content_ContentPage
|
||||
...DynamicContent_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
blocks {
|
||||
__typename
|
||||
...HotelListing_ContentPage
|
||||
...Shortcuts_ContentPage
|
||||
...Table_ContentPage
|
||||
...TextCols_ContentPage
|
||||
...UspGrid_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
header {
|
||||
dynamic_content {
|
||||
component
|
||||
}
|
||||
...NavigationLinksRef_ContentPage
|
||||
...TopPrimaryButtonRef_ContentPage
|
||||
}
|
||||
sidebar {
|
||||
__typename
|
||||
...ContentSidebar_ContentPageRefs
|
||||
...JoinLoyaltyContactSidebar_ContentPageRefs
|
||||
...ScriptedCardSidebar_ContentPageRefs
|
||||
...TeaserCardSidebar_ContentPageRefs
|
||||
...QuickLinksSidebar_ContentPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsContentPage($uid: String!) {
|
||||
de: content_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: content_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: content_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsContentPage($uid: String!) {
|
||||
fi: content_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: content_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: content_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,236 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Accordion_ContentPage,
|
||||
Accordion_ContentPageRefs,
|
||||
} from "../../Fragments/Blocks/Accordion.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 {
|
||||
Shortcuts_ContentPage,
|
||||
Shortcuts_ContentPageRefs,
|
||||
} from "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
import { Table_ContentPage } from "../../Fragments/Blocks/Table.graphql"
|
||||
import {
|
||||
TextCols_ContentPage,
|
||||
TextCols_ContentPageRef,
|
||||
} from "../../Fragments/Blocks/TextCols.graphql"
|
||||
import {
|
||||
UspGrid_ContentPage,
|
||||
UspGrid_ContentPageRefs,
|
||||
} from "../../Fragments/Blocks/UspGrid.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 {
|
||||
JoinLoyaltyContactSidebar_ContentPage,
|
||||
JoinLoyaltyContactSidebar_ContentPageRefs,
|
||||
} from "../../Fragments/Sidebar/JoinLoyaltyContact.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"
|
||||
|
||||
export const GetContentPage = gql`
|
||||
query GetContentPage($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
hero_image
|
||||
title
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
dynamic_content {
|
||||
component
|
||||
}
|
||||
...TopPrimaryButton_ContentPage
|
||||
...NavigationLinks_ContentPage
|
||||
}
|
||||
meeting_package {
|
||||
show_widget
|
||||
location
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
}
|
||||
sidebar {
|
||||
__typename
|
||||
...ContentSidebar_ContentPage
|
||||
...DynamicContentSidebar_ContentPage
|
||||
...JoinLoyaltyContactSidebar_ContentPage
|
||||
...ScriptedCardSidebar_ContentPage
|
||||
...TeaserCardSidebar_ContentPage
|
||||
...QuickLinksSidebar_ContentPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: content_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${TopPrimaryButton_ContentPage}
|
||||
${NavigationLinks_ContentPage}
|
||||
${ContentSidebar_ContentPage}
|
||||
${DynamicContentSidebar_ContentPage}
|
||||
${JoinLoyaltyContactSidebar_ContentPage}
|
||||
${ScriptedCardSidebar_ContentPage}
|
||||
${TeaserCardSidebar_ContentPage}
|
||||
${QuickLinksSidebar_ContentPage}
|
||||
`
|
||||
|
||||
export const GetContentPageBlocksBatch1 = gql`
|
||||
query GetContentPageBlocksBatch1($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_ContentPage
|
||||
...CardsGrid_ContentPage
|
||||
...Content_ContentPage
|
||||
...DynamicContent_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
${Accordion_ContentPage}
|
||||
${CardsGrid_ContentPage}
|
||||
${Content_ContentPage}
|
||||
${DynamicContent_ContentPage}
|
||||
`
|
||||
|
||||
export const GetContentPageBlocksBatch2 = gql`
|
||||
query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
|
||||
content_page(uid: $uid, locale: $locale) {
|
||||
blocks {
|
||||
__typename
|
||||
...HotelListing_ContentPage
|
||||
...Shortcuts_ContentPage
|
||||
...Table_ContentPage
|
||||
...TextCols_ContentPage
|
||||
...UspGrid_ContentPage
|
||||
}
|
||||
}
|
||||
}
|
||||
${HotelListing_ContentPage}
|
||||
${Shortcuts_ContentPage}
|
||||
${Table_ContentPage}
|
||||
${TextCols_ContentPage}
|
||||
${UspGrid_ContentPage}
|
||||
`
|
||||
|
||||
export const GetContentPageRefs = gql`
|
||||
query GetContentPageRefs($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
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}
|
||||
`
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
${Accordion_ContentPageRefs}
|
||||
${CardsGrid_ContentPageRefs}
|
||||
${Content_ContentPageRefs}
|
||||
${DynamicContent_ContentPageRefs}
|
||||
${Shortcuts_ContentPageRefs}
|
||||
${TextCols_ContentPageRef}
|
||||
${UspGrid_ContentPageRefs}
|
||||
`
|
||||
|
||||
export const GetDaDeEnUrlsContentPage = gql`
|
||||
query GetDaDeEnUrlsContentPage($uid: String!) {
|
||||
de: content_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: content_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: content_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsContentPage = gql`
|
||||
query GetFiNoSvUrlsContentPage($uid: String!) {
|
||||
fi: content_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: content_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: content_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,32 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetContentPageMetadata($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
hero_image
|
||||
blocks {
|
||||
... on ContentPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetContentPageMetadata = gql`
|
||||
query GetContentPageMetadata($locale: String!, $uid: String!) {
|
||||
content_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
header {
|
||||
heading
|
||||
preamble
|
||||
}
|
||||
hero_image
|
||||
blocks {
|
||||
... on ContentPageBlocksContent {
|
||||
content {
|
||||
content {
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,45 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetDestinationCityListData($locale: String!, $cityIdentifier: String!) {
|
||||
all_destination_city_page(
|
||||
where: {
|
||||
OR: [
|
||||
{ destination_settings: { city_denmark: $cityIdentifier } }
|
||||
{ destination_settings: { city_finland: $cityIdentifier } }
|
||||
{ destination_settings: { city_germany: $cityIdentifier } }
|
||||
{ destination_settings: { city_norway: $cityIdentifier } }
|
||||
{ destination_settings: { city_poland: $cityIdentifier } }
|
||||
{ destination_settings: { city_sweden: $cityIdentifier } }
|
||||
]
|
||||
}
|
||||
locale: $locale
|
||||
) {
|
||||
items {
|
||||
heading
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
}
|
||||
}
|
||||
sort_order
|
||||
preamble
|
||||
images {
|
||||
image
|
||||
}
|
||||
experiences {
|
||||
destination_experiences
|
||||
}
|
||||
url
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationCityListData = gql`
|
||||
query GetDestinationCityListData($locale: String!, $cityIdentifier: String!) {
|
||||
all_destination_city_page(
|
||||
where: {
|
||||
OR: [
|
||||
{ destination_settings: { city_denmark: $cityIdentifier } }
|
||||
{ destination_settings: { city_finland: $cityIdentifier } }
|
||||
{ destination_settings: { city_germany: $cityIdentifier } }
|
||||
{ destination_settings: { city_norway: $cityIdentifier } }
|
||||
{ destination_settings: { city_poland: $cityIdentifier } }
|
||||
{ destination_settings: { city_sweden: $cityIdentifier } }
|
||||
]
|
||||
}
|
||||
locale: $locale
|
||||
) {
|
||||
items {
|
||||
heading
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
}
|
||||
}
|
||||
sort_order
|
||||
preamble
|
||||
images {
|
||||
image
|
||||
}
|
||||
experiences {
|
||||
destination_experiences
|
||||
}
|
||||
url
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,178 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/DestinationFilter.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
|
||||
#import "../../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../../Fragments/StartPage/Ref.graphql"
|
||||
#import "../../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
query GetDestinationCityPage($locale: String!, $uid: String!) {
|
||||
destination_city_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
default_zoom
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble
|
||||
experiences {
|
||||
destination_experiences
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
has_sidepeek
|
||||
sidepeek_button_text
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_DestinationCityPage
|
||||
...Content_DestinationCityPage
|
||||
}
|
||||
seo_filters {
|
||||
...DestinationFilter
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: destination_city_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsDestinationCityPage($uid: String!) {
|
||||
de: destination_city_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: destination_city_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: destination_city_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsDestinationCityPage($uid: String!) {
|
||||
fi: destination_city_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: destination_city_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: destination_city_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,225 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../Fragments/AccountPage/Ref.graphql"
|
||||
import {
|
||||
Accordion_DestinationCityPage,
|
||||
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 { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.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 GetDestinationCityPage = gql`
|
||||
query GetDestinationCityPage($locale: String!, $uid: String!) {
|
||||
destination_city_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
default_zoom
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble
|
||||
experiences {
|
||||
destination_experiences
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
has_sidepeek
|
||||
sidepeek_button_text
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_DestinationCityPage
|
||||
...Content_DestinationCityPage
|
||||
}
|
||||
seo_filters {
|
||||
...DestinationFilter
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: destination_city_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${Accordion_DestinationCityPage}
|
||||
${Content_DestinationCityPage}
|
||||
${DestinationFilter}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${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`
|
||||
query GetDaDeEnUrlsDestinationCityPage($uid: String!) {
|
||||
de: destination_city_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: destination_city_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: destination_city_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsDestinationCityPage = gql`
|
||||
query GetFiNoSvUrlsDestinationCityPage($uid: String!) {
|
||||
fi: destination_city_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: destination_city_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: destination_city_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCityPageCount($locale: String!) {
|
||||
all_destination_city_page(locale: $locale) {
|
||||
total
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const GetCityPageCount = gql`
|
||||
query GetCityPageCount($locale: String!) {
|
||||
all_destination_city_page(locale: $locale) {
|
||||
total
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,20 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCityPageUrls($locale: String!, $skip: Int) {
|
||||
all_destination_city_page(locale: $locale, limit: 100, skip: $skip) {
|
||||
items {
|
||||
url
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCityPageUrls = gql`
|
||||
query GetCityPageUrls($locale: String!, $skip: Int) {
|
||||
all_destination_city_page(locale: $locale, limit: 100, skip: $skip) {
|
||||
items {
|
||||
url
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,44 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
#import "../../Fragments/HotelFilter.graphql"
|
||||
|
||||
query GetDestinationCityPageMetadata($locale: String!, $uid: String!) {
|
||||
destination_city_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
seo_filters {
|
||||
heading
|
||||
preamble
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { HotelFilter } from "../../Fragments/HotelFilter.graphql"
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationCityPageMetadata = gql`
|
||||
query GetDestinationCityPageMetadata($locale: String!, $uid: String!) {
|
||||
destination_city_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
seo_filters {
|
||||
heading
|
||||
preamble
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
${HotelFilter}
|
||||
`
|
||||
@@ -1,160 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/DestinationFilter.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
|
||||
#import "../../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../../Fragments/StartPage/Ref.graphql"
|
||||
#import "../../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
query GetDestinationCountryPage($locale: String!, $uid: String!) {
|
||||
destination_country_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
destination_settings {
|
||||
country
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
default_zoom
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble
|
||||
experiences {
|
||||
destination_experiences
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
has_sidepeek
|
||||
sidepeek_button_text
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_DestinationCountryPage
|
||||
...Content_DestinationCountryPage
|
||||
}
|
||||
seo_filters {
|
||||
...DestinationFilter
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: destination_country_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsDestinationCountryPage($uid: String!) {
|
||||
de: destination_country_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: destination_country_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: destination_country_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsDestinationCountryPage($uid: String!) {
|
||||
fi: destination_country_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: destination_country_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: destination_country_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../../Fragments/AccountPage/Ref.graphql"
|
||||
import {
|
||||
Accordion_DestinationCountryPage,
|
||||
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 { CampaignOverviewPageLink } from "../../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../../Fragments/PageLink/PromoCampaignPageLink.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 GetDestinationCountryPage = gql`
|
||||
query GetDestinationCountryPage($locale: String!, $uid: String!) {
|
||||
destination_country_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
destination_settings {
|
||||
country
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
default_zoom
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble
|
||||
experiences {
|
||||
destination_experiences
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
has_sidepeek
|
||||
sidepeek_button_text
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_DestinationCountryPage
|
||||
...Content_DestinationCountryPage
|
||||
}
|
||||
seo_filters {
|
||||
...DestinationFilter
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: destination_country_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${DestinationFilter}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
${Accordion_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`
|
||||
query GetDaDeEnUrlsDestinationCountryPage($uid: String!) {
|
||||
de: destination_country_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: destination_country_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: destination_country_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsDestinationCountryPage = gql`
|
||||
query GetFiNoSvUrlsDestinationCountryPage($uid: String!) {
|
||||
fi: destination_country_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: destination_country_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: destination_country_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,15 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCountryPageUrls($locale: String!) {
|
||||
all_destination_country_page(locale: $locale) {
|
||||
items {
|
||||
url
|
||||
destination_settings {
|
||||
country
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetCountryPageUrls = gql`
|
||||
query GetCountryPageUrls($locale: String!) {
|
||||
all_destination_country_page(locale: $locale) {
|
||||
items {
|
||||
url
|
||||
destination_settings {
|
||||
country
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,39 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
#import "../../Fragments/HotelFilter.graphql"
|
||||
|
||||
query GetDestinationCountryPageMetadata($locale: String!, $uid: String!) {
|
||||
destination_country_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
destination_settings {
|
||||
country
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
seo_filters {
|
||||
heading
|
||||
preamble
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { HotelFilter } from "../../Fragments/HotelFilter.graphql"
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationCountryPageMetadata = gql`
|
||||
query GetDestinationCountryPageMetadata($locale: String!, $uid: String!) {
|
||||
destination_country_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
destination_settings {
|
||||
country
|
||||
}
|
||||
images {
|
||||
image
|
||||
}
|
||||
seo_filters {
|
||||
heading
|
||||
preamble
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
filterConnection {
|
||||
edges {
|
||||
node {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
${HotelFilter}
|
||||
`
|
||||
@@ -1,63 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/CardGallery.graphql"
|
||||
|
||||
query GetDestinationOverviewPage($locale: String!, $uid: String!) {
|
||||
destination_overview_page(uid: $uid, locale: $locale) {
|
||||
heading
|
||||
url
|
||||
blocks {
|
||||
__typename
|
||||
...CardGallery_DestinationOverviewPage
|
||||
}
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
default_zoom
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: destination_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationOverviewPageRefs($locale: String!, $uid: String!) {
|
||||
destination_overview_page(locale: $locale, uid: $uid) {
|
||||
blocks {
|
||||
__typename
|
||||
...CardGallery_DestinationOverviewPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsDestinationOverviewPage($uid: String!) {
|
||||
de: destination_overview_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: destination_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: destination_overview_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsDestinationOverviewPage($uid: String!) {
|
||||
fi: destination_overview_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: destination_overview_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: destination_overview_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
CardGallery_DestinationOverviewPage,
|
||||
CardGallery_DestinationOverviewPageRefs,
|
||||
} from "../../Fragments/Blocks/CardGallery.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationOverviewPage = gql`
|
||||
query GetDestinationOverviewPage($locale: String!, $uid: String!) {
|
||||
destination_overview_page(uid: $uid, locale: $locale) {
|
||||
heading
|
||||
url
|
||||
blocks {
|
||||
__typename
|
||||
...CardGallery_DestinationOverviewPage
|
||||
}
|
||||
location {
|
||||
longitude
|
||||
latitude
|
||||
default_zoom
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: destination_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${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`
|
||||
query GetDaDeEnUrlsDestinationOverviewPage($uid: String!) {
|
||||
de: destination_overview_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: destination_overview_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: destination_overview_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsDestinationOverviewPage = gql`
|
||||
query GetFiNoSvUrlsDestinationOverviewPage($uid: String!) {
|
||||
fi: destination_overview_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: destination_overview_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: destination_overview_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,18 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetDestinationOverviewPageMetadata($locale: String!, $uid: String!) {
|
||||
destination_overview_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetDestinationOverviewPageMetadata = gql`
|
||||
query GetDestinationOverviewPageMetadata($locale: String!, $uid: String!) {
|
||||
destination_overview_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,192 +0,0 @@
|
||||
#import "../Fragments/System.graphql"
|
||||
|
||||
#import "../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../Fragments/StartPage/Ref.graphql"
|
||||
#import "../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
#import "../Fragments/Footer/AppDownloads.graphql"
|
||||
#import "../Fragments/Footer/SocialMedia.graphql"
|
||||
|
||||
query GetFooter($locale: String!) {
|
||||
all_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
main_links {
|
||||
title
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_links {
|
||||
title
|
||||
links {
|
||||
title
|
||||
open_in_new_tab
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
tertiary_links {
|
||||
title
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
...AppDownloads
|
||||
...SocialMedia
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
222
packages/trpc/lib/graphql/Query/Footer.graphql.ts
Normal file
222
packages/trpc/lib/graphql/Query/Footer.graphql.ts
Normal file
@@ -0,0 +1,222 @@
|
||||
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 { 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 { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.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`
|
||||
query GetFooter($locale: String!) {
|
||||
all_footer(limit: 1, locale: $locale) {
|
||||
items {
|
||||
main_links {
|
||||
title
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_links {
|
||||
title
|
||||
links {
|
||||
title
|
||||
open_in_new_tab
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
tertiary_links {
|
||||
title
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
...AppDownloads
|
||||
...SocialMedia
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
${AppDownloads}
|
||||
${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,314 +0,0 @@
|
||||
#import "../Fragments/System.graphql"
|
||||
|
||||
#import "../Fragments/Blocks/Card.graphql"
|
||||
#import "../Fragments/Blocks/Refs/Card.graphql"
|
||||
|
||||
#import "../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../Fragments/StartPage/Ref.graphql"
|
||||
#import "../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
query GetHeader($locale: String!) {
|
||||
all_header(limit: 1, locale: $locale) {
|
||||
items {
|
||||
top_link {
|
||||
logged_in {
|
||||
icon
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
logged_out {
|
||||
icon
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
menu_items {
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
see_all_link {
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
submenu {
|
||||
title
|
||||
links {
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
cardConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
344
packages/trpc/lib/graphql/Query/Header.graphql.ts
Normal file
344
packages/trpc/lib/graphql/Query/Header.graphql.ts
Normal file
@@ -0,0 +1,344 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageRef } from "../Fragments/AccountPage/Ref.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 { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.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`
|
||||
query GetHeader($locale: String!) {
|
||||
all_header(limit: 1, locale: $locale) {
|
||||
items {
|
||||
top_link {
|
||||
logged_in {
|
||||
icon
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
logged_out {
|
||||
icon
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
menu_items {
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
see_all_link {
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
submenu {
|
||||
title
|
||||
links {
|
||||
is_contentstack_link
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
cardConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${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}
|
||||
`
|
||||
@@ -1,172 +0,0 @@
|
||||
#import "../../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
|
||||
#import "../../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../../Fragments/ContentPage/Ref.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Refs/Accordion.graphql"
|
||||
|
||||
query GetHotelPage($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
hotel_page_id
|
||||
title
|
||||
url
|
||||
hotel_navigation {
|
||||
overview
|
||||
rooms
|
||||
restaurant_bar
|
||||
conferences_meetings
|
||||
health_wellness
|
||||
activities
|
||||
offers
|
||||
faq
|
||||
}
|
||||
campaigns {
|
||||
heading
|
||||
preamble
|
||||
prioritized_campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on CampaignPage {
|
||||
system {
|
||||
uid
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
faq {
|
||||
__typename
|
||||
title
|
||||
global_faqConnection {
|
||||
__typename
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
specific_faq {
|
||||
__typename
|
||||
...GlobalAccordionBlock
|
||||
}
|
||||
}
|
||||
content {
|
||||
__typename
|
||||
... on HotelPageContentUpcomingActivitiesCard {
|
||||
upcoming_activities_card {
|
||||
background_image
|
||||
cta_text
|
||||
sidepeek_cta_text
|
||||
heading
|
||||
body_text
|
||||
scripted_title
|
||||
sidepeek_slug
|
||||
hotel_page_activities_content_pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on ContentPage {
|
||||
...ContentPageLink
|
||||
header {
|
||||
preamble
|
||||
}
|
||||
}
|
||||
... on CollectionPage {
|
||||
...CollectionPageLink
|
||||
header {
|
||||
preamble
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
... on HotelPageContentSpaPage {
|
||||
spa_page {
|
||||
button_cta
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsHotelPage($uid: String!) {
|
||||
de: hotel_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: hotel_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: hotel_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsHotelPage($uid: String!) {
|
||||
fi: hotel_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: hotel_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: hotel_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
196
packages/trpc/lib/graphql/Query/HotelPage/HotelPage.graphql.ts
Normal file
196
packages/trpc/lib/graphql/Query/HotelPage/HotelPage.graphql.ts
Normal file
@@ -0,0 +1,196 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
AccordionBlock,
|
||||
GlobalAccordionBlock,
|
||||
} 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 { ContentPageLink } from "../../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetHotelPage = gql`
|
||||
query GetHotelPage($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
hotel_page_id
|
||||
title
|
||||
url
|
||||
hotel_navigation {
|
||||
overview
|
||||
rooms
|
||||
restaurant_bar
|
||||
conferences_meetings
|
||||
health_wellness
|
||||
activities
|
||||
offers
|
||||
faq
|
||||
}
|
||||
campaigns {
|
||||
heading
|
||||
preamble
|
||||
prioritized_campaignsConnection {
|
||||
edges {
|
||||
node {
|
||||
... on CampaignPage {
|
||||
system {
|
||||
uid
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
faq {
|
||||
__typename
|
||||
title
|
||||
global_faqConnection {
|
||||
__typename
|
||||
edges {
|
||||
node {
|
||||
...AccordionBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
specific_faq {
|
||||
__typename
|
||||
...GlobalAccordionBlock
|
||||
}
|
||||
}
|
||||
content {
|
||||
__typename
|
||||
... on HotelPageContentUpcomingActivitiesCard {
|
||||
upcoming_activities_card {
|
||||
background_image
|
||||
cta_text
|
||||
sidepeek_cta_text
|
||||
heading
|
||||
body_text
|
||||
scripted_title
|
||||
sidepeek_slug
|
||||
hotel_page_activities_content_pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on ContentPage {
|
||||
...ContentPageLink
|
||||
header {
|
||||
preamble
|
||||
}
|
||||
}
|
||||
... on CollectionPage {
|
||||
...CollectionPageLink
|
||||
header {
|
||||
preamble
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
... on HotelPageContentSpaPage {
|
||||
spa_page {
|
||||
button_cta
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccordionBlock}
|
||||
${GlobalAccordionBlock}
|
||||
${ContentPageLink}
|
||||
${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`
|
||||
query GetDaDeEnUrlsHotelPage($uid: String!) {
|
||||
de: hotel_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: hotel_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: hotel_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsHotelPage = gql`
|
||||
query GetFiNoSvUrlsHotelPage($uid: String!) {
|
||||
fi: hotel_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: hotel_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: hotel_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,7 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetHotelPageCount($locale: String!) {
|
||||
all_hotel_page(locale: $locale) {
|
||||
total
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const GetHotelPageCount = gql`
|
||||
query GetHotelPageCount($locale: String!) {
|
||||
all_hotel_page(locale: $locale) {
|
||||
total
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,13 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetHotelPageUrls($locale: String!, $skip: Int) {
|
||||
all_hotel_page(locale: $locale, limit: 100, skip: $skip) {
|
||||
items {
|
||||
url
|
||||
hotel_page_id
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetHotelPageUrls = gql`
|
||||
query GetHotelPageUrls($locale: String!, $skip: Int) {
|
||||
all_hotel_page(locale: $locale, limit: 100, skip: $skip) {
|
||||
items {
|
||||
url
|
||||
hotel_page_id
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,19 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetHotelPageMetadata($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
hotel_page_id
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetHotelPageMetadata = gql`
|
||||
query GetHotelPageMetadata($locale: String!, $uid: String!) {
|
||||
hotel_page(locale: $locale, uid: $uid) {
|
||||
hotel_page_id
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,25 +0,0 @@
|
||||
query GetAllLoyaltyLevels($lang: String!, $level_ids: [String]!) {
|
||||
all_loyalty_level(where: { level_id_in: $level_ids }, locale: $lang) {
|
||||
items {
|
||||
description
|
||||
level_id
|
||||
name
|
||||
required_points
|
||||
required_nights
|
||||
user_facing_tag
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetLoyaltyLevel($lang: String!, $level_id: String!) {
|
||||
all_loyalty_level(where: { level_id: $level_id }, locale: $lang) {
|
||||
items {
|
||||
description
|
||||
level_id
|
||||
name
|
||||
required_points
|
||||
required_nights
|
||||
user_facing_tag
|
||||
}
|
||||
}
|
||||
}
|
||||
31
packages/trpc/lib/graphql/Query/LoyaltyLevels.graphql.ts
Normal file
31
packages/trpc/lib/graphql/Query/LoyaltyLevels.graphql.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const GetAllLoyaltyLevels = gql`
|
||||
query GetAllLoyaltyLevels($lang: String!, $level_ids: [String]!) {
|
||||
all_loyalty_level(where: { level_id_in: $level_ids }, locale: $lang) {
|
||||
items {
|
||||
description
|
||||
level_id
|
||||
name
|
||||
required_points
|
||||
required_nights
|
||||
user_facing_tag
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetLoyaltyLevel = gql`
|
||||
query GetLoyaltyLevel($lang: String!, $level_id: String!) {
|
||||
all_loyalty_level(where: { level_id: $level_id }, locale: $lang) {
|
||||
items {
|
||||
description
|
||||
level_id
|
||||
name
|
||||
required_points
|
||||
required_nights
|
||||
user_facing_tag
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,102 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
#import "../../Fragments/Blocks/DynamicContent.graphql"
|
||||
#import "../../Fragments/Blocks/Shortcuts.graphql"
|
||||
|
||||
#import "../../Fragments/Sidebar/Content.graphql"
|
||||
#import "../../Fragments/Sidebar/DynamicContent.graphql"
|
||||
#import "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
||||
|
||||
query GetLoyaltyPage($locale: String!, $uid: String!) {
|
||||
loyalty_page(uid: $uid, locale: $locale) {
|
||||
heading
|
||||
hero_image
|
||||
preamble
|
||||
title
|
||||
blocks {
|
||||
__typename
|
||||
...CardsGrid_LoyaltyPage
|
||||
...Content_LoyaltyPage
|
||||
...DynamicContent_LoyaltyPage
|
||||
...Shortcuts_LoyaltyPage
|
||||
}
|
||||
sidebar {
|
||||
__typename
|
||||
...ContentSidebar_LoyaltyPage
|
||||
...DynamicContentSidebar_LoyaltyPage
|
||||
...JoinLoyaltyContactSidebar_LoyaltyPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: loyalty_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsLoyaltyPage($uid: String!) {
|
||||
de: loyalty_page(locale: "de", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
en: loyalty_page(locale: "en", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
da: loyalty_page(locale: "da", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsLoyaltyPage($uid: String!) {
|
||||
sv: loyalty_page(locale: "sv", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
no: loyalty_page(locale: "no", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
fi: loyalty_page(locale: "fi", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
CardsGrid_LoyaltyPage,
|
||||
CardsGrid_LoyaltyPageRefs,
|
||||
} from "../../Fragments/Blocks/CardsGrid.graphql"
|
||||
import {
|
||||
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 {
|
||||
JoinLoyaltyContactSidebar_LoyaltyPage,
|
||||
JoinLoyaltyContactSidebar_LoyaltyPageRefs,
|
||||
} from "../../Fragments/Sidebar/JoinLoyaltyContact.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetLoyaltyPage = gql`
|
||||
query GetLoyaltyPage($locale: String!, $uid: String!) {
|
||||
loyalty_page(uid: $uid, locale: $locale) {
|
||||
heading
|
||||
hero_image
|
||||
preamble
|
||||
title
|
||||
blocks {
|
||||
__typename
|
||||
...CardsGrid_LoyaltyPage
|
||||
...Content_LoyaltyPage
|
||||
...DynamicContent_LoyaltyPage
|
||||
...Shortcuts_LoyaltyPage
|
||||
}
|
||||
sidebar {
|
||||
__typename
|
||||
...ContentSidebar_LoyaltyPage
|
||||
...DynamicContentSidebar_LoyaltyPage
|
||||
...JoinLoyaltyContactSidebar_LoyaltyPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: loyalty_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${CardsGrid_LoyaltyPage}
|
||||
${Content_LoyaltyPage}
|
||||
${DynamicContent_LoyaltyPage}
|
||||
${Shortcuts_LoyaltyPage}
|
||||
${ContentSidebar_LoyaltyPage}
|
||||
${DynamicContentSidebar_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`
|
||||
query GetDaDeEnUrlsLoyaltyPage($uid: String!) {
|
||||
de: loyalty_page(locale: "de", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
en: loyalty_page(locale: "en", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
da: loyalty_page(locale: "da", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsLoyaltyPage = gql`
|
||||
query GetFiNoSvUrlsLoyaltyPage($uid: String!) {
|
||||
sv: loyalty_page(locale: "sv", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
no: loyalty_page(locale: "no", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
fi: loyalty_page(locale: "fi", uid: $uid) {
|
||||
web {
|
||||
original_url
|
||||
}
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,31 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetLoyaltyPageMetadata($locale: String!, $uid: String!) {
|
||||
loyalty_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble
|
||||
hero_image
|
||||
blocks {
|
||||
... on LoyaltyPageBlocksContent {
|
||||
__typename
|
||||
content {
|
||||
content {
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetLoyaltyPageMetadata = gql`
|
||||
query GetLoyaltyPageMetadata($locale: String!, $uid: String!) {
|
||||
loyalty_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
heading
|
||||
preamble
|
||||
hero_image
|
||||
blocks {
|
||||
... on LoyaltyPageBlocksContent {
|
||||
__typename
|
||||
content {
|
||||
content {
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,105 +0,0 @@
|
||||
#import "../Fragments/PageSettings.graphql"
|
||||
|
||||
query GetAccountPageSettings($uid: String!, $locale: String!) {
|
||||
page: account_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCampaignOverviewPageSettings($uid: String!, $locale: String!) {
|
||||
page: campaign_overview_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCampaignPageSettings($uid: String!, $locale: String!) {
|
||||
page: campaign_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCollectionPageSettings($uid: String!, $locale: String!) {
|
||||
page: collection_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetContentPageSettings($uid: String!, $locale: String!) {
|
||||
page: content_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetCurrentBlocksPageSettings($uid: String!, $locale: String!) {
|
||||
page: current_blocks_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationCityPageSettings($uid: String!, $locale: String!) {
|
||||
page: destination_city_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationCountryPageSettings($uid: String!, $locale: String!) {
|
||||
page: destination_country_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDestinationOverviewPageSettings($uid: String!, $locale: String!) {
|
||||
page: destination_overview_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetHotelPageSettings($uid: String!, $locale: String!) {
|
||||
page: hotel_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetLoyaltyPageSettings($uid: String!, $locale: String!) {
|
||||
page: loyalty_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetStartPageSettings($uid: String!, $locale: String!) {
|
||||
page: start_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetPromoCampaignPageSettings($uid: String!, $locale: String!) {
|
||||
page: promo_campaign_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
146
packages/trpc/lib/graphql/Query/PageSettings.graphql.ts
Normal file
146
packages/trpc/lib/graphql/Query/PageSettings.graphql.ts
Normal file
@@ -0,0 +1,146 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { PageSettings } from "../Fragments/PageSettings.graphql"
|
||||
|
||||
export const GetAccountPageSettings = gql`
|
||||
query GetAccountPageSettings($uid: String!, $locale: String!) {
|
||||
page: account_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetCampaignOverviewPageSettings = gql`
|
||||
query GetCampaignOverviewPageSettings($uid: String!, $locale: String!) {
|
||||
page: campaign_overview_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetCampaignPageSettings = gql`
|
||||
query GetCampaignPageSettings($uid: String!, $locale: String!) {
|
||||
page: campaign_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetCollectionPageSettings = gql`
|
||||
query GetCollectionPageSettings($uid: String!, $locale: String!) {
|
||||
page: collection_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetContentPageSettings = gql`
|
||||
query GetContentPageSettings($uid: String!, $locale: String!) {
|
||||
page: content_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetCurrentBlocksPageSettings = gql`
|
||||
query GetCurrentBlocksPageSettings($uid: String!, $locale: String!) {
|
||||
page: current_blocks_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetDestinationCityPageSettings = gql`
|
||||
query GetDestinationCityPageSettings($uid: String!, $locale: String!) {
|
||||
page: destination_city_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetDestinationCountryPageSettings = gql`
|
||||
query GetDestinationCountryPageSettings($uid: String!, $locale: String!) {
|
||||
page: destination_country_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetDestinationOverviewPageSettings = gql`
|
||||
query GetDestinationOverviewPageSettings($uid: String!, $locale: String!) {
|
||||
page: destination_overview_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetHotelPageSettings = gql`
|
||||
query GetHotelPageSettings($uid: String!, $locale: String!) {
|
||||
page: hotel_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetLoyaltyPageSettings = gql`
|
||||
query GetLoyaltyPageSettings($uid: String!, $locale: String!) {
|
||||
page: loyalty_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetStartPageSettings = gql`
|
||||
query GetStartPageSettings($uid: String!, $locale: String!) {
|
||||
page: start_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
|
||||
export const GetPromoCampaignPageSettings = gql`
|
||||
query GetPromoCampaignPageSettings($uid: String!, $locale: String!) {
|
||||
page: promo_campaign_page(uid: $uid, locale: $locale) {
|
||||
settings: page_settings {
|
||||
...PageSettings
|
||||
}
|
||||
}
|
||||
}
|
||||
${PageSettings}
|
||||
`
|
||||
@@ -1,19 +0,0 @@
|
||||
#import "../../Fragments/Metadata.graphql"
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetPromoCampaignPageMetadata($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
heading
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Metadata } from "../../Fragments/Metadata.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetPromoCampaignPageMetadata = gql`
|
||||
query GetPromoCampaignPageMetadata($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
seo_metadata {
|
||||
...Metadata
|
||||
}
|
||||
}
|
||||
heading
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
${Metadata}
|
||||
${System}
|
||||
`
|
||||
@@ -1,75 +0,0 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
#import "../../Fragments/Blocks/Accordion.graphql"
|
||||
#import "../../Fragments/Blocks/Content.graphql"
|
||||
|
||||
query GetPromoCampaignPage($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
heading
|
||||
subheading
|
||||
promo_hero {
|
||||
image
|
||||
heading
|
||||
benefits
|
||||
}
|
||||
page_settings {
|
||||
booking_code
|
||||
}
|
||||
campaign_type
|
||||
promo_code
|
||||
startdate
|
||||
enddate
|
||||
level_selection
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_PromoCampaignPage
|
||||
...Content_PromoCampaignPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: promo_campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetPromoCampaignPageRefs($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(locale: $locale, uid: $uid) {
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_PromoCampaignPageRefs
|
||||
...Content_PromoCampaignPageRefs
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsPromoCampaignPage($uid: String!) {
|
||||
de: promo_campaign_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: promo_campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: promo_campaign_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
|
||||
query GetFiNoSvUrlsPromoCampaignPage($uid: String!) {
|
||||
fi: promo_campaign_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: promo_campaign_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: promo_campaign_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import {
|
||||
Accordion_PromoCampaignPage,
|
||||
Accordion_PromoCampaignPageRefs,
|
||||
} from "../../Fragments/Blocks/Accordion.graphql"
|
||||
import {
|
||||
Content_PromoCampaignPage,
|
||||
Content_PromoCampaignPageRefs,
|
||||
} from "../../Fragments/Blocks/Content.graphql"
|
||||
import { System } from "../../Fragments/System.graphql"
|
||||
|
||||
export const GetPromoCampaignPage = gql`
|
||||
query GetPromoCampaignPage($locale: String!, $uid: String!) {
|
||||
promo_campaign_page(uid: $uid, locale: $locale) {
|
||||
title
|
||||
heading
|
||||
subheading
|
||||
promo_hero {
|
||||
image
|
||||
heading
|
||||
benefits
|
||||
}
|
||||
page_settings {
|
||||
booking_code
|
||||
}
|
||||
campaign_type
|
||||
promo_code
|
||||
startdate
|
||||
enddate
|
||||
level_selection
|
||||
blocks {
|
||||
__typename
|
||||
...Accordion_PromoCampaignPage
|
||||
...Content_PromoCampaignPage
|
||||
}
|
||||
system {
|
||||
...System
|
||||
created_at
|
||||
updated_at
|
||||
}
|
||||
}
|
||||
trackingProps: promo_campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${Accordion_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`
|
||||
query GetDaDeEnUrlsPromoCampaignPage($uid: String!) {
|
||||
de: promo_campaign_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
}
|
||||
en: promo_campaign_page(locale: "en", uid: $uid) {
|
||||
url
|
||||
}
|
||||
da: promo_campaign_page(locale: "da", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const GetFiNoSvUrlsPromoCampaignPage = gql`
|
||||
query GetFiNoSvUrlsPromoCampaignPage($uid: String!) {
|
||||
fi: promo_campaign_page(locale: "fi", uid: $uid) {
|
||||
url
|
||||
}
|
||||
no: promo_campaign_page(locale: "no", uid: $uid) {
|
||||
url
|
||||
}
|
||||
sv: promo_campaign_page(locale: "sv", uid: $uid) {
|
||||
url
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,114 +0,0 @@
|
||||
#import "../Fragments/System.graphql"
|
||||
|
||||
query EntryByUrlBatch1($locale: String!, $url: String!) {
|
||||
all_account_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_collection_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_content_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_current_blocks_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_loyalty_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_hotel_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
|
||||
query EntryByUrlBatch2($locale: String!, $url: String!) {
|
||||
all_destination_overview_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_destination_country_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_destination_city_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_start_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_campaign_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_campaign_overview_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
|
||||
query EntryByUrlBatch3($locale: String!, $url: String!) {
|
||||
all_promo_campaign_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
128
packages/trpc/lib/graphql/Query/ResolveEntry.graphql.ts
Normal file
128
packages/trpc/lib/graphql/Query/ResolveEntry.graphql.ts
Normal file
@@ -0,0 +1,128 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../Fragments/System.graphql"
|
||||
|
||||
export const EntryByUrlBatch1 = gql`
|
||||
query EntryByUrlBatch1($locale: String!, $url: String!) {
|
||||
all_account_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_collection_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_content_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_current_blocks_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_loyalty_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_hotel_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
|
||||
${System}
|
||||
`
|
||||
|
||||
export const EntryByUrlBatch2 = gql`
|
||||
query EntryByUrlBatch2($locale: String!, $url: String!) {
|
||||
all_destination_overview_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_destination_country_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_destination_city_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_start_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_campaign_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
all_campaign_overview_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
|
||||
${System}
|
||||
`
|
||||
|
||||
export const EntryByUrlBatch3 = gql`
|
||||
query EntryByUrlBatch3($locale: String!, $url: String!) {
|
||||
all_promo_campaign_page(where: { url: $url }, locale: $locale) {
|
||||
items {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
total
|
||||
}
|
||||
}
|
||||
|
||||
${System}
|
||||
`
|
||||
@@ -1,15 +0,0 @@
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
19
packages/trpc/lib/graphql/Query/Rewards.graphql.ts
Normal file
19
packages/trpc/lib/graphql/Query/Rewards.graphql.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const GetRewards = gql`
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,96 +0,0 @@
|
||||
#import "../Fragments/System.graphql"
|
||||
|
||||
#import "../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../Fragments/StartPage/Ref.graphql"
|
||||
#import "../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
redeem_description {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
125
packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql.ts
Normal file
125
packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql.ts
Normal file
@@ -0,0 +1,125 @@
|
||||
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 { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.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`
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
redeem_description {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${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,55 +0,0 @@
|
||||
#import "../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
query GetAllSasTierComparison($lang: String!) {
|
||||
all_sas_tier_comparison(locale: $lang) {
|
||||
items {
|
||||
scandic_column_title
|
||||
sas_column_title
|
||||
tier_matches {
|
||||
title
|
||||
scandic_friends_tier_name
|
||||
sas_eb_tier_name
|
||||
content {
|
||||
json
|
||||
}
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
call_to_action {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
71
packages/trpc/lib/graphql/Query/SASTierComparison.graphql.ts
Normal file
71
packages/trpc/lib/graphql/Query/SASTierComparison.graphql.ts
Normal file
@@ -0,0 +1,71 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { AccountPageLink } from "../Fragments/PageLink/AccountPageLink.graphql"
|
||||
import { CampaignOverviewPageLink } from "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
import { CampaignPageLink } from "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
import { CollectionPageLink } from "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
import { ContentPageLink } from "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
import { DestinationCityPageLink } from "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
import { DestinationCountryPageLink } from "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
import { DestinationOverviewPageLink } from "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
import { HotelPageLink } from "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
import { LoyaltyPageLink } from "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
import { PromoCampaignPageLink } from "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
import { StartPageLink } from "../Fragments/PageLink/StartPageLink.graphql"
|
||||
|
||||
export const GetAllSasTierComparison = gql`
|
||||
query GetAllSasTierComparison($lang: String!) {
|
||||
all_sas_tier_comparison(locale: $lang) {
|
||||
items {
|
||||
scandic_column_title
|
||||
sas_column_title
|
||||
tier_matches {
|
||||
title
|
||||
scandic_friends_tier_name
|
||||
sas_eb_tier_name
|
||||
content {
|
||||
json
|
||||
}
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
call_to_action {
|
||||
title
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user