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