feat: added graphql queries

This commit is contained in:
darwincereska
2026-02-15 22:19:51 -05:00
parent 828b5df501
commit a778cf0726
12 changed files with 1712 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# Fragment for authors
fragment Author on Author {
name
email
bio
}
# Gets all authors
query GetAllAuthors($pageSize: Int = 10, $page: Int = 1) {
# @genqlient(flatten: true)
authors(pagination: { pageSize: $pageSize, page: $page }) {
...Author
}
}