Merged in feat/rework-contentstack (pull request #3493)
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
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
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 {
|
||||
@@ -20,19 +19,3 @@ export const ScriptedCardSidebar_ContentPage = gql`
|
||||
}
|
||||
${CardBlock}
|
||||
`
|
||||
|
||||
export const ScriptedCardSidebar_ContentPageRefs = gql`
|
||||
fragment ScriptedCardSidebar_ContentPageRefs on ContentPageSidebarScriptedCard {
|
||||
scripted_card {
|
||||
scripted_cardConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...CardBlockRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${CardBlockRef}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user