fix(SW-438): divide pageRefs query into two due to size limitations

This commit is contained in:
Matilda Landström
2024-10-18 10:29:15 +02:00
parent 889b665abe
commit 26fb80dc0b
2 changed files with 51 additions and 25 deletions

View File

@@ -83,16 +83,6 @@ query GetContentPageRefs($locale: String!, $uid: String!) {
}
}
}
blocks {
__typename
...Accordion_ContentPageRefs
...CardsGrid_ContentPageRefs
...Content_ContentPageRefs
...DynamicContent_ContentPageRefs
...Shortcuts_ContentPageRefs
...TextCols_ContentPageRef
...UspGrid_ContentPageRefs
}
sidebar {
__typename
...ContentSidebar_ContentPageRefs
@@ -107,6 +97,21 @@ query GetContentPageRefs($locale: String!, $uid: String!) {
}
}
query GetContentPageBlocksRefs($locale: String!, $uid: String!) {
content_page(locale: $locale, uid: $uid) {
blocks {
__typename
...Accordion_ContentPageRefs
...CardsGrid_ContentPageRefs
...Content_ContentPageRefs
...DynamicContent_ContentPageRefs
...Shortcuts_ContentPageRefs
...TextCols_ContentPageRef
...UspGrid_ContentPageRefs
}
}
}
query GetDaDeEnUrlsContentPage($uid: String!) {
de: content_page(locale: "de", uid: $uid) {
url