Feat(SW-3708): refactor contentstack fetching (removing all refs) and cache invalidation * Remove all REFS * Revalidate correct language * PR fixes * PR fixes * Throw when errors from contentstack api Approved-by: Joakim Jäderberg
22 lines
449 B
TypeScript
22 lines
449 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
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}
|
|
`
|