web: add non-functional graphql.

This commit is contained in:
2023-11-21 14:06:48 -08:00
parent 1b44bc57bb
commit bce2c741c4
5 changed files with 157 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
query FrontPageQuery($query: [String!], $first: [Int], $after: [String]) {
count(query: $query)
search(query: $query, first: $first, after: $after) {
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
nodes {
thread
timestamp
subject
authors
tags
}
}
tags {
name
bgColor
fgColor
}
}