Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
46 lines
899 B
TypeScript
46 lines
899 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
import { CampaignPageRef } from "../CampaignPage/Ref.graphql"
|
|
|
|
export const AllCampaigns = gql`
|
|
fragment AllCampaigns on CampaignOverviewPageBlocksAllCampaigns {
|
|
all_campaigns {
|
|
heading
|
|
preamble
|
|
campaignsConnection {
|
|
edges {
|
|
node {
|
|
... on CampaignPage {
|
|
url
|
|
card_content {
|
|
heading
|
|
image
|
|
text
|
|
}
|
|
system {
|
|
locale
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|
|
|
|
export const AllCampaignsRefs = gql`
|
|
fragment AllCampaignsRefs on CampaignOverviewPageBlocksAllCampaigns {
|
|
all_campaigns {
|
|
campaignsConnection {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CampaignPageRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
${CampaignPageRef}
|
|
`
|