feat(SW-285): add support for tags

This commit is contained in:
Chuma McPhoy
2024-08-30 14:31:27 +02:00
parent 57cd8c72da
commit dd336ca4ab
4 changed files with 235 additions and 4 deletions

View File

@@ -2,6 +2,11 @@
#import "../Fragments/PageLink/ContentPageLink.graphql"
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
#import "../Fragments/Refs/MyPages/AccountPage.graphql"
#import "../Fragments/Refs/ContentPage/ContentPage.graphql"
#import "../Fragments/Refs/LoyaltyPage/LoyaltyPage.graphql"
#import "../Fragments/Refs/System.graphql"
query GetContentPage($locale: String!, $uid: String!) {
content_page(uid: $uid, locale: $locale) {
blocks {
@@ -106,6 +111,23 @@ query GetContentPageRefs($locale: String!, $uid: String!) {
}
}
}
... on ContentPageBlocksShortcuts {
__typename
shortcuts {
shortcuts {
linkConnection {
edges {
node {
__typename
...AccountPageRef
...ContentPageRef
...LoyaltyPageRef
}
}
}
}
}
}
}
system {
...System