Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
80 lines
1.9 KiB
TypeScript
80 lines
1.9 KiB
TypeScript
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
|
|
}
|
|
}
|
|
`
|