Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
79 lines
2.4 KiB
TypeScript
79 lines
2.4 KiB
TypeScript
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 { PromoCampaignPageRef } from "../../PromoCampaignPage/Ref.graphql"
|
|
import { StartPageRef } from "../../StartPage/Ref.graphql"
|
|
import { System } from "../../System.graphql"
|
|
|
|
export const CardBlockRef = gql`
|
|
fragment CardBlockRef on Card {
|
|
secondary_button {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
primary_button {
|
|
linkConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...AccountPageRef
|
|
...CampaignOverviewPageRef
|
|
...CampaignPageRef
|
|
...CollectionPageRef
|
|
...ContentPageRef
|
|
...DestinationCityPageRef
|
|
...DestinationCountryPageRef
|
|
...DestinationOverviewPageRef
|
|
...HotelPageRef
|
|
...LoyaltyPageRef
|
|
...StartPageRef
|
|
...PromoCampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
system {
|
|
...System
|
|
}
|
|
}
|
|
${System}
|
|
${AccountPageRef}
|
|
${CampaignOverviewPageRef}
|
|
${CampaignPageRef}
|
|
${CollectionPageRef}
|
|
${ContentPageRef}
|
|
${DestinationCityPageRef}
|
|
${DestinationCountryPageRef}
|
|
${DestinationOverviewPageRef}
|
|
${HotelPageRef}
|
|
${LoyaltyPageRef}
|
|
${StartPageRef}
|
|
${PromoCampaignPageRef}
|
|
`
|