fix(SW-194): split CS request of blocks into two

This commit is contained in:
Matilda Landström
2024-10-15 17:01:34 +02:00
parent 47aa63cd9f
commit 510311a0dc
2 changed files with 30 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ query GetContentPage($locale: String!, $uid: String!) {
}
}
query GetContentPageBlocks($locale: String!, $uid: String!) {
query GetContentPageBlocksBatch1($locale: String!, $uid: String!) {
content_page(uid: $uid, locale: $locale) {
blocks {
__typename
@@ -45,6 +45,14 @@ query GetContentPageBlocks($locale: String!, $uid: String!) {
...CardsGrid_ContentPage
...Content_ContentPage
...DynamicContent_ContentPage
}
}
}
query GetContentPageBlocksBatch2($locale: String!, $uid: String!) {
content_page(uid: $uid, locale: $locale) {
blocks {
__typename
...Shortcuts_ContentPage
...Table_ContentPage
...TextCols_ContentPage