Files
blog-ahmza-com/tina/__generated__/queries.gql
T

53 lines
913 B
GraphQL
Raw Normal View History

2023-11-10 22:56:48 +00:00
query post($relativePath: String!) {
post(relativePath: $relativePath) {
... on Document {
_sys {
filename
basename
breadcrumbs
path
relativePath
extension
}
id
}
...PostParts
}
}
query postConnection($before: String, $after: String, $first: Float, $last: Float, $sort: String, $filter: PostFilter) {
postConnection(
before: $before
after: $after
first: $first
last: $last
sort: $sort
filter: $filter
) {
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
totalCount
edges {
cursor
node {
... on Document {
_sys {
filename
basename
breadcrumbs
path
relativePath
extension
}
id
}
...PostParts
}
}
}
}