letterbox/web/graphql/front_page.graphql

24 lines
387 B
GraphQL

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
}
}