Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
39 lines
830 B
TypeScript
39 lines
830 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
import { CardBlock } from "../Blocks/Card.graphql"
|
|
import { CardBlockRef } from "../Blocks/Refs/Card.graphql"
|
|
|
|
export const ScriptedCardSidebar_ContentPage = gql`
|
|
fragment ScriptedCardSidebar_ContentPage on ContentPageSidebarScriptedCard {
|
|
__typename
|
|
scripted_card {
|
|
theme
|
|
scripted_cardConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${CardBlock}
|
|
`
|
|
|
|
export const ScriptedCardSidebar_ContentPageRefs = gql`
|
|
fragment ScriptedCardSidebar_ContentPageRefs on ContentPageSidebarScriptedCard {
|
|
scripted_card {
|
|
scripted_cardConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${CardBlockRef}
|
|
`
|