Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
This commit is contained in:
@@ -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,5 +1,8 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
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 {
|
||||
@@ -13,3 +16,5 @@ query GetCountryPageUrls($locale: String!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
${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}
|
||||
`
|
||||
Reference in New Issue
Block a user