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