Files
web/packages/trpc/lib/graphql/Fragments/Blocks/List.graphql.ts
Joakim Jäderberg bc5a606289 Merged in feature/turbopack (pull request #3117)
Feature/turbopack

* .

* .

* pin import-in-the-middle

* update marker

* revert back to using *.graphql.ts


Approved-by: Linus Flood
2025-11-11 09:51:40 +00:00

40 lines
742 B
TypeScript

import { gql } from "graphql-tag"
export const ListItem = gql`
fragment ListItem on CurrentBlocksPageBlocksListBlockListItemsListItem {
list_item {
list_item_style
subtitle
title
}
}
`
export const ListItemExternalLink = gql`
fragment ListItemExternalLink on CurrentBlocksPageBlocksListBlockListItemsListItemExternalLink {
list_item_external_link {
link {
href
title
}
list_item_style
subtitle
}
}
`
export const ListBlock = gql`
fragment ListBlock on CurrentBlocksPageBlocksList {
list {
list_items {
__typename
...ListItem
...ListItemExternalLink
}
title
}
}
${ListItem}
${ListItemExternalLink}
`