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,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}
|
||||
`
|
||||
Reference in New Issue
Block a user