Merged in revert-gql (pull request #3104)

Revert gql

* Revert "Merged in fix/system-fragment (pull request #3102)"

This reverts commit 0d479eb337.

* Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)"

This reverts commit e9bd159e98.
This commit is contained in:
Linus Flood
2025-11-07 13:13:28 +00:00
parent cab85f3ffd
commit 5770dcdd9c
291 changed files with 8000 additions and 11733 deletions

View File

@@ -1,173 +0,0 @@
import { gql } from "graphql-tag"
import { AccountPageRef } from "./AccountPage/Ref.graphql"
import { CampaignOverviewPageRef } from "./CampaignOverviewPage/Ref.graphql"
import { CampaignPageRef } from "./CampaignPage/Ref.graphql"
import { CollectionPageRef } from "./CollectionPage/Ref.graphql"
import { ContentPageRef } from "./ContentPage/Ref.graphql"
import { DestinationCityPageRef } from "./DestinationCityPage/Ref.graphql"
import { DestinationCountryPageRef } from "./DestinationCountryPage/Ref.graphql"
import { DestinationOverviewPageRef } from "./DestinationOverviewPage/Ref.graphql"
import { HotelPageRef } from "./HotelPage/Ref.graphql"
import { LoyaltyPageRef } from "./LoyaltyPage/Ref.graphql"
import { AccountPageLink } from "./PageLink/AccountPageLink.graphql"
import { CampaignOverviewPageLink } from "./PageLink/CampaignOverviewPageLink.graphql"
import { CampaignPageLink } from "./PageLink/CampaignPageLink.graphql"
import { CollectionPageLink } from "./PageLink/CollectionPageLink.graphql"
import { ContentPageLink } from "./PageLink/ContentPageLink.graphql"
import { DestinationCityPageLink } from "./PageLink/DestinationCityPageLink.graphql"
import { DestinationCountryPageLink } from "./PageLink/DestinationCountryPageLink.graphql"
import { DestinationOverviewPageLink } from "./PageLink/DestinationOverviewPageLink.graphql"
import { HotelPageLink } from "./PageLink/HotelPageLink.graphql"
import { LoyaltyPageLink } from "./PageLink/LoyaltyPageLink.graphql"
import { PromoCampaignPageLink } from "./PageLink/PromoCampaignPageLink.graphql"
import { StartPageLink } from "./PageLink/StartPageLink.graphql"
import { PromoCampaignPageRef } from "./PromoCampaignPage/Ref.graphql"
import { StartPageRef } from "./StartPage/Ref.graphql"
import { System } from "./System.graphql"
export const Alert = gql`
fragment Alert on Alert {
type
heading
text
phone_contact {
display_text
phone_number
footnote
}
has_link
link {
title
linkConnection {
edges {
node {
__typename
...AccountPageLink
...CampaignOverviewPageLink
...CampaignPageLink
...CollectionPageLink
...ContentPageLink
...DestinationCityPageLink
...DestinationCountryPageLink
...DestinationOverviewPageLink
...HotelPageLink
...LoyaltyPageLink
...StartPageLink
...PromoCampaignPageLink
}
}
}
}
has_sidepeek_button
sidepeek_button {
cta_text
}
sidepeek_content {
heading
content {
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageLink
...CampaignOverviewPageLink
...CampaignPageLink
...CollectionPageLink
...ContentPageLink
...DestinationCityPageLink
...DestinationCountryPageLink
...DestinationOverviewPageLink
...HotelPageLink
...LoyaltyPageLink
...StartPageLink
...PromoCampaignPageLink
}
}
}
json
}
}
visible_on
}
${AccountPageLink}
${CampaignOverviewPageLink}
${CampaignPageLink}
${CollectionPageLink}
${ContentPageLink}
${DestinationCityPageLink}
${DestinationCountryPageLink}
${DestinationOverviewPageLink}
${HotelPageLink}
${LoyaltyPageLink}
${StartPageLink}
${PromoCampaignPageLink}
`
export const AlertRef = gql`
fragment AlertRef on Alert {
link {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
}
sidepeek_content {
content {
embedded_itemsConnection {
edges {
node {
__typename
...AccountPageRef
...CampaignOverviewPageRef
...CampaignPageRef
...CollectionPageRef
...ContentPageRef
...DestinationCityPageRef
...DestinationCountryPageRef
...DestinationOverviewPageRef
...HotelPageRef
...LoyaltyPageRef
...StartPageRef
...PromoCampaignPageRef
}
}
}
json
}
}
system {
...System
}
visible_on
}
${System}
${AccountPageRef}
${CampaignOverviewPageRef}
${CampaignPageRef}
${CollectionPageRef}
${ContentPageRef}
${DestinationCityPageRef}
${DestinationCountryPageRef}
${DestinationOverviewPageRef}
${HotelPageRef}
${LoyaltyPageRef}
${StartPageRef}
${PromoCampaignPageRef}
`