feat: graphql client with fetches for initial pages

This commit is contained in:
Simon Emanuelsson
2024-02-01 16:19:16 +01:00
parent a91781137a
commit 5e974aa3da
56 changed files with 2580 additions and 1512 deletions
+43
View File
@@ -0,0 +1,43 @@
#import "./PageLinks.graphql"
fragment Puff on Puff {
imageConnection {
edges {
node {
title
url
}
}
}
is_internal
link {
href
title
}
link_text
pageConnection {
edges {
node {
__typename
...CurrentBlocksPageLink
...TempPageLink
}
}
}
text {
json
embedded_itemsConnection {
totalCount
edges {
node {
__typename
... on SysAsset {
title
url
}
}
}
}
}
title
}