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
This commit is contained in:
185
packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql.ts
Normal file
185
packages/trpc/lib/graphql/Fragments/Blocks/TeaserCard.graphql.ts
Normal file
@@ -0,0 +1,185 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
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 { System } from "../System.graphql"
|
||||
|
||||
export const TeaserCardBlock = gql`
|
||||
fragment TeaserCardBlock on TeaserCard {
|
||||
heading
|
||||
body_text
|
||||
image
|
||||
title
|
||||
has_primary_button
|
||||
has_secondary_button
|
||||
has_sidepeek_button
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sidepeek_button {
|
||||
call_to_action_text
|
||||
}
|
||||
sidepeek_content {
|
||||
heading
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
has_primary_button
|
||||
primary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
has_secondary_button
|
||||
secondary_button {
|
||||
is_contentstack_link
|
||||
cta_text
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
title
|
||||
href
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
Reference in New Issue
Block a user