Files
web/packages/trpc/lib/graphql/Fragments/Sidebar/TeaserCard.graphql.ts
Joakim Jäderberg e9bd159e98 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
2025-11-07 12:33:17 +00:00

39 lines
858 B
TypeScript

import { gql } from "graphql-tag"
import { TeaserCardBlockRef } from "../Blocks/Refs/TeaserCard.graphql"
import { TeaserCardBlock } from "../Blocks/TeaserCard.graphql"
export const TeaserCardSidebar_ContentPage = gql`
fragment TeaserCardSidebar_ContentPage on ContentPageSidebarTeaserCard {
__typename
teaser_card {
theme
teaser_cardConnection {
edges {
node {
__typename
...TeaserCardBlock
}
}
}
}
}
${TeaserCardBlock}
`
export const TeaserCardSidebar_ContentPageRefs = gql`
fragment TeaserCardSidebar_ContentPageRefs on ContentPageSidebarTeaserCard {
teaser_card {
teaser_cardConnection {
edges {
node {
__typename
...TeaserCardBlockRef
}
}
}
}
}
${TeaserCardBlockRef}
`