Files
web/packages/trpc/lib/graphql/Fragments/Blocks/HotelListing.graphql.ts
Anton Gunnarsson f79ff9b570 Merged in chore/cleanup-unused (pull request #3461)
chore: Cleanup unused vars, exports, types

* Cleanup some unused exports

* Remove more

* Readd CampaignPageIncludedHotelsRef

* Add alias comment to procedure exports

* Remove unused exports


Approved-by: Linus Flood
2026-01-22 12:34:07 +00:00

58 lines
1.1 KiB
TypeScript

import { gql } from "graphql-tag"
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
}
}
}
}
}
}
`