Files
web/packages/trpc/lib/graphql/Fragments/Blocks/HotelListing.graphql.ts
Joakim Jäderberg e9bd159e98 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
2025-11-07 12:33:17 +00:00

58 lines
1.1 KiB
TypeScript

import { gql } from "graphql-tag"
export const HotelListing = gql`
fragment HotelListing on HotelListing {
heading
location_filter {
city_denmark
city_finland
city_germany
city_norway
city_poland
city_sweden
country
excluded
}
manual_filter {
hotels
}
content_type
}
`
export const HotelListing_ContentPage = gql`
fragment HotelListing_ContentPage on ContentPageBlocksHotelListing {
__typename
hotel_listing {
...HotelListing
}
}
${HotelListing}
`
export const HotelListing_CampaignPage = gql`
fragment HotelListing_CampaignPage on CampaignPageBlocksHotelListing {
hotel_listing {
heading
}
}
`
export const HotelListing_CampaignOverviewPage = gql`
fragment HotelListing_CampaignOverviewPage on CampaignOverviewPageBlocksHotelListing {
hotel_listing {
heading
preamble
included_hotelsConnection {
edges {
node {
... on HotelPage {
hotel_page_id
}
}
}
}
}
}
`