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:
273
packages/trpc/lib/graphql/Fragments/Blocks/CardsGrid.graphql.ts
Normal file
273
packages/trpc/lib/graphql/Fragments/Blocks/CardsGrid.graphql.ts
Normal file
@@ -0,0 +1,273 @@
|
||||
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 { CardBlockRef } from "./Refs/Card.graphql"
|
||||
import { InfoCardBlockRef } from "./Refs/InfoCard.graphql"
|
||||
import { LoyaltyCardBlockRef } from "./Refs/LoyaltyCard.graphql"
|
||||
import { TeaserCardBlockRef } from "./Refs/TeaserCard.graphql"
|
||||
import { CardBlock } from "./Card.graphql"
|
||||
import { InfoCardBlock } from "./InfoCard.graphql"
|
||||
import { LoyaltyCardBlock } from "./LoyaltyCard.graphql"
|
||||
import { TeaserCardBlock } from "./TeaserCard.graphql"
|
||||
|
||||
export const CardsGrid_ContentPage = gql`
|
||||
fragment CardsGrid_ContentPage on ContentPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...LoyaltyCardBlock
|
||||
...TeaserCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${LoyaltyCardBlock}
|
||||
${TeaserCardBlock}
|
||||
`
|
||||
|
||||
export const CardsGrid_ContentPageRefs = gql`
|
||||
fragment CardsGrid_ContentPageRefs on ContentPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...LoyaltyCardBlockRef
|
||||
...TeaserCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${LoyaltyCardBlockRef}
|
||||
${TeaserCardBlockRef}
|
||||
`
|
||||
|
||||
export const CardsGrid_CollectionPage = gql`
|
||||
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...TeaserCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${TeaserCardBlock}
|
||||
`
|
||||
|
||||
export const CardsGrid_CollectionPageRefs = gql`
|
||||
fragment CardsGrid_CollectionPageRefs on CollectionPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...TeaserCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${TeaserCardBlockRef}
|
||||
`
|
||||
|
||||
export const CardsGrid_LoyaltyPage = gql`
|
||||
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...LoyaltyCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${LoyaltyCardBlock}
|
||||
`
|
||||
|
||||
export const CardsGrid_LoyaltyPageRefs = gql`
|
||||
fragment CardsGrid_LoyaltyPageRefs on LoyaltyPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...LoyaltyCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${LoyaltyCardBlockRef}
|
||||
`
|
||||
|
||||
export const CardsGrid_StartPage = gql`
|
||||
fragment CardsGrid_StartPage on StartPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
layout
|
||||
preamble
|
||||
theme
|
||||
title
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlock
|
||||
...TeaserCardBlock
|
||||
...InfoCardBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
link {
|
||||
cta_text
|
||||
is_contentstack_link
|
||||
open_in_new_tab
|
||||
external_link {
|
||||
href
|
||||
title
|
||||
}
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlock}
|
||||
${InfoCardBlock}
|
||||
${TeaserCardBlock}
|
||||
${AccountPageLink}
|
||||
${CampaignOverviewPageLink}
|
||||
${CampaignPageLink}
|
||||
${CollectionPageLink}
|
||||
${ContentPageLink}
|
||||
${DestinationCityPageLink}
|
||||
${DestinationCountryPageLink}
|
||||
${DestinationOverviewPageLink}
|
||||
${HotelPageLink}
|
||||
${LoyaltyPageLink}
|
||||
${StartPageLink}
|
||||
${PromoCampaignPageLink}
|
||||
`
|
||||
|
||||
export const CardsGrid_StartPageRefs = gql`
|
||||
fragment CardsGrid_StartPageRefs on StartPageBlocksCardsGrid {
|
||||
cards_grid {
|
||||
cardConnection(limit: 10) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
...TeaserCardBlockRef
|
||||
...InfoCardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
link {
|
||||
linkConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
${InfoCardBlockRef}
|
||||
${TeaserCardBlockRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
${CampaignPageRef}
|
||||
${ContentPageRef}
|
||||
${HotelPageRef}
|
||||
${LoyaltyPageRef}
|
||||
${CollectionPageRef}
|
||||
${DestinationCityPageRef}
|
||||
${DestinationCountryPageRef}
|
||||
${DestinationOverviewPageRef}
|
||||
${PromoCampaignPageRef}
|
||||
`
|
||||
Reference in New Issue
Block a user